Commit Graph

273 Commits

Author SHA1 Message Date
3lswear
d38a2462ef feat: ignore alloc_dealloc_mistmatch 2022-02-26 17:16:52 +03:00
3lswear
fa6388c658 move -DDEBUG to debug flags 2022-02-25 00:57: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
4af179523f hide output 2022-02-22 19:59:05 +03:00
Talyx
ab7ba02446 change debug output 2022-02-22 19:57:35 +03:00
Talyx
3f24c3f7eb add error handling for 400 and 414 error-code 2022-02-22 19:51:54 +03:00
Talyx
5a2cbaefe3 change debug output 2022-02-22 19:50:44 +03:00
Talyx
ed8d8e095c change debug output and add some getters 2022-02-22 19:50:23 +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
Talyx
1fc2f8212e misc 2022-02-22 19:46:47 +03:00
Talyx
6b0f215d8b change: error output 2022-02-22 19:46:04 +03:00
Talyx
034efe51fb change: error output 2022-02-22 19:45:37 +03:00
Talyx
4471bc46c0 add: new colors 2022-02-22 19:45:05 +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
f05693edd3 Merge remote-tracking branch 'origin/fara' into roman 2022-02-20 20:14:45 +03:00
3lswear
87a7dfa072 Merge remote-tracking branch 'origin/fara' into roman 2022-02-20 20:07:47 +03:00
Talyx
6510f5c012 new default config 2022-02-20 20:07:26 +03:00
3lswear
5ba0447542 add comments ?? 2022-02-20 20:05:40 +03:00
3lswear
41b2cdb90e feat: rewrite more to own exceptions + handle put_to_subtable error 2022-02-20 20:03:27 +03:00
3lswear
be0d34b8d5 fix: pass pointer to root after parser initialization 2022-02-20 20:02:00 +03:00
Talyx
9fbb6cf91b add: $request_file 2022-02-20 20:00:03 +03:00
3lswear
8b2bfe6360 feat: rewrite toSting to std::string 2022-02-20 19:59:23 +03:00
Talyx
4f0173ea08 new config 2022-02-20 19:58:00 +03:00
Talyx
1519408e4c add: upload accept 2022-02-20 16:56:03 +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
25bb151e74 cleaning 2022-02-20 15:23:09 +03:00
Talyx
0f74c88af6 add: safe memory free 2022-02-20 14:47:24 +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
3lswear
8029ac92de Merge remote-tracking branch 'origin/fara' into fara 2022-02-19 21:54:02 +03:00
3lswear
c5def96a03 fix: now builds 😠 2022-02-19 21:50:38 +03:00
Talyx
5ec52e4e2c fix: leak in response class 2022-02-19 21:49:22 +03:00
3lswear
7be6cb59b6 feat: enable server once again 2022-02-19 21:41:00 +03:00
Talyx
11b1985a39 misc 2022-02-19 20:44:03 +03:00