rconn: Fix bug #100, "Inactivity time-out slow under heavy load."
authorBen Pfaff <blp@nicira.com>
Fri, 22 Aug 2008 17:34:15 +0000 (10:34 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 22 Aug 2008 17:34:15 +0000 (10:34 -0700)
commit8f133305afe1125846b20b5749e360a558965848
treec0dd9f05b67baa88863fec6f5234688864ac6e53
parent95eb308262ccca7b9e613f88cfc435a662cfb2a9
rconn: Fix bug #100, "Inactivity time-out slow under heavy load."

The timeout() function returns a duration relative to the time at which the
current state was entered, but rconn_run_wait() was treating it as the
waiting time remaining.
lib/rconn.c