mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Wait max. 60 seconds for s_client to connect
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5964)
This commit is contained in:
parent
f06080cb3d
commit
bc66144845
@ -349,7 +349,7 @@ sub clientstart
|
|||||||
|
|
||||||
# Wait for incoming connection from client
|
# Wait for incoming connection from client
|
||||||
my $fdset = IO::Select->new($self->{proxy_sock});
|
my $fdset = IO::Select->new($self->{proxy_sock});
|
||||||
if (!$fdset->can_read(1)) {
|
if (!$fdset->can_read(60)) {
|
||||||
kill(3, $self->{real_serverpid});
|
kill(3, $self->{real_serverpid});
|
||||||
die "s_client didn't try to connect\n";
|
die "s_client didn't try to connect\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user