Commit graph

135 commits

Author SHA1 Message Date
overflowerror
36b71d66b2 set return code in test (for pipeline) 2021-05-20 00:39:38 +02:00
overflowerror
b124b4ab78 added tests for persistent connections 2021-05-20 00:37:32 +02:00
overflowerror
8cfd788867 first integration test works 2021-05-20 00:28:40 +02:00
overflowerror
a0961d5cf3 conencting to server in integration test works now 2021-05-19 23:54:53 +02:00
overflowerror
a466e00497 connection works now, but no data is received. 2021-05-16 00:37:06 +02:00
overflowerror
847852ac7a added framework for integration tests 2021-05-15 23:56:08 +02:00
overflowerror
33f1d86910 enable pthread to compiler flags (apparently not doing so causes problems when setting sigmasks); removing static flag (not sure why it was with the compiler flags); set BACKTRACE macro for debugging 2021-05-14 17:34:32 +02:00
overflowerror
a691fb05a2 I forgot to start the cleanup thread 2021-05-14 17:20:24 +02:00
overflowerror
b39fb7bcd8 restructured signal management to avoid multible threads in the same critical section 2021-05-14 16:58:46 +02:00
overflowerror
0dcb33fe68 made code more readable 2021-05-14 13:07:56 +02:00
overflowerror
bd4072c335 fixed problem with currentHeaderLength being updated while a response thread is running 2021-05-14 12:59:05 +02:00
overflowerror
2ef24de4b1 skip code that might cause problems on dropConnection while parsing 2021-05-14 00:19:38 +02:00
overflowerror
df7ef63ae1 signal data thread on connection reset 2021-05-13 16:47:42 +02:00
overflowerror
037d10eff9 updated readme 2021-05-13 14:07:51 +02:00
overflowerror
7490e0a739 cleanup should be done now 2021-05-13 14:07:04 +02:00
overflowerror
d12a968cc2 fixes wrong response connection header on keep-alive 2021-05-13 12:52:22 +02:00
overflowerror
2788c6f94b basic cleanup after chunked transfer works; cleanup of response/encoding thread still to do 2021-05-12 22:02:46 +02:00
overflowerror
9ee99f589a moved connection reset for persistent connections to new function 2021-05-12 19:24:43 +02:00
overflowerror
aa8b6a725c keep alive for known content length seems to work 2021-05-12 19:19:17 +02:00
overflowerror
aceb054f38 set header mem to NULL on free; otherwise realloc of same space doesn't work 2021-05-12 19:11:53 +02:00
overflowerror
1cdf3474f1 (untested) persistent connections should work now; todo: check if cleanup works 2021-05-12 15:29:20 +02:00
overflowerror
3929b19bdd basic handling for persistent connections 2021-05-12 14:44:21 +02:00
overflowerror
e946217ec2 moved chunked transfer encoding thread definition above sendHeader function; added custom thread data to chunked transfer encoding thread 2021-05-12 12:41:29 +02:00
overflowerror
758cc85e2f added thread for chunked transfer encoding 2021-05-12 11:42:44 +02:00
overflowerror
a499ba8c1d I forgot two instances of strclone 2021-05-05 23:31:50 +02:00
overflowerror
29ee4fdffd added workflow badge 2021-05-05 23:14:15 +02:00
overflowerror
0a094764d2 If this works I'm furious. 2021-05-05 23:13:03 +02:00
overflowerror
4871cb81c1 trying to fix testing pipeline 2021-05-05 23:11:00 +02:00
overflowerror
ccd1441c90 Merge branch 'master' of github.com:overflowerror/CFloor 2021-05-05 23:04:07 +02:00
overflowerror
181359bd81 removed strclone function (I have no idea why I added it in the first place) 2021-05-05 23:03:57 +02:00
overflowerror
0bac15193d
Update c-cpp.yml 2021-04-30 15:47:08 +02:00
overflowerror
6d966c4229
Update c-cpp.yml 2021-04-30 15:42:19 +02:00
overflowerror
b3689b1c03 Merge branch 'master' of github.com:overflowerror/CFloor 2021-04-29 23:53:35 +02:00
overflowerror
8ea65f4539 moved getTimestamp to util module 2021-04-29 23:53:25 +02:00
overflowerror
4bed7d6948
added dependencies to workflow 2021-04-29 23:10:56 +02:00
overflowerror
b5a8c33d02
Update c-cpp.yml 2021-04-29 23:05:48 +02:00
overflowerror
241b3975e1 added github workflow for tests 2021-04-29 23:03:12 +02:00
overflowerror
9cfa9ee6ae fixed tests + bug in linked 2021-04-29 23:01:27 +02:00
overflowerror
67d398dd98 removed unused include 2021-04-29 18:38:21 +02:00
overflowerror
3640c1ae1e further reduce probability of race conditions on fds; still doesn't work 100% reliably, TODO: further investigation 2021-04-29 18:37:40 +02:00
overflowerror
2986a26c43 moved file copy to kernel space to speed up transfer 2021-04-29 18:36:10 +02:00
overflowerror
907f928c2f fixing empty response bug: don't close socket twice - fd might be reused 2021-04-29 16:07:31 +02:00
overflowerror
92c4721f5b set connection header to close while keep-alive is not implemented 2021-04-29 15:35:40 +02:00
overflowerror
2deb9e53c3 set connection to closed on safeEndConnection 2021-04-29 15:31:50 +02:00
overflowerror
d183fdb3ad restructured cleanup 2021-04-29 15:22:55 +02:00
overflowerror
91ede87e8c removed unnecessary helper threads and pipes 2021-04-29 14:52:11 +02:00
overflowerror
ced0404557 fixing some concurrency issues; redo of locking concept in linked 2021-04-29 00:03:40 +02:00
overflowerror
5030fb80d9 added lib target 2021-04-28 20:10:57 +02:00
overflowerror
5f6f451691 I should have written a README file a long time ago 2019-03-14 17:48:42 +01:00
overflowerror
6ba62ec282
Merge pull request #1 from l1f/patch-1
Update status.c
2019-03-14 14:54:11 +01:00