New submission from Michael Bevilacqua-Linn:

Hello, 

In BaseHTTPServer line 104 is the following:

allow_reuse_address = 1    # Seems to make sense in testing environment

This appears to attempt to set SO_REUSEADDR, but it doesn't actually do 
anything since the attribute that needs to be set to true is actually on the 
superclass (TCPServer).

A tad misleading when reading the code trying to figure out how to set 
SO_REUSEADDR.

----------
components: Library (Lib)
messages: 186572
nosy: Michael.Bevilacqua-Linn
priority: normal
severity: normal
status: open
title: Setting allow_reuse_address in BaseHTTPServer has no effect.
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17698>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to