]> granicus.if.org Git - libevent/commit
Fix an assertion bug in test-ratelim
authorNick Mathewson <nickm@torproject.org>
Wed, 4 Aug 2010 19:52:32 +0000 (15:52 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 4 Aug 2010 19:52:32 +0000 (15:52 -0400)
commitb2c6202d65f3a057ed76f0296b52156980f2482a
tree756f61173bc987f7e944626c09676c0e40f78537
parent42f6b6241444ff66b08956a7c7f4e13f2f5f49f3
Fix an assertion bug in test-ratelim

If the rate limit was low enough, then the echo_conns wouldn't finish
inside the 300 msec we allowed for them to close.  Instead, count the
number of connections we have, and keep waiting until they are all
closed.
test/test-ratelim.c