[Patches] [ python-Patches-1062014 ] fix for 764437 AF_UNIX socket
special linux socket names
SourceForge.net
noreply at sourceforge.net
Mon Nov 8 12:05:01 CET 2004
Patches item #1062014, was opened at 2004-11-07 19:18
Message generated for change (Comment added) made by irmen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1062014&group_id=5470
Category: Modules
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Irmen de Jong (irmen)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix for 764437 AF_UNIX socket special linux socket names
Initial Comment:
The patch addresses two things:
1. the socket name (obtained using getsockname() or
getpeername() ) will now be correct in case of the
special linux socket names (starting with 0 byte)
2. the socket module now has a new constant:
UNIX_PATH_MAX , that can be used to build
correctly-sized path names.
----------------------------------------------------------------------
>Comment By: Irmen de Jong (irmen)
Date: 2004-11-08 12:05
Message:
Logged In: YES
user_id=129426
Not only does it need a new regression test, but if it is
accepted as-is, the socket module docs need to be updated
too (mention the new constant for use with the special
naming case)
----------------------------------------------------------------------
Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2004-11-07 21:11
Message:
Logged In: YES
user_id=469548
As you noted on IRC: this needs a new regression test.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1062014&group_id=5470
More information about the Patches
mailing list