Re: [exim] Lost connection during delay

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Ian FREISLICH
CC: exim-users, Giuliano Gavazzi
題目: 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