mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
corrected Content-Length: header in admin (raw) requests. Thanks to paluh for reporting.
svn path=/icecast/trunk/icecast/; revision=18698
This commit is contained in:
parent
5b8e359f10
commit
67d91cc3d2
@ -280,7 +280,7 @@ void admin_send_response (xmlDocPtr doc, client_t *client,
|
|||||||
0, 200, NULL,
|
0, 200, NULL,
|
||||||
"text/xml", NULL,
|
"text/xml", NULL,
|
||||||
NULL);
|
NULL);
|
||||||
len += snprintf (client->refbuf->data + len, buf_len - len, "Content-Length: %d\r\n\r\n%s", len, buff);
|
len += snprintf (client->refbuf->data + len, buf_len - len, "Content-Length: %d\r\n\r\n%s", xmlStrlen(buff), buff);
|
||||||
|
|
||||||
client->refbuf->len = len;
|
client->refbuf->len = len;
|
||||||
xmlFree(buff);
|
xmlFree(buff);
|
||||||
|
Loading…
Reference in New Issue
Block a user