Commit Graph

11 Commits

Author SHA1 Message Date
Me
4870b2c05d Location sorter works, fixed the compilation error i was having on this branch, now working on autoindex 2022-08-07 03:24:49 +02:00
Me
6f0c3b4d6d kinda successful merge, weird tho, didn't go as smoothly with VScode as usual... 2022-08-05 22:25:11 +02:00
Me
f7dc5ccde4 ok Location sorting and processing is finally working as expected, still a few things to add like error_pages but will get there soon 2022-08-05 21:46:46 +02:00
Me
9ac14aa1aa Well we learned a lot from Nginx, starting to incorporate some, but hoping for feedback before i do most of that, instead worked on improving the location sorter and checking that locations paths are valid, close but not quite done 2022-08-05 03:42:42 +02:00
Eric LAZO
f7e6b61811 LocationConfig sorter works as intended, tho should prolly check things thoroughly later 2022-08-04 19:33:38 +02:00
Me
fce1bcbece well, the location sorter is better, but i don't understand why, kinda by accident, will try to figure it out 2022-08-04 16:45:12 +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
Me
ca8427262d wrote a tiny thing to improve the operator< overlaod, will test tomorrow 2022-08-04 01:41:19 +02:00
Me
3d46505411 well, restructured things a bit, but mostly started trying to sort LocationConfigs, it is sort of going well, good ideas, implementations is still a bit lacking... 2022-08-04 01:09:40 +02:00
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