1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

Fix: Permit HTTP keep-alive for report XML based replys

This commit is contained in:
Philipp Schafft 2018-12-17 08:51:25 +00:00
parent 825f92d6e2
commit 7fdc9ed11f
2 changed files with 2 additions and 0 deletions

View File

@ -564,6 +564,7 @@ void client_send_reportxml(client_t *client, reportxml_t *report, document_domai
client_set_queue(client, NULL);
client->refbuf = refbuf_new(buf_len);
client->reuse = ICECAST_REUSE_KEEPALIVE;
ret = util_http_build_header(client->refbuf->data, buf_len, 0,
0, status, NULL,

View File

@ -385,6 +385,7 @@ void xslt_transform(xmlDocPtr doc, const char *xslfilename, client_t *client, in
if (full_len < 4096)
full_len = 4096;
refbuf = refbuf_new (full_len);
client->reuse = ICECAST_REUSE_KEEPALIVE;
if (string == NULL)
string = xmlCharStrdup ("");