Opened 4 years ago

Closed 5 months ago

#20353 closed defect (wontfix)

evutil_ersatz_socketpair: use AF_INET6 if AF_INET bind fails

Reported by: nickm Owned by:
Priority: Very Low Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Trivial Keywords: tor-client maybe-pointless easy
Cc: Actual Points:
Parent ID: Points: .5
Reviewer: Sponsor:


Apparently there are systems where you can bind to ::1, but you can't bind to 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 should always work on Windows.

Child Tickets

Change History (2)

comment:1 Changed 3 years ago by nickm

Keywords: tor-client maybe-pointless easy added

comment:2 Changed 5 months ago by nickm

Resolution: wontfix
Status: newclosed

I think I was correct to label this as maybe-pointless :)

Note: See TracTickets for help on using tickets.