1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 11:21:52 +00:00

refine comments.

This commit is contained in:
winlin 2013-10-19 09:01:56 +08:00
parent 56e78bdf6f
commit 49a7cb9afb

View file

@ -68,7 +68,8 @@ int SrsRtmp::handshake()
char* s0s1s2 = new char[3073];
SrsAutoFree(char, s0s1s2, true);
s0s1s2[0] = 0x03; // plain text.
// plain text required.
s0s1s2[0] = 0x03;
if ((ret = skt.write(s0s1s2, 3073, &nsize)) != ERROR_SUCCESS) {
srs_warn("send s0s1s2 failed. ret=%d", ret);
return ret;