diff options
author | Max Christian Pohle | 2021-11-29 16:14:37 +0100 |
---|---|---|
committer | Max Christian Pohle | 2021-11-29 16:14:37 +0100 |
commit | 512c406b4fb3bc4054073608707ae07f65a65890 (patch) | |
tree | 4352c5587cbc4fd185b2cfc76bb68df53bf43b89 /main.h | |
parent | 7fd1bbc1abafee0f1db19118d127c5bd744f1b67 (diff) | |
download | ohmycgi-512c406b4fb3bc4054073608707ae07f65a65890.tar.bz2 ohmycgi-512c406b4fb3bc4054073608707ae07f65a65890.zip |
still getting this code shorter
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -73,6 +73,7 @@ static inline int verbose(const char * format, ...) { | |||
73 | typedef struct { | 73 | typedef 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 |