diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2019-02-11 18:24:38 +0000 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-02-12 17:35:56 +0100 |
commit | 25d93b6a116fcef9b4c7c7dcea2fab90dd7c88b5 (patch) | |
tree | 7c1ef22852d6252d18a0303b744f0d2c0dcca359 /util/osdep.c | |
parent | 32423ccaa1fb4d4777dbc4e3e3da331a1616a489 (diff) |
chardev: honour the reconnect setting in tcp_chr_wait_connected
If establishing a client connection fails, the tcp_chr_wait_connected
method should sleep for the reconnect timeout and then retry the
attempt. This ensures the callers don't immediately abort with an
error when the initial connection fails.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20190211182442.8542-13-berrange@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'util/osdep.c')
0 files changed, 0 insertions, 0 deletions