diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-05-30 15:58:24 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-05-30 15:58:24 +0200 |
commit | 618493e378e2239f0d30902e47adfa134e649fdc (patch) | |
tree | 7a4fa7f24bd244e96aee6cdc152bd036a121b0d3 /file.c | |
parent | 5162e3b0ee7bd1d0fd6e75e1ca7993a1834b5291 (diff) |
file: disable chunked encoding for file responses
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |