[tor-bugs] #10081 [Tor]: TBB 2.4 on OSX, SO_REUSEADDR errors

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 27 03:30:37 UTC 2014


#10081: TBB 2.4 on OSX, SO_REUSEADDR errors
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:
  sniper976              |     Status:  assigned
         Type:  defect   |  Milestone:  Tor: 0.2.5.x-final
     Priority:  normal   |    Version:  Tor: 0.2.4.17-rc
    Component:  Tor      |   Keywords:  tor-relay osx needs-investigation
   Resolution:           |  024-backport 025-triaged
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-------------------------------------------------
Changes (by nickm):

 * keywords:  tor-relay osx needs-investigation 024-backport => tor-relay
     osx needs-investigation 024-backport 025-triaged


Comment:

 I half-suspect this is happening in the case where we have just accepted a
 socket, and the other side has shut down the socket right after we
 accepted it.

 From the manpage
 {{{
      The getsockopt() and setsockopt() system calls will succeed unless:
 ...
      [EINVAL]           The option is invalid at the level indicated.

      The setsockopt() system call will succeed unless:
 ...
      [EINVAL]           The socket has been shut down.

 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10081#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list