Send sendmes when we're down 100 cells, not 101.
commite50b7768b94bbcccef77be255920e3aac80a9555
authorRoger Dingledine <arma@torproject.org>
Mon, 10 Aug 2009 08:13:18 +0000 (10 04:13 -0400)
committerRoger Dingledine <arma@torproject.org>
Mon, 10 Aug 2009 08:13:18 +0000 (10 04:13 -0400)
tree6177b07062ef3f3f72b9f327a4da931c6cf9c29f
parente53ee805a92e5e8f8afc8aa512d33464be710733
Send sendmes when we're down 100 cells, not 101.

Send circuit or stream sendme cells when our window has decreased
by 100 cells, not when it has decreased by 101 cells. Bug uncovered
by Karsten when testing the "reduce circuit window" performance
patch. Bugfix on the 54th commit on Tor -- from July 2002,
before the release of Tor 0.0.0. This is the new winner of the
oldest-bug prize.
ChangeLog
src/or/relay.c