Considering that UNIX Network Programming, Vol 1 (by W. Richard Stevens)
recommends "_All_ TCP servers should specify [SO_REUSEADDR] to allow the
server to be restarted [if there are clients connected]," and that
self.allow_reuse_address = False makes restarting a server a pain if there
were connected clients, why does SocketServer default allow_reuse_address
to False?  It's kind of bemusing to subclass ThreadingTCPServer just to
change one variable that arguably should have been True in the first place.

Is there some history to this of which I'm not aware?  Is there a good
reason for it to default to false?

j

-- 
Joshua Kugler
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE

-- 
Posted via a free Usenet account from http://www.teranews.com

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to