From: Jo-Philipp Wich Date: Sat, 30 May 2015 13:58:24 +0000 (+0200) Subject: file: disable chunked encoding for file responses X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=618493e378e2239f0d30902e47adfa134e649fdc;p=project%2Fuhttpd.git file: disable chunked encoding for file responses Signed-off-by: Jo-Philipp Wich --- 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;