aboutsummaryrefslogtreecommitdiff
path: root/picohttp.h
diff options
context:
space:
mode:
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 ced2ef5..34fc59b 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;