Commit 02a30a34 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

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
parent 179ad27b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
  }