Re: [exim] Lost connection during delay

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Ian FREISLICH
CC: exim-users, Giuliano Gavazzi
Sujet: Re: [exim] Lost connection during delay
On Fri, 13 May 2005, Ian FREISLICH wrote:

> But, checking my source which does detect closed or vanished sockets
> uses this to do so, so I'm not sure which one hits:
>
>                         if (pollfd[0].revents & (POLLERR | POLLHUP | POLLNVAL))


That's interesting, thanks. I will do some tests with POLLERR and
POLLNVAL; it certainly isn't POLLHUP (at least not on my Linux box).

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book