projects
/
oweals
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5162e3b
)
file: disable chunked encoding for file responses
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 30 May 2015 13:58:24 +0000
(15:58 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 30 May 2015 13:58:24 +0000
(15:58 +0200)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
file.c
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index c8833b6a55b4f3023cae4c7cb3e6cb98a7de71c8..480c40b2f14fc2290cda5169fe81bdf2112dacc9 100644
(file)
--- 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;