[PATCH] Move timeout from ConnOpener::connect to ConnOpener::timeout

From: Rainer Weikusat <rweikusat_at_mobileactivedefense.com>
Date: Sun, 20 Jan 2013 20:21:32 +0000

The attached patch removes the timeout checking code from
ConnOpener::connect and changes ConnOpener::timeout to actually force
the connection attempt to be terminated with 'a timeout error' instead
of invoking the connect method. The main motivation for this is that a
timeout occuring for a 'server first' SSL bumped connection attempt
would otherwise trigger an assert in forward.cc because of the lack
of either 'an I/O result' or an error state after the
comm_connect_addr routine invoked from connect after the connect call
from timeout had erroneously signalled that the connection was
successfully established to its caller.

Received on Sun Jan 20 2013 - 20:21:47 MST

This archive was generated by hypermail 2.2.0 : Mon Jan 21 2013 - 12:00:07 MST