mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Merge remote-tracking branch 'public/bug4710'
This commit is contained in:
commit
c19a2ff691
5
changes/bug4710
Normal file
5
changes/bug4710
Normal file
@ -0,0 +1,5 @@
|
||||
o Minor bugfixes:
|
||||
- Exit nodes now correcly report EADDRINUSE and EADDRNOTAVAIL as
|
||||
resource exhaustion, so that clients can adjust their load to
|
||||
try other exits. Fix for bug 4710; bugfix on 0.1.0.1-rc, which
|
||||
started using END_STREAM_REASON_RESOURCELIMIT.
|
@ -184,6 +184,8 @@ errno_to_stream_end_reason(int e)
|
||||
S_CASE(ENOBUFS):
|
||||
case ENOMEM:
|
||||
case ENFILE:
|
||||
S_CASE(EADDRINUSE):
|
||||
S_CASE(EADDRNOTAVAIL):
|
||||
E_CASE(EMFILE):
|
||||
return END_STREAM_REASON_RESOURCELIMIT;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user