[Patches] [ python-Patches-965036 ] Fix for #777597 - socketmodule.c connection handling incorec

SourceForge.net noreply at sourceforge.net
Wed Jun 2 09:57:00 EDT 2004


Patches item #965036, was opened at 2004-06-02 15:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=965036&group_id=5470

Category: Modules
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Troels Walsted Hansen (troels)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix for #777597 - socketmodule.c connection handling incorec

Initial Comment:
I took Garth Bushell's inlined code from
http://python.org/sf/777597 and produced a patch per
nnorwitz's request in the bug comments. The patch is
for Python 2.3.4.

I created the patch as a starting point for a fix. I
don't believe that this patch is the correct fix for
the problem, so it should definitely not be applied in
the current form.

One major problem is that Garth removed the writefds
fd_set, which means that the code will detect
"connection refused" and "timeout" events, but not
"connection established". The code also needs
compliation and runtime testing (maybe even a
regression test to cover this common WinSock
programming error?).

I hope to submit a fixed and tested patch soon. I'll
upload it here when it is ready.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=965036&group_id=5470



More information about the Patches mailing list