[MAJOR] spec I/O: fix allocations of spec entries for an FD
authorWilly Tarreau <w@1wt.eu>
Fri, 31 Aug 2007 15:01:18 +0000 (17:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 9 Sep 2007 19:09:29 +0000 (21:09 +0200)
commit4eac209555350124710797dfeb3d228a9e68edce
tree8d0af21cfe4ebbac544ec89630b3491660054d06
parente7150cdcfa7b3150f61a3d8b55a97b8976f1e14e
[MAJOR] spec I/O: fix allocations of spec entries for an FD

Under some circumstances, it was possible with speculative I/O to
reallocate multiple entries for the same FD if an fd_{set,clr,set}
or fd_{clr,set,clr} sequences were performed before a schedule.

Fix this by keeping a an allocation flag for each fd.
src/ev_sepoll.c