Fixed chunked size.

This commit is contained in:
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

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