From 618493e378e2239f0d30902e47adfa134e649fdc Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 30 May 2015 15:58:24 +0200 Subject: [PATCH] file: disable chunked encoding for file responses Signed-off-by: Jo-Philipp Wich --- file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/file.c b/file.c index c8833b6..480c40b 100644 --- a/file.c +++ b/file.c @@ -614,6 +614,7 @@ static void uh_file_request(struct client *cl, const char *url, if (fd < 0) goto error; + req->respond_chunked = false; cl->dispatch.file.hdr = tb; uh_file_data(cl, pi, fd); cl->dispatch.file.hdr = NULL; -- 2.30.2