Fixed chunked size.
This commit is contained in:
parent
f0d19bab97
commit
6fc2614fe7
1 changed files with 2 additions and 2 deletions
|
@ -576,9 +576,9 @@ void *api_connection_thread (void *ptr)
|
||||||
"Connection: close\r\n"
|
"Connection: close\r\n"
|
||||||
"Transfer-Encoding: chunked\r\n"
|
"Transfer-Encoding: chunked\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
"%d\r\n"
|
"%x\r\n"
|
||||||
"%s\r\n"
|
"%s\r\n"
|
||||||
"0\r\n"
|
"0\r\n\r\n"
|
||||||
,req.buf + req.http_ver, strlen(response_text), response_text);
|
,req.buf + req.http_ver, strlen(response_text), response_text);
|
||||||
if (response_text != NULL)
|
if (response_text != NULL)
|
||||||
free(response_text);
|
free(response_text);
|
||||||
|
|
Loading…
Reference in a new issue