Fix intermittent Windows and Cygwin failures in s_server
authorRichard Levitte <levitte@openssl.org>
Mon, 15 Jan 2018 09:40:24 +0000 (10:40 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 15 Jan 2018 09:40:24 +0000 (10:40 +0100)
commitd17bdfc26d87097c2c80854fd521b6ecebdf5ebb
tree486628b56c147a3e71484e0d494edfd8e1e6317d
parent0973b47040df02bfa56e4a91b25621027467b16c
Fix intermittent Windows and Cygwin failures in s_server

The same kind of failure that has already been observed on the
s_client can sometimes also be observed on s_server, so we need to add
the same kind of 50ms delay as was previously added on s_client.

Ref: git commit cb2e10f257a464c6b475b321dd9e4769df84dbf6:

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/5079)
apps/s_socket.c