On Wed, Jan 09, 2019 at 08:30:16PM +0300, Ilya Maximets wrote: > On some systems in case where remote is not responding, socket could > remain in SYN_SENT state for a really long time without errors waiting > for connection. This leads to situations where open_blok() hangs for > a few minutes waiting for connection to the DOWN remote. > > For example, our "multiple remotes" idl tests hangs waiting for > connection to the WRONG_PORT on FreeBSD in CirrusCI environment. > This leads to test failures because Alarm signal arrives much faster > than ETIMEDOUT from the socket. > > This patch allowes to specify timeout value for 'open_block' function. > If the connection takes more time, socket will be closed with > ETIMEDOUT error code. Negative value or None in python could be > used to wait infinitely. > > Signed-off-by: Ilya Maximets <[email protected]>
Thanks, applied to master. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
