diff options
-rw-r--r-- | changes/misc-reason | 3 | ||||
-rw-r--r-- | src/or/reasons.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/changes/misc-reason b/changes/misc-reason new file mode 100644 index 0000000000..2559fe6341 --- /dev/null +++ b/changes/misc-reason @@ -0,0 +1,3 @@ + o Minor bugfixes: + - Exit nodes didn't recognize EHOSTUNREACH as a stream ending reason + and sent back misc. Bugfix on 0.1.0.1-rc; fixes bug 1793. diff --git a/src/or/reasons.c b/src/or/reasons.c index 45b592367c..27abb790df 100644 --- a/src/or/reasons.c +++ b/src/or/reasons.c @@ -161,6 +161,7 @@ errno_to_stream_end_reason(int e) E_CASE(EACCES): S_CASE(ENOTCONN): S_CASE(ENETUNREACH): + E_CASE(EHOSTUNREACH): return END_STREAM_REASON_INTERNAL; S_CASE(ECONNREFUSED): return END_STREAM_REASON_CONNECTREFUSED; |