Cancelling network operations

Bert Huijben bert at qqmail.nl
Thu Apr 22 12:59:15 EDT 2010



> -----Original Message-----
> From: neon-bounces at lists.manyfish.co.uk [mailto:neon-
> bounces at lists.manyfish.co.uk] On Behalf Of Joe Orton
> Sent: donderdag 22 april 2010 18:18
> To: neon at lists.manyfish.co.uk
> Subject: Re: Cancelling network operations
> 
> On Thu, Apr 22, 2010 at 05:59:37PM +0200, Stefan Küng wrote:
> > On 22.04.2010 16:23, Bert Huijben wrote:
> > >The connect returns WSAEWOULDBLOCK (NE_ISINPROGRESS() returns
> TRUE),
> > >but then the connect fails.
> > >
> > >This failure would have been reported via the select() that is used
> > >in raw_poll() if the exceptfds argument was set, but this is NULL.
> 
> Thanks for looking into it.  Something like the attached fixes that?

Yes this fixes the reporting of the connect error after I replaced:

    FD_SET(fdn, &exfds);
with
    FD_SET(fdno, &exfds);

(fdn is not defined)

    Bert




More information about the neon mailing list