[Patches] [Patch #102678] Let SocketServer reuse addresses
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 6 Dec 2000 09:59:52 -0800
Patch #102678 has been updated.
Project: python
Category: library
Status: Open
Submitted by: moshez
Assigned to : moshez
Summary: Let SocketServer reuse addresses
Follow-Ups:
Date: 2000-Dec-06 01:24
By: moshez
Comment:
Following a discussion on #python, there was a consensus there that it's a pain SocketServer.py doesn't reuse addresses.
-------------------------------------------------------
Date: 2000-Dec-06 09:59
By: gvanrossum
Comment:
Right idea, wrong implementation.
Instead of this, set allow_reuse_address to 1; it's a class variable currently set to 0. Then server_bind() already does the setsockopt().
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://sourceforge.net/patch/?func=detailpatch&patch_id=102678&group_id=5470