aboutsummaryrefslogtreecommitdiff
path: root/picohttp.h
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-06-26 19:34:04 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-06-26 19:34:04 +0200
commitffa2fc800d92b40f4a128814ae55b121a7852e58 (patch)
tree0191049749a398225722172adcb780a2cb0a3c9d /picohttp.h
parent6563dbb5655b409aabe9514f8844711634b0aff2 (diff)
downloadlitheweb-ffa2fc800d92b40f4a128814ae55b121a7852e58.tar.gz
litheweb-ffa2fc800d92b40f4a128814ae55b121a7852e58.tar.bz2
*grrr* last two days completely wasted because text editors fooled me by not showing CR and LF present and things I thought to be artifacts are actual data. At least I could fix it easily.
Diffstat (limited to 'picohttp.h')
-rw-r--r--picohttp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/picohttp.h b/picohttp.h
index faa54de..d7bccde 100644
--- a/picohttp.h
+++ b/picohttp.h
@@ -5,8 +5,8 @@
#include <stddef.h>
#include <stdint.h>
-/* max 70 for boundary + 6 chars for "<CR><LF>--" */
-#define PICOHTTP_MULTIPARTBOUNDARY_MAX_LEN 76
+/* max 70 for boundary + 4 chars for "<CR><LF>--" */
+#define PICOHTTP_MULTIPARTBOUNDARY_MAX_LEN 74
#define PICOHTTP_DISPOSITION_NAME_MAX 16
#define PICOHTTP_MAJORVERSION(x) ( (x & 0x7f00) >> 8 )