Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
debian
tor
Commits
e0c80315
Commit
e0c80315
authored
11 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
make EACCES survivable too.
parent
f5d32c08
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/or/reasons.c
+2
-1
2 additions, 1 deletion
src/or/reasons.c
with
2 additions
and
1 deletion
src/or/reasons.c
+
2
−
1
View file @
e0c80315
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
weasel (Peter Palfrader)
@weasel
mentioned in commit
f8ec9d77
·
3 years ago
mentioned in commit
f8ec9d77
mentioned in commit f8ec9d7739e98882cd7a3e05cf1c83c6df763bee
Toggle commit list
weasel (Peter Palfrader)
@weasel
mentioned in commit
4f8ed0d8
·
3 years ago
mentioned in commit
4f8ed0d8
mentioned in commit 4f8ed0d8fdf8e8bf10c87781750dea3b6f4ca6b2
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment