kc3-lang/libevent/test

Branch :


Log

Author Commit Date CI Message
b1b69ac7 2014-01-17 23:20:42 Implemented EV_CLOSED event for epoll backend (EPOLLRDHUP). - Added new EV_CLOSED event - detects premature connection close by clients without the necessity of reading all the pending data. Does not depend on EV_READ and/or EV_WRITE. - Added new EV_FEATURE_EARLY_CLOSED feature for epoll. Must be supported for listening to EV_CLOSED event. - Added new regression test: test-closed.c - All regression tests passed (test/regress and test/test.sh) - strace output of test-closed using EV_CLOSED: socketpair(PF_LOCAL, SOCK_STREAM, 0, [6, 7]) = 0 sendto(6, "test string\0", 12, 0, NULL, 0) = 12 shutdown(6, SHUT_WR) = 0 epoll_ctl(3, EPOLL_CTL_ADD, 7, {EPOLLRDHUP, {u32=7, u64=7}}) = 0 epoll_wait(3, {{EPOLLRDHUP, {u32=7, u64=7}}}, 32, 3000) = 1 epoll_ctl(3, EPOLL_CTL_MOD, 7, {EPOLLRDHUP, {u32=7, u64=7}}) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYM... write(1, "closed_cb: detected connection close "..., 45) = 45
d240328d 2014-01-08 13:02:37 Fix even more coverity warnings.
860767e8 2014-01-08 12:46:09 Fix a couple of compilation warnings in regress_http.c
544cf888 2014-01-08 11:58:50 Whoops; fix compilation in bench.c
ff7f7396 2014-01-08 11:54:56 Fix coverity warnings in benchmark tools. Again, not harmful, but best to stay warning-free.
867f401f 2014-01-08 11:51:22 Fix a pile of coverity warnings in the unit tests Most of these problems can only trigger when the tests fail, but it's good hygiene to keep the code warning-free in any case.
8d15f57f 2014-01-07 16:59:26 Merge remote-tracking branch 'asweeny86/on-complete-cb'
b85f3987 2014-01-06 21:19:15 Update unit test to make sure that the callback happens after the output data is written
f9e091bf 2014-01-06 12:11:30 Merge remote-tracking branch 'asweeny86/event-count-max'
b083ca05 2014-01-05 20:35:46 Provide on request complete callback facility This patch provides the ability to receive a callback on the completion of a request. The callback takes place immediately before the request's resources are released.