Commit Graph

72 Commits

Author SHA1 Message Date
3lswear
5f7b5ed9e5 fix: segfault on bytes_read = -1 2022-02-21 21:55:03 +03:00
Talyx
e107b2a3e5 add: client life time 2022-02-21 18:37:48 +03:00
3lswear
582310c70d feat: check sent amount 2022-02-21 00:38:57 +03:00
3lswear
45c21b9043 style: clean-ups 2022-02-21 00:38:40 +03:00
3lswear
7c849e301b fix: delete client 2022-02-20 21:13:27 +03:00
3lswear
be0d34b8d5 fix: pass pointer to root after parser initialization 2022-02-20 20:02:00 +03:00
3lswear
e0ac307f06 Merge remote-tracking branch 'origin/fara' into roman 2022-02-20 16:18:44 +03:00
3lswear
a57ba161ce refacotor(server): clean-ups 2022-02-20 16:10:24 +03:00
3lswear
4ad745a9e9 feat: handle when recv returns 0 or 1 2022-02-20 16:10:05 +03:00
Talyx
5c2888190c fix: leak in ServerConfig class 2022-02-19 23:01:03 +03:00
3lswear
b8f671d526 Merge remote-tracking branch 'origin/fara' into roman 2022-02-19 22:31:32 +03:00
Talyx
11b1985a39 misc 2022-02-19 20:44:03 +03:00
3lswear
d1bd273173 feat: simplify parse control flow 2022-02-19 18:45:24 +03:00
3lswear
2beed8da19 feat: move custom exceptions to domain_error 2022-02-19 18:44:58 +03:00
3lswear
a50ce4777d refactor: rm clean_funcs from server class 2022-02-19 13:52:33 +03:00
3lswear
cd87725f38 refactor: move out clean_parsed funcs to config:: 2022-02-19 13:51:20 +03:00
Talyx
cf6f356cef add: sig handler 2022-02-18 20:23:01 +03:00
Talyx
3c5f61e08e fix: alg config valid 2022-02-17 21:13:55 +03:00
Talyx
87bc1cfc70 fix: eof tester 2022-02-17 19:44:12 +03:00
Talyx
e97df9c137 add: config validity check 2022-02-16 00:18:25 +03:00
3lswear
f719502237 tmp improvements 2022-02-15 07:33:57 +03:00
Talyx
c21aae0b1d Merge remote-tracking branch 'origin/parser' into fara 2022-02-14 21:08:19 +03:00
Talyx
b1a1404863 add: url decode, and change client_body_size var to ssize_t 2022-02-14 17:34:01 +03:00
3lswear
eaaa126e97 feat: catch exceptions in readConfig 2022-02-13 22:45:56 +03:00
Talyx
cec4ae69e1 change: location alg 2022-02-12 18:57:07 +03:00
3lswear
29ae04e40d feat(parser): get config file from arg 2022-02-12 00:30:50 +03:00
Talyx
b178c3c8bf ServerConfig: replace return(1) to continue; 2022-02-10 22:12:50 +03:00
Talyx
abff8b474f add: client body limit in locations 2022-02-10 19:28:20 +03:00
Talyx
9b3b3bebca fix: linux tester 2022-02-10 00:36:34 +03:00
3lswear
f7783460e3 feat: try to fix tester 2022-02-09 22:58:43 +03:00
Talyx
f1b2b04119 add: cgi_pass in config file 2022-02-09 17:15:46 +03:00
3lswear
30921c41fd Merge remote-tracking branch 'origin/fara' into roman 2022-02-08 21:56:55 +03:00
3lswear
0a791b2303 feat: pass servers ip, port to client 2022-02-08 21:48:09 +03:00
3lswear
60a354d8a6 feat(core): open sockets on multiple servers from configurations 2022-02-08 21:13:10 +03:00
3lswear
a4b5037cb1 feat(socket): add min_config struct 2022-02-08 21:09:21 +03:00
3lswear
adf57cd03f tmp: multiple server_sockets wip 2022-02-08 00:16:14 +03:00
Talyx
a056a923e0 add: download files 2022-02-07 22:43:14 +03:00
Talyx
40f86e0f67 Merge remote-tracking branch 'origin/roman' into fara 2022-02-06 22:08:16 +03:00
Talyx
0d3acb7d26 replacement: reference getters 2022-02-06 22:05:49 +03:00
3lswear
81320af92e fix: leak mitigations 2022-02-06 19:01:52 +03:00
3lswear
b2df81d00d feat: cleaning intermediate 2022-02-06 15:19:09 +03:00
3lswear
d2637eee79 style: some clean-ups 2022-02-05 20:13:02 +03:00
Talyx
93003724d2 fix: segv from when empty client 2022-02-05 17:13:19 +03:00
3lswear
e0c0484b60 feat: delete when empty 2022-02-05 16:47:42 +03:00
3lswear
cb1d839fac feat: clients on heap 2022-02-05 16:31:48 +03:00
3lswear
b243ca893b feat: done boolean + response to char * 2022-02-05 15:06:28 +03:00
3lswear
6858aa160a feat: first working version with LT 2022-02-05 02:45:56 +03:00
3lswear
282224fd12 feat: refactor for consistency, some additions 2022-02-05 01:53:42 +03:00
3lswear
80cfe67d49 Merge remote-tracking branch 'origin/fara' into roman 2022-02-04 18:19:34 +03:00
3lswear
87520ae819 style: rm comments 2022-02-04 18:17:19 +03:00