Commit 7fdc9ed1 authored by Philipp Schafft's avatar Philipp Schafft 🦁

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

parent 825f92d6
......@@ -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,
......
......@@ -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 ("");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment