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
This commit is contained in:
Roger Dingledine 2004-11-26 03:43:54 +00:00
parent 179ad27b34
commit 02a30a348a

View 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;
}