diff options
author | Roger Dingledine <arma@torproject.org> | 2009-08-10 04:17:32 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2009-08-10 04:17:32 -0400 |
commit | afc9da72874b0e443843ef25090a97fab91530ec (patch) | |
tree | 816fd9921a248bb5ce0fb8f96618a2044c5fc7a3 /src/or/relay.c | |
parent | 2e1ac18ed19eaa65ac94ed9d1d72c7c209f90bf7 (diff) | |
parent | e50b7768b94bbcccef77be255920e3aac80a9555 (diff) | |
download | tor-afc9da72874b0e443843ef25090a97fab91530ec.tar.gz tor-afc9da72874b0e443843ef25090a97fab91530ec.zip |
Merge branch 'maint-0.2.1'
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index 0c5a96561b..76577848f3 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -1379,7 +1379,7 @@ connection_edge_consider_sending_sendme(edge_connection_t *conn) return; } - while (conn->deliver_window < STREAMWINDOW_START - STREAMWINDOW_INCREMENT) { + while (conn->deliver_window <= STREAMWINDOW_START - STREAMWINDOW_INCREMENT) { log_debug(conn->cpath_layer?LD_APP:LD_EXIT, "Outbuf %d, Queuing stream sendme.", (int)conn->_base.outbuf_flushlen); @@ -1493,7 +1493,7 @@ circuit_consider_sending_sendme(circuit_t *circ, crypt_path_t *layer_hint) { // log_fn(LOG_INFO,"Considering: layer_hint is %s", // layer_hint ? "defined" : "null"); - while ((layer_hint ? layer_hint->deliver_window : circ->deliver_window) < + while ((layer_hint ? layer_hint->deliver_window : circ->deliver_window) <= CIRCWINDOW_START - CIRCWINDOW_INCREMENT) { log_debug(LD_CIRC,"Queuing circuit sendme."); if (layer_hint) |