summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'main.h')
-rw-r--r--main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.h b/main.h
index 826ef47..a9509f0 100644
--- a/main.h
+++ b/main.h
@@ -73,6 +73,7 @@ static inline int verbose(const char * format, ...) {
73typedef struct { 73typedef struct {
74 int newline_length; // lenght of one newline in bytes (\n has 1, CR/LF has 2) 74 int newline_length; // lenght of one newline in bytes (\n has 1, CR/LF has 2)
75 char * method; // GET/POST or something like that 75 char * method; // GET/POST or something like that
76 char * protocol; // mostly HTTP/1.0 or HTTP/1.1
76 char * url; // request URL (e.g. /index.html) 77 char * url; // request URL (e.g. /index.html)
77 char * boundary; // usually looks similar to ------1234 78 char * boundary; // usually looks similar to ------1234
78 size_t boundary_size; // size in bytes, calculated after first header complete; is an indicator for the first header 79 size_t boundary_size; // size in bytes, calculated after first header complete; is an indicator for the first header
..