mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add complex handshake utest
This commit is contained in:
parent
491ea4b630
commit
da93b6fe99
6 changed files with 1083 additions and 1078 deletions
|
@ -229,7 +229,7 @@ int SrsHandshakeBytes::read_s0s1s2(ISrsProtocolReaderWriter* io)
|
|||
|
||||
ssize_t nsize;
|
||||
|
||||
c0c1 = new char[3073];
|
||||
s0s1s2 = new char[3073];
|
||||
if ((ret = io->read_fully(s0s1s2, 3073, &nsize)) != ERROR_SUCCESS) {
|
||||
srs_warn("read s0s1s2 failed. ret=%d", ret);
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue