aboutsummaryrefslogtreecommitdiff
path: root/picohttp.h
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-07-19 19:07:22 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-07-19 19:07:22 +0200
commit2ddf522804fd86083a2a3a4c1e9e28e4cac3d2d1 (patch)
tree8cf227422a67f206063e8197263a062cf9020118 /picohttp.h
parentbdcfe9b02381784ecc06847e0df15585c6ad549a (diff)
downloadlitheweb-2ddf522804fd86083a2a3a4c1e9e28e4cac3d2d1.tar.gz
litheweb-2ddf522804fd86083a2a3a4c1e9e28e4cac3d2d1.tar.bz2
read character history no longer required
Diffstat (limited to 'picohttp.h')
-rw-r--r--picohttp.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/picohttp.h b/picohttp.h
index 7f6e65a..644761f 100644
--- a/picohttp.h
+++ b/picohttp.h
@@ -103,17 +103,6 @@ struct picohttpDateTime {
unsigned int s:5; /* seconds / 2 */
};
-#define PICOHTTP_EPOCH_YEAR 1980
-
-struct picohttpDateTime {
- unsigned int Y:7; /* EPOCH + 127 years */
- unsigned int M:4;
- unsigned int D:5;
- unsigned int h:5;
- unsigned int m:6;
- unsigned int s:5; /* seconds / 2 */
-};
-
struct picohttpRequest {
struct picohttpIoOps const * ioops;
struct picohttpURLRoute const * route;
@@ -132,7 +121,6 @@ struct picohttpRequest {
uint8_t contentencoding;
uint8_t transferencoding;
unsigned char multipartboundary[PICOHTTP_MULTIPARTBOUNDARY_MAX_LEN+1];
- unsigned char prev_ch[5];
size_t chunklength;
} query;
struct {