Commit Graph

73 Commits

Author SHA1 Message Date
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
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
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
f79e37c5e6 fix: fix FARA segfault !!! 2022-02-23 22:44:16 +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
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
87bc1cfc70 fix: eof tester 2022-02-17 19:44:12 +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
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
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
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
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
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