summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorMax Christian Pohle2021-11-29 16:14:37 +0100
committerMax Christian Pohle2021-11-29 16:14:37 +0100
commit512c406b4fb3bc4054073608707ae07f65a65890 (patch)
tree4352c5587cbc4fd185b2cfc76bb68df53bf43b89 /main.h
parent7fd1bbc1abafee0f1db19118d127c5bd744f1b67 (diff)
downloadohmycgi-512c406b4fb3bc4054073608707ae07f65a65890.tar.bz2
ohmycgi-512c406b4fb3bc4054073608707ae07f65a65890.zip
still getting this code shorter
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
..