Message30534
Python 2.4.3 (#1, Oct 1 2006, 18:00:19)
[GCC 4.1.1 20060928 (Red Hat 4.1.1-28)] on linux2
The documentation in the SocketServer class indicates
that the allow_reuse_address flag may be set on a
SocketServer subclass *or instance.* However, the flag
is read in a call to the server_bind() from the
constructor of the server object. Therefore, setting
the flag on a created instance has no effect. This is
problematic when trying to set the flag on
SimpleXMLRPCServer instances, for instance, which are
often not subclassed.
This flag should probably become one of the keyword
arguments in the constructor of a SocketServer object. |
|
Date |
User |
Action |
Args |
2007-08-23 14:49:49 | admin | link | issue1595742 messages |
2007-08-23 14:49:49 | admin | create | |
|