Commit Graph

8 Commits

Author SHA1 Message Date
LuckyLaszlo
4602844f5a Multiples minors changes (cgi env, comment, ...) 2022-08-16 04:00:33 +02:00
LuckyLaszlo
400efbe720 Wip chunked decoding
+ Need to test normal body parsing
+ path_is_valid() renamed eval_file_type()
+ replaced atoi with strtol/strtoul
2022-08-12 05:50:00 +02:00
LuckyLaszlo
ab0bc2c4c0 added timeout response (status 408)
+ added EPOLLERR and EPOLLHUP handling
+ fix root substitution for default "/" location (temp or permanent ?)
+ tested siege a little, seems good
2022-08-11 07:12:13 +02:00
LuckyLaszlo
643b09c4f7 _request() and _response() refactoring
+ Wip redirection (weird behavior)
+ 505 HTTP Version Not Supported
2022-08-09 01:46:59 +02:00
LuckyLaszlo
79bdc1ecbf ALL_METHODS renamed to ANY_METHODS 2022-08-05 23:01:06 +02:00
LuckyLaszlo
914d4cb0c0 HTML_ERROR Macro reformat 2022-08-05 04:44:23 +02:00
LuckyLaszlo
3102253092 wip DELETE, POST (no cgi, need testing) 2022-08-04 20:56:37 +02:00
LuckyLaszlo
0026106bf6 default and custom error pages response
+ refactoring in response.cpp (functions split)
+ added Client::clear()
+ added replace_all_substr() in utils.cpp
2022-08-04 02:52:31 +02:00