Fix bug: HTTP parsing process
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
This commit is contained in:
1 parent
59bea2ad5c
commit
fed343a62e
1 file changed
+1
-1
+1
-1
@@ -214,7 +214,7 @@ handshake_done:
|
||||
#endif
|
||||
|
||||
if (!(con->flags & UH_CON_PARSERING)) {
|
||||
if (!memmem(buf->base, len, "\r\n\r\n", 4))
|
||||
if (!memmem(buf->base, buf->len, "\r\n\r\n", 4))
|
||||
return;
|
||||
|
||||
con->flags |= UH_CON_PARSERING;
|
||||
|
||||
Reference in new issue
Block a user