aboutsummaryrefslogtreecommitdiff
path: root/picohttp.h
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@draxit.de>2013-06-18 22:16:22 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@draxit.de>2013-06-18 22:16:22 +0200
commit06e7d4abafc176e6209772523640d3c5a1867fa7 (patch)
treec337e0c6cac439b90c2357c73e64d9ee6dba2901 /picohttp.h
parentd8b0fcee5325f54ba48531d265f5d9823ebed9f3 (diff)
parentc50c12e6206772273f62752c1c0091ac78698665 (diff)
downloadlitheweb-06e7d4abafc176e6209772523640d3c5a1867fa7.tar.gz
litheweb-06e7d4abafc176e6209772523640d3c5a1867fa7.tar.bz2
Merge branch 'master' of github.com:datenwolf/picoweb
Diffstat (limited to 'picohttp.h')
-rw-r--r--picohttp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/picohttp.h b/picohttp.h
index 568f6b8..018fad1 100644
--- a/picohttp.h
+++ b/picohttp.h
@@ -126,7 +126,7 @@ struct picohttpRequest {
} contenttype;
size_t contentlength;
uint8_t contentencoding;
- uint8_t te;
+ uint8_t transferencoding;
char multipartboundary[PICOHTTP_MULTIPARTBOUNDARY_MAX_LEN+1];
} query;
struct {
@@ -139,6 +139,9 @@ struct picohttpRequest {
uint8_t transferencoding;
} response;
struct {
+ size_t length;
+ } currentchunk;
+ struct {
size_t octets;
uint8_t header;
} sent;