This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients
Date 2004-08-02.14:29:46
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=31435

I suspect the patch is close but not quite there yet.  I 
believe select will return 1 now if the socket is in *either* of 
the writable or exception sets upon select's return, so that 
the patch loses the distinction between "ok, we finally 
connected" and "oops -- we can't connect".  If so, to 
untangle that we need to pass in *distinct* sets to select, 
and when the return is > 0 it's an error case if and only if 
FS_SET then says the socket is in the exception set.  If the 
socket is in the writable set instead, then the connect 
succeeded.
History
Date User Action Args
2007-08-23 14:24:41adminlinkissue1001018 messages
2007-08-23 14:24:41admincreate