On Jun 01, 2009 at 19:11, Juha Heinanen jh@tutpro.com wrote:
Andrei Pelinescu-Onciul writes:
Yes, but with the added twist that most of the time the failure route will be called for unreachable tcp destinations if tcp_async is on (default) and the destination is not yet in the blacklist.
so if use_dst_blacklist is "off" and tcp connection setup fails, failure_route will be always called?
In most cases. It depends on the tcp stack and if a non-blocking connect returns pending or the remote responds so fast that it would return and error (e.g. connect to localhost). So you shouldn't rely on this behaviour.
Andrei