Work-around for proxy->s_server retry logic
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
834aae2a99
commit
dca97e9bfd
1 changed files with 3 additions and 1 deletions
|
@ -269,7 +269,9 @@ sub clientstart
|
|||
);
|
||||
|
||||
$retry--;
|
||||
if (!$server_sock) {
|
||||
if ($@ || !defined($server_sock)) {
|
||||
$server_sock->close() if defined($server_sock);
|
||||
undef $server_sock;
|
||||
if ($retry) {
|
||||
#Sleep for a short while
|
||||
select(undef, undef, undef, 0.1);
|
||||
|
|
Loading…
Reference in a new issue