]> git.kaiwu.me - haproxy.git/commit
MAJOR: ev_kqueue: make the poller support speculative events
authorWilly Tarreau <w@1wt.eu>
Sun, 11 Nov 2012 19:49:49 +0000 (20:49 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 11 Nov 2012 19:53:29 +0000 (20:53 +0100)
commit4a22627672412d21637787eadd9a3e71e97c7ece
tree95fecf309b1cd4097fe91355e0f874e0e7eb1982
parentcc7e3f7c3f02e5908dd7fd6712eb0610e1541f53
MAJOR: ev_kqueue: make the poller support speculative events

The poller was updated to support speculative events. We'll need this
to fully support SSL.

As an a side effect, the code has become much simpler and much more
efficient, by taking advantage of the nice kqueue API which supports
batched updates. All references to fd_sets have disappeared, and only
the fdtab[].spec_e fields are used to decide about file descriptor
state.
src/ev_kqueue.c