openssl/util/perl/TLSProxy
Matt Caswell 018632ae98 Fix race condition in TLSProxy
Normally TLSProxy waits for the s_server process to finish before
continuing. However in cases where serverconnects > 1 we need to keep the
s_server process around for a later test so we continue immediately. This
means that TAP test output can end up being printed to stdout at the same
time as s_server is printing stuff. This confuses the test runner and can
cause spurious test failures. This commit introduces a small delay in cases
where serverconnects > 1 in order to give s_server enough time to finish
what it was doing before we continue to the next test.

Fixes #4129

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4660)
2017-11-07 10:51:17 +00:00
..
Certificate.pm
CertificateVerify.pm
ClientHello.pm
EncryptedExtensions.pm
HelloRetryRequest.pm
Message.pm Implement Maximum Fragment Length TLS extension. 2017-11-05 17:46:48 +01:00
NewSessionTicket.pm
Proxy.pm Fix race condition in TLSProxy 2017-11-07 10:51:17 +00:00
Record.pm
ServerHello.pm
ServerKeyExchange.pm