commit | fb5470d14488442686ffbf260a06a47892919c5c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Dec 14 00:02:33 2012 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 14 00:13:23 2012 +0100 |
tree | 2eaf140aacf7f4468fe8cc389c9b562bba9ae251 | |
parent | 6320c3cb468ce5b7f5013ef048b53ee8c744a2d5 [diff] |
OPTIM: epoll: current fd does not count as a new one The epoll loop checks for newly appeared FDs in order to process them early if they're accepted sockets. Since the introduction of the fd_ev_set() calls before the iocb(), the current FD is always in the update list, and we don't want to check it again, so we must assign the old_updt index just before calling the I/O handler.