浏览代码

161b2750 didn't really retry the stream. this does.

Roger Dingledine 15 年之前
父节点
当前提交
4c948ffd6c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/or/relay.c

+ 2 - 1
src/or/relay.c

@@ -692,7 +692,8 @@ edge_reason_is_retriable(int reason)
          reason == END_STREAM_REASON_RESOURCELIMIT ||
          reason == END_STREAM_REASON_RESOURCELIMIT ||
          reason == END_STREAM_REASON_EXITPOLICY ||
          reason == END_STREAM_REASON_EXITPOLICY ||
          reason == END_STREAM_REASON_RESOLVEFAILED ||
          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,
 /** Called when we receive an END cell on a stream that isn't open yet,