Commit Graph

91 Commits

Author SHA1 Message Date
3lswear
d8bb6a2047 feat: add epoll_handle and cleanup 2022-02-27 18:14:34 +03:00
3lswear
89695470cb feat: add formatting to getDebugTime 2022-02-27 18:13:32 +03:00
3lswear
c8d82c92a1 feat: don't bind twice on same port 2022-02-27 16:19:41 +03:00
3lswear
6f1e07b77b feat: add delete_client_force 2022-02-27 16:18:24 +03:00
3lswear
f0154f99ab feat: checkerror output 2022-02-27 16:18:08 +03:00
3lswear
7f63fb2aae feat: add more output 2022-02-26 17:19:52 +03:00
3lswear
d0871ad262 fix: call free on unitialized client (fix double free) 2022-02-26 17:19:34 +03:00
3lswear
af4a4299b3 perf: inline some functions 2022-02-25 00:48:02 +03:00
3lswear
51388d076b fix: delete client data if client closes connection 2022-02-25 00:45:11 +03:00
3lswear
350ca5bc22 fix(socket): do not reuse port 2022-02-25 00:36:39 +03:00
3lswear
434e75bb47 refactor: delete_fd and rename free_fd 2022-02-24 21:45:06 +03:00
3lswear
6ce3b81f6a feat: do not reallocate Client and fix segfault on iterator 2022-02-24 00:05:29 +03:00
3lswear
a6b046a460 fix: exit on SIGINT to avoid leaks 2022-02-23 22:49:33 +03:00
3lswear
596bcf7019 fix: renamed Socket methods 2022-02-23 22:48:44 +03:00
3lswear
cc903368a5 refactor: renamed methods 2022-02-23 22:45:52 +03:00
3lswear
822aefff85 feat: add colors to getDebugTime 2022-02-23 22:44:43 +03:00
3lswear
f79e37c5e6 fix: fix FARA segfault !!! 2022-02-23 22:44:16 +03:00
Talyx
0862f6eb79 add func: getDebugTime 2022-02-22 19:49:37 +03:00
Talyx
c7d4ece622 change debug output and time to delete client socket 2022-02-22 19:47:56 +03:00
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