History log of /libevent-2.1.12/make_epoll_table.py (Results 1 – 3 of 3)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release-2.2.1-alpha, release-2.1.12-stable, release-2.1.11-stable, release-2.1.10-stable, release-2.1.9-beta, release-2.0.23-beta, release-2.1.8-stable, release-2.1.7-rc, release-2.1.6-beta, release-2.0.22-stable, release-1.4.15-stable, release-2.1.5-beta, release-2.1.4-alpha
# b1b69ac7 18-Jan-2014 Diego Giagio <[email protected]>

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. Doe

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

show more ...


Revision tags: release-2.1.3-alpha, release-2.1.2-alpha, release-2.0.21-stable
# 4b5f32a5 23-Oct-2012 Ross Lagerwall <[email protected]>

Use python2 rather than python

python may refer to either python2 or python3 so rather by explicit by
using python2.
See PEP 394 - http://www.python.org/dev/peps/pep-0394/ for more
details.


Revision tags: release-2.0.20-stable, release-2.0.19-stable, release-2.1.1-alpha, release-2.0.18-stable, release-2.0.17-stable, release-2.0.16-stable, release-2.0.15-stable, release-2.0.14-stable, release-2.0.13-stable, release-2.0.12-stable, release-2.0.11-stable, release-2.0.10-stable, release-2.0.9-rc
# 8c83eb69 24-Oct-2010 Nick Mathewson <[email protected]>

Replace big chain of if/thens in epoll.c with a table lookup

This should save a bunch of branches by doing instead a lookup in a
nice static table.

To ensure correctness, the table is generated fro

Replace big chain of if/thens in epoll.c with a table lookup

This should save a bunch of branches by doing instead a lookup in a
nice static table.

To ensure correctness, the table is generated from a Python script,
included with this commit.

show more ...