This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients BreamoreBoy, gearb0x, jnoller, neologix, news1234, pitrou
Date 2012-01-03.16:40:48
SpamBayes Score 1.3970861e-08
Marked as misclassified No
Message-id <1325608849.25.0.783307105368.issue8184@psf.upfronthosting.co.za>
In-reply-to
Content
That's because SocketListener uses SO_REUSEADDR.
It seems that, with SO_REUSEADDR, Windows allows binding to a port even though there's a socket already bound to the same port in the LISTEN state: this is wrong, the semantics of SO_REUSEADDR was intended for sockets in TIME-WAIT state, and Linux and BSD systems implement this properly (i.e. fail with EADDRINUSE when there's a socket in LISTEN state).
The problem, if we remove this flag, is that managers binding to a specific port will get EADDRINUSE in case of rapid restart.
Since I'm not convinced that this is really an issue, I'd suggest to close this as "won't fix". Another option would be to complain to Microsoft :-)

@Phill: I'm not sure I understand your problem: could you be more specific (or open a new issue)?
History
Date User Action Args
2012-01-03 16:40:49neologixsetrecipients: + neologix, pitrou, jnoller, news1234, BreamoreBoy, gearb0x
2012-01-03 16:40:49neologixsetmessageid: <1325608849.25.0.783307105368.issue8184@psf.upfronthosting.co.za>
2012-01-03 16:40:48neologixlinkissue8184 messages
2012-01-03 16:40:48neologixcreate