summaryrefslogtreecommitdiff
path: root/uhttpd.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-05-30 15:48:42 +0200
committerJo-Philipp Wich <jow@openwrt.org>2015-05-30 15:51:02 +0200
commit5162e3b0ee7bd1d0fd6e75e1ca7993a1834b5291 (patch)
tree4ba7bb8d6e09af284cb72a0a7d8a0df4cee8da34 /uhttpd.h
parentb9178b9357798ae23a5724333cc6572d14f23958 (diff)
allow request handlers to disable chunked reponses
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'uhttpd.h')
-rw-r--r--uhttpd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/uhttpd.h b/uhttpd.h
index 1c82d76..42385a6 100644
--- a/uhttpd.h
+++ b/uhttpd.h
@@ -111,6 +111,7 @@ struct http_request {
int content_length;
bool expect_cont;
bool connection_close;
+ bool respond_chunked;
uint8_t transfer_chunked;
const struct auth_realm *realm;
};