aboutsummaryrefslogtreecommitdiff
path: root/picohttp.h
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-06-28 20:41:42 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-06-28 20:41:42 +0200
commitac9f95a91345561704c667ea387ee5efb2c67a8f (patch)
tree7acaa1d26ef15370476a9be3f5f414cf033f5443 /picohttp.h
parentf9cc5128f5e9eb726b8562d33067ddce6d65385c (diff)
downloadlitheweb-ac9f95a91345561704c667ea387ee5efb2c67a8f.tar.gz
litheweb-ac9f95a91345561704c667ea387ee5efb2c67a8f.tar.bz2
chunked transfer getch done
Diffstat (limited to 'picohttp.h')
-rw-r--r--picohttp.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/picohttp.h b/picohttp.h
index 063ebd5..8afa022 100644
--- a/picohttp.h
+++ b/picohttp.h
@@ -122,6 +122,7 @@ struct picohttpRequest {
uint8_t transferencoding;
char multipartboundary[PICOHTTP_MULTIPARTBOUNDARY_MAX_LEN+1];
char prev_ch[5];
+ size_t chunklength;
} query;
struct {
char const *contenttype;
@@ -132,9 +133,6 @@ struct picohttpRequest {
uint8_t contentencoding;
uint8_t transferencoding;
} response;
- struct {
- size_t length;
- } currentchunk;
size_t received_octets;
struct {
size_t octets;