diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-03-28 13:42:59 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-03-28 13:42:59 -0400 |
commit | fc647832783cab352bebba63fe0210d7be395058 (patch) | |
tree | 65ef4ec7ac2c1ad366e02549d26b23535f51a9c1 /src/or/reasons.c | |
parent | 9facf8918f959cc9d9c2674afbd0630718460dc3 (diff) | |
download | tor-fc647832783cab352bebba63fe0210d7be395058.tar.gz tor-fc647832783cab352bebba63fe0210d7be395058.zip |
Send END_STREAM_REASON_NOROUTE: clients that didn't grok it are now obsolete
Diffstat (limited to 'src/or/reasons.c')
-rw-r--r-- | src/or/reasons.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/or/reasons.c b/src/or/reasons.c index 27c947edff..319e6c055a 100644 --- a/src/or/reasons.c +++ b/src/or/reasons.c @@ -174,13 +174,7 @@ errno_to_stream_end_reason(int e) S_CASE(ENETUNREACH): return END_STREAM_REASON_INTERNAL; S_CASE(EHOSTUNREACH): - /* XXXX023 - * The correct behavior is END_STREAM_REASON_NOROUTE, but older - * clients don't recognize it. So we're going to continue sending - * "MISC" until 0.2.1.27 or later is "well established". - */ - /* return END_STREAM_REASON_NOROUTE; */ - return END_STREAM_REASON_MISC; + return END_STREAM_REASON_NOROUTE; S_CASE(ECONNREFUSED): return END_STREAM_REASON_CONNECTREFUSED; S_CASE(ECONNRESET): |