[or-cvs] [tor/master] 161b2750 didn't really retry the stream. this does.

arma at torproject.org arma at torproject.org
Mon Aug 16 04:06:33 UTC 2010


Author: Roger Dingledine <arma at torproject.org>
Date: Mon, 16 Aug 2010 00:04:49 -0400
Subject: 161b2750 didn't really retry the stream. this does.
Commit: 4c948ffd6c34bc60dc9b3bf66226ae179a2d0752

---
 src/or/relay.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/or/relay.c b/src/or/relay.c
index 6d0080f..b85cc84 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -692,7 +692,8 @@ edge_reason_is_retriable(int reason)
          reason == END_STREAM_REASON_RESOURCELIMIT ||
          reason == END_STREAM_REASON_EXITPOLICY ||
          reason == END_STREAM_REASON_RESOLVEFAILED ||
-         reason == END_STREAM_REASON_MISC;
+         reason == END_STREAM_REASON_MISC ||
+         reason == END_STREAM_REASON_NOROUTE;
 }
 
 /** Called when we receive an END cell on a stream that isn't open yet,
-- 
1.7.1



More information about the tor-commits mailing list