]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
give up trying to track down the reason we're calling package_inbuf
authorRoger Dingledine <arma@torproject.org>
Fri, 26 Nov 2004 03:43:54 +0000 (03:43 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 26 Nov 2004 03:43:54 +0000 (03:43 +0000)
with a package window of 0. it's safe to just catch the error cases
there and do the right thing.

svn:r2988

src/or/relay.c

index 41c0bc77c97e0ae0ccdeb06f6b87eda6c1eb1673..4e3534baa1ab07f0a375bd6dc638edead70ca17f 100644 (file)
@@ -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;
   }