#20353: evutil_ersatz_socketpair: use AF_INET6 if AF_INET bind fails
------------------------------+------------------------------
     Reporter:  nickm         |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Very Low      |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor  |    Version:
     Severity:  Trivial       |   Keywords:
Actual Points:                |  Parent ID:
       Points:  .5            |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------
 Apparently there are systems where you can bind to ::1, but you can't bind
 to 127.0.0.1.  On these systems, evutil_ersatz_socketpair doesn't work
 right -- it only falls back to IPv6 when it fails to create an AF_INET
 socket.

 I'm calling this a very low priority bug, since evutil_ersatz_socketpair
 is only used on Windows, and (as far as I know) binding 127.0.0.1 should
 always work on Windows.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20353>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to