提交 dca97e9b 编写于 作者: V Viktor Dukhovni

Work-around for proxy->s_server retry logic

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 834aae2a
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册