Eric LAZO
19a9d3b464
more telnet tests
2022-08-16 23:54:30 +02:00
Eric LAZO
1b7d388231
a few small fixes here and there, more telnet tests, starting Siege load testing
2022-08-16 20:41:57 +02:00
Eric LAZO
c9c8946e70
merge, the whole thing is cleaner
2022-08-15 19:54:26 +02:00
Eric LAZO
19da59ecf8
cleaned things up
2022-08-15 19:40:21 +02:00
lperrey
a284e400c1
changed client_body_limit (now in KB)
...
+ multiples little adjusts
2022-08-15 02:14:27 +02:00
Eric LAZO
aa03880601
still working on telnet tester
2022-08-15 01:47:37 +02:00
Eric LAZO
21efbef86a
better telnet tester, merging
2022-08-14 21:41:46 +02:00
LuckyLaszlo
b0949615c8
fixed mistake in _read_request()
...
+ changes to some log output
2022-08-13 19:17:32 +02:00
Eric LAZO
4d395088d0
trying to get submit form to work...
2022-08-12 20:08:49 +02:00
LuckyLaszlo
c7bbf29a1b
NPOS macro
2022-08-12 18:16:49 +02:00
Eric LAZO
52824f30bd
merged and added colors to makefile
2022-08-12 15:24:10 +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
Me
f7c0ff1a8a
clean up
2022-08-12 04:38:07 +02:00
Me
c32fc2c8a2
I really hope this is the last time we fix Location Picker, i think it's good it's pretty elegant, basically set root and location path to never have / at end and that made things easier
2022-08-11 02:01:24 +02:00
Me
0b51d13f13
a few more things for location picker
2022-08-11 00:36:24 +02:00
LuckyLaszlo
360c27df5f
done root substitution
...
+ autoindex/index adjustement
2022-08-10 19:59:05 +02:00
Me
8e90221058
location picker works, needs to be tested more tho
2022-08-10 01:59:10 +02:00
Me
97c90236b9
cgi_ext, redirect and upload_repo now functional in config, fixed location picker, some cleanup
2022-08-09 02:37:28 +02:00
Me
9ee7205b95
Index and Autoindex work nicely, standarized way paths for root and location path are stored in config, still needs a little polishing prolly
2022-08-08 02:50:37 +02:00
Me
cf69168a84
some cleanup of config stuff
2022-08-07 22:54:58 +02:00
Me
94852babc6
autoindex is working, a few things to iron out be we well on our way
2022-08-07 22:25:24 +02:00
Me
f777441edf
autoindex in progress but need to check stuff on master branch
2022-08-07 20:37:53 +02:00
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