浏览代码

give up trying to track down the reason we're calling package_inbuf
with a package window of 0. it's safe to just catch the error cases
there and do the right thing.


svn:r2988

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

+ 1 - 1
src/or/relay.c

@@ -879,7 +879,7 @@ repeat_connection_edge_package_raw_inbuf:
     return 0;
 
   if(conn->package_window <= 0) {
-    log_fn(LOG_WARN,"called with package_window %d. Tell Roger.", conn->package_window);
+    log_fn(LOG_INFO,"called with package_window %d. Skipping.", conn->package_window);
     connection_stop_reading(conn);
     return 0;
   }