mirror of
https://github.com/ossrs/srs.git
synced 2025-02-14 20:31:56 +00:00
Cover protocol stack RTMP. 3.0.63
This commit is contained in:
parent
8c214dc967
commit
a726a14b37
1 changed files with 10 additions and 0 deletions
|
@ -175,3 +175,13 @@ VOID TEST(ProtoStackTest, ManualFlush)
|
|||
}
|
||||
}
|
||||
|
||||
VOID TEST(ProtoStackTest, SendZeroMessages)
|
||||
{
|
||||
srs_error_t err;
|
||||
if (true) {
|
||||
MockBufferIO io;
|
||||
SrsProtocol p(&io);
|
||||
HELPER_EXPECT_SUCCESS(p.send_and_free_message(NULL, 0));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue