mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
Work-around for proxy->s_server retry logic
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
834aae2a99
commit
dca97e9bfd
@ -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 New Issue
Block a user