1
0
Fork 0
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:
winlin 2019-10-29 10:02:03 +08:00
parent 8c214dc967
commit a726a14b37

View file

@ -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));
}
}