projects
/
project
/
uhttpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
file: disable chunked encoding for file responses
[project/uhttpd.git]
/
file.c
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;