Fixed chunked size.

yamux
Jose Marcial Vieira Bisneto 2017-09-25 14:40:33 -03:00
parent f0d19bab97
commit 6fc2614fe7
No known key found for this signature in database
GPG Key ID: 103E935E7E6E831E
1 changed files with 2 additions and 2 deletions

View File

@ -576,9 +576,9 @@ void *api_connection_thread (void *ptr)
"Connection: close\r\n"
"Transfer-Encoding: chunked\r\n"
"\r\n"
"%d\r\n"
"%x\r\n"
"%s\r\n"
"0\r\n"
"0\r\n\r\n"
,req.buf + req.http_ver, strlen(response_text), response_text);
if (response_text != NULL)
free(response_text);