]> git.ipfire.org Git - thirdparty/tor.git/commit
Set SO_REUSEADDR on all sockets, not just listeners
authorNick Mathewson <nickm@torproject.org>
Wed, 4 May 2011 02:22:20 +0000 (22:22 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 4 May 2011 02:22:20 +0000 (22:22 -0400)
commitaba7bb705a69697ade1cff24e6693db2cb87236a
tree797b959a60c0264cc4b41b2d778bb551693a06bc
parent4126de6888de54b5fc825d209ff1bfbe73cd9514
Set SO_REUSEADDR on all sockets, not just listeners

See bug 2850 for rationale: it appears that on some busy exits, the OS
decides that every single port is now unusable because they have been
all used too recently.
changes/bug2850 [new file with mode: 0644]
src/or/connection.c