diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de> | 2013-06-25 16:06:55 +0200 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de> | 2013-06-25 16:06:55 +0200 |
commit | 1fb50bb9c2c971691a93a844a1c3e6b84cdcca31 (patch) | |
tree | 55d5bb4ae123e9a4b9a6b7fed66d8972d2c5fca8 /picohttp.h | |
parent | 2c6b42c55b3db99c664de543f32f2434948c5916 (diff) | |
download | litheweb-1fb50bb9c2c971691a93a844a1c3e6b84cdcca31.tar.gz litheweb-1fb50bb9c2c971691a93a844a1c3e6b84cdcca31.tar.bz2 |
still superfluous <CR><LF><CR> at end of multipart block
Diffstat (limited to 'picohttp.h')
-rw-r--r-- | picohttp.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5,8 +5,8 @@ #include <stddef.h> #include <stdint.h> -/* max 70 for boundary + 4 chars for "<CR><LF>--" */ -#define PICOHTTP_MULTIPARTBOUNDARY_MAX_LEN 74 +/* max 70 for boundary + 6 chars for "<CR><LF>--" */ +#define PICOHTTP_MULTIPARTBOUNDARY_MAX_LEN 76 #define PICOHTTP_DISPOSITION_NAME_MAX 16 #define PICOHTTP_MAJORVERSION(x) ( (x & 0x7f00) >> 8 ) @@ -124,7 +124,7 @@ struct picohttpRequest { uint8_t contentencoding; uint8_t transferencoding; char multipartboundary[PICOHTTP_MULTIPARTBOUNDARY_MAX_LEN+1]; - char prev_ch[3]; + char prev_ch[5]; } query; struct { char const *contenttype; |