Commit Graph

12 Commits

Author SHA1 Message Date
lperrey
4dc70373f8 debug message 2022-08-16 20:58:48 +02:00
lperrey
2c6bc096cc WIP CGI monitered by epoll
+ OK, but some errors case need to be lookup
2022-08-16 18:38:58 +02:00
LuckyLaszlo
ff443c80b1 _exec_script() close fd and reset signal
+ somes more adjustements in _exec_script()
+ rough notes for non blocking CGI
2022-08-16 06:50:20 +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
02cfdf43bc bad_alloc handling
+ map.insert() replace map.operator[] for init, more efficient
2022-08-08 04:24:03 +02:00
LuckyLaszlo
05c7faf1f3 server search for client completed with host:port 2022-08-06 04:46:40 +02:00
LuckyLaszlo
5aabeb6b46 removed useless files
+ MethodType renamed to http_method, and moved to utils.hpp
+ operator= overload for Client moved to Client.cpp
2022-08-02 14:26:07 +02:00
LuckyLaszlo
ea3f3a390a bugfix invalid ptr in "ev.data.ptr" after vector<Client> resize/erase
+ persistent connections reintroduced
+ bugfix crash if invalid path in request
2022-07-31 13:19:11 +02:00
LuckyLaszlo
e5c2869172 Review parsing Eric and Luke.
Combined the config parser with Webserv class.
2022-07-31 00:27:48 +02:00
LuckyLaszlo
36868afa30 splitted Webserv.cpp 2022-07-29 17:16:26 +02:00