On Tue, Sep 21, 2010 at 09:44:58PM +0200, Cyril Bonté wrote: > Le mardi 21 septembre 2010 21:24:41, Willy Tarreau a écrit : > > József, Cyril, > > > > I have a good news. Your diag was right Cyril, the call to EV_FD_CLR() > > was the root cause. I could simulate the bug by adding a close(cfd) just > > after the accept(). I won't paraphrase my explanation in the attached > > commit. > > Really good news ! I was just about to reply to confirm what I saw this > morning, as I just compared to the 1.4.8 code (which doesn't disable the > proxy > for a connection reset by peer). > > There's just a missing #include <proto/protocols.h> in stream_sock.c to > prevent an implicit declaration warning ;-)
Pfff... I noticed the warning in 1.4 and added the file, but did not see it in 1.5. Done, thanks for your review Cyril. Cheers, Willy

