Commit Graph

15 Commits

Author SHA1 Message Date
lperrey
3d17db996a Debug in progress, somes fix but not the main problem 2022-08-18 06:03:09 +02:00
lperrey
b34e49311b body write to CGI now monitored by epoll
+ kermit.jpg :)
2022-08-17 23:42:12 +02:00
lperrey
9f3903d497 Fixed, close() forgottens fds after fork
+ minors changes
+ Super new epoll loop output :)
2022-08-17 01:49:31 +02:00
lperrey
ccc542f52b Fixed big problem with CGI handling
+ remains somes minors problems
2022-08-17 01:11:20 +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
lperrey
f8c6923c6d fixed CGI alloc
+ handle unknow status from script
2022-08-16 01:46:24 +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
86f7740984 Moved most request errors check in Client
+ bugfix of "Bad file descriptor" due to empty operator=() in Client
+ added a condition in _determine_location_COOP_FIX()
+ udpate memo.txt
+ need fix for index/autoindex (location "/list" dont work)
2022-08-10 07:19:05 +02:00
LuckyLaszlo
f393aa46bf BUG: "Bad file descriptor" in _close_all_clients() 2022-08-09 22:29:35 +02:00
hugogogo
63ff42b57d client variables are made const 2022-08-06 19:58:09 +02:00
LuckyLaszlo
05c7faf1f3 server search for client completed with host:port 2022-08-06 04:46:40 +02:00
LuckyLaszlo
8f167d85f3 wip integration of client.request and ServerConfig
+ Client get return reference
+ wip binary flags for http_method
+ moved config parser files
2022-08-02 21:11:54 +02:00
LuckyLaszlo
36868afa30 splitted Webserv.cpp 2022-07-29 17:16:26 +02:00