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
48af92b3bc
fixed _error_html_response()
...
+ renamed eval_file_mode() in eval_file_access()
+ memo update
2022-08-15 22:12:55 +02:00
LuckyLaszlo
fe89be65f6
Tested and fixed server_name resolution
2022-08-15 19:31:43 +02:00
lperrey
a284e400c1
changed client_body_limit (now in KB)
...
+ multiples little adjusts
2022-08-15 02:14:27 +02:00
LuckyLaszlo
8d4961c9b5
memo.txt update
2022-08-14 17:53:29 +02:00
LuckyLaszlo
84babec82b
added multipart upload file,
...
it works, but need some adjustements,
refactoring and testing
2022-08-14 06:25:06 +02:00
LuckyLaszlo
c7bbf29a1b
NPOS macro
2022-08-12 18:16:49 +02:00
LuckyLaszlo
b44acafefe
CGI discussion and a little bit of work done
2022-08-12 18:08:39 +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
360c27df5f
done root substitution
...
+ autoindex/index adjustement
2022-08-10 19:59:05 +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
1eb989a3fd
_determine_location() new version (to complete and test)
2022-08-09 20:47:21 +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
a44b9b493a
split respone.cpp file
2022-08-08 20:36:01 +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
4ab099ee4d
redone _read_request(). Should work with any BUFSIZE.
...
+ WIP in some aspects. Need to adjust parse_request() among others things.
+ update memo.txt
2022-08-07 05:41:01 +02:00
LuckyLaszlo
e596d8f093
MIME types map for correct Content-type header
...
+ append body to string cause encoding problem, so added temp buf in Client.
2022-08-05 04:24:15 +02:00
LuckyLaszlo
3102253092
wip DELETE, POST (no cgi, need testing)
2022-08-04 20:56:37 +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
8a7204b7a5
init
2022-07-07 20:13:14 +02:00