mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-09-29 04:25:55 -04:00
Fix: Permit HTTP keep-alive for report XML based replys
This commit is contained in:
parent
825f92d6e2
commit
7fdc9ed11f
@ -564,6 +564,7 @@ void client_send_reportxml(client_t *client, reportxml_t *report, document_domai
|
|||||||
|
|
||||||
client_set_queue(client, NULL);
|
client_set_queue(client, NULL);
|
||||||
client->refbuf = refbuf_new(buf_len);
|
client->refbuf = refbuf_new(buf_len);
|
||||||
|
client->reuse = ICECAST_REUSE_KEEPALIVE;
|
||||||
|
|
||||||
ret = util_http_build_header(client->refbuf->data, buf_len, 0,
|
ret = util_http_build_header(client->refbuf->data, buf_len, 0,
|
||||||
0, status, NULL,
|
0, status, NULL,
|
||||||
|
@ -385,6 +385,7 @@ void xslt_transform(xmlDocPtr doc, const char *xslfilename, client_t *client, in
|
|||||||
if (full_len < 4096)
|
if (full_len < 4096)
|
||||||
full_len = 4096;
|
full_len = 4096;
|
||||||
refbuf = refbuf_new (full_len);
|
refbuf = refbuf_new (full_len);
|
||||||
|
client->reuse = ICECAST_REUSE_KEEPALIVE;
|
||||||
|
|
||||||
if (string == NULL)
|
if (string == NULL)
|
||||||
string = xmlCharStrdup ("");
|
string = xmlCharStrdup ("");
|
||||||
|
Loading…
Reference in New Issue
Block a user