Commit Graph
15 Commits
Author SHA1 Message Date
LuckyLaszlo 6f5b28dd93 wip, need somes changes in ConfigParser.
+ _determine_location()
+ http_method changes
+ http_method switch in _construct_response()
+ ConfigParser::_str_to_method_type() moved to global utils.cpp
2022-08-03 18:39:22 +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 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
LuckyLaszlo e5633a30e4 perror() message fix
+ created dir for next split of Webserv.cpp
2022-07-29 16:05:43 +02:00
LuckyLaszlo ab8dfed779 basic HTTP GET response 2022-07-29 15:52:43 +02:00
LuckyLaszlo 26dad07a87 SIGINT handling
+ bug with persistent connection, recv() try to read fd 0 (why?)
2022-07-25 07:40:41 +02:00
LuckyLaszlo dcf94c2c61 Client struct, signal wip, refactoring 2022-07-25 05:28:44 +02:00
LuckyLaszlo 72d9709ca7 poll() replaced by epoll() 2022-07-23 07:01:41 +02:00
LuckyLaszlo cb8cc22c67 example for new usage of poll() 2022-07-20 20:19:13 +02:00
LuckyLaszlo eb5e719750 change to poll() call 2022-07-12 19:37:47 +02:00
LuckyLaszlo a9b1843eba basic tcp connection. 2022-07-12 00:51:43 +02:00
LuckyLaszlo 8a7204b7a5 init 2022-07-07 20:13:14 +02:00