Re: [exim] Lost connection during delay

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tony Finch
Päiväys:  
Vastaanottaja: Nigel Metheringham
Kopio: exim-users
Aihe: Re: [exim] Lost connection during delay
On Fri, 6 May 2005, Nigel Metheringham wrote:
>
> If you use a select on the appropriate file handle in the exceptions set
> then you should notice a close.


That might be true on some implementations, but the BSD documentation says
"The only exceptional condition detectable is out-of-band data received on
a socket." However poll(2) is slightly more flexible in this area, and its
POLLHUP flag does what we want.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}