mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
make EACCES survivable too.
This commit is contained in:
parent
f5d32c08ba
commit
e0c8031516
@ -174,11 +174,12 @@ errno_to_stream_end_reason(int e)
|
||||
S_CASE(ENOTSOCK):
|
||||
S_CASE(EPROTONOSUPPORT):
|
||||
S_CASE(EAFNOSUPPORT):
|
||||
E_CASE(EACCES):
|
||||
S_CASE(ENOTCONN):
|
||||
return END_STREAM_REASON_INTERNAL;
|
||||
S_CASE(ENETUNREACH):
|
||||
S_CASE(EHOSTUNREACH):
|
||||
E_CASE(EACCES):
|
||||
E_CASE(EPERM):
|
||||
return END_STREAM_REASON_NOROUTE;
|
||||
S_CASE(ECONNREFUSED):
|
||||
return END_STREAM_REASON_CONNECTREFUSED;
|
||||
|
Loading…
Reference in New Issue
Block a user