Skip to content
Snippets Groups Projects
Commit 8c528bc3 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Merge commit 'origin/maint-0.2.1'

Conflicts:
	src/or/reasons.c
parents a509dbba 78e4aa63
Branches
Tags
No related merge requests found
......@@ -169,7 +169,13 @@ errno_to_stream_end_reason(int e)
S_CASE(ENETUNREACH):
return END_STREAM_REASON_INTERNAL;
E_CASE(EHOSTUNREACH):
return END_STREAM_REASON_NOROUTE;
/* XXXX022
* 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;
S_CASE(ECONNREFUSED):
return END_STREAM_REASON_CONNECTREFUSED;
S_CASE(ECONNRESET):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment