curl-library
Re: Test 504 in Windows
From: Andrés García <fandom_at_retemail.es>
Date: Mon, 19 Jul 2004 20:53:05 +0200
Date: Mon, 19 Jul 2004 20:53:05 +0200
> I have changed 'localhost' to '%HOSTIP' but the test still fails because
> of some other problem I haven't tracked yet.
I have been tracking the new error and, as far as I can see, the
difference between the Linux and the Windows behaviour is in
'waitconnect', in the line:
rc = select(sockfd+1, NULL, &fd, &errfd, &interval);
In Linux the select command returns '1', so the function returns
WAITCONN_CONNECTED.
In Windows the command returns '0', so we get a WAITCONN_TIMEOUT.
But I have no idea why.
Andres
Received on 2004-07-19