diff --git a/src/client.c b/src/client.c index 70059eac..c4b91688 100644 --- a/src/client.c +++ b/src/client.c @@ -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, diff --git a/src/xslt.c b/src/xslt.c index d8fb4454..73a4eb65 100644 --- a/src/xslt.c +++ b/src/xslt.c @@ -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 ("");