A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-December/011003.html below:

[Python-Dev] reuse of address default value (was Re: [Python-checkins] CVS: python/dist/src/Lib SocketServer.py)

[Python-Dev] reuse of address default value (was Re: [Python-checkins] CVS: python/dist/src/Lib SocketServer.py)Peter Funk pf@artcom-gmbh.de
Thu, 14 Dec 2000 08:42:59 +0100 (MET)
Hi,

I think the following change is incompatible and will break applications.

At least I have some server type applications that rely on 
'allow_reuse_address' defaulting to 0, because they use
the 'address already in use' exception, to make sure, that exactly one
server process is running on this port.  One of these applications, 
which is BTW build on top of Fredrik Lundhs 'xmlrpclib' fails to work,
if I change this default in SocketServer.py.  

Would you please explain the reasoning behind this change?

Moshe Zadka:
> *** SocketServer.py	2000/09/01 03:25:14	1.19
> --- SocketServer.py	2000/12/13 20:39:17	1.20
> ***************
> *** 158,162 ****
>       request_queue_size = 5
>   
> !     allow_reuse_address = 0
>   
>       def __init__(self, server_address, RequestHandlerClass):
> --- 158,162 ----
>       request_queue_size = 5
>   
> !     allow_reuse_address = 1
>   
>       def __init__(self, server_address, RequestHandlerClass):

Regards, Peter
-- 
Peter Funk, Oldenburger Str.86, D-27777 Ganderkesee, Germany, Fax:+49 4222950260
office: +49 421 20419-0 (ArtCom GmbH, Grazer Str.8, D-28359 Bremen)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4