Matt Caswell cb2e10f257 Fix intermittent windows failures in TLSProxy tests
When closing down the socket in s_client Windows will close it immediately
even if there is data in the write buffer still waiting to be sent. This
was causing tests to fail in Msys/Mingw builds because TLSProxy doesn't see
the final CloseNotify.

I have experimented with various ways of doing this "properly" (e.g.
shutting down the socket before closing, setting SO_LINGER etc). I can't
seem to find the "magic" formula that will make Windows do this. Inserting
a short 50ms sleep seems to do the trick...but its not very "nice" so I've
inserted a TODO on this item. Perhaps someone else will have better luck
in figuring this out.

RT#4255

Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-05-27 15:18:54 +01:00
..
2011-03-16 11:50:33 +00:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-21 08:58:27 -04:00
2016-05-17 14:19:19 -04:00
2016-05-19 22:43:00 +01:00
2016-05-17 14:19:19 -04:00
2016-05-17 16:06:09 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2015-11-20 13:40:53 +00:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2009-09-06 15:49:46 +00:00
2016-04-29 09:09:46 +02:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-19 22:43:00 +01:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-21 08:58:27 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-18 10:44:08 +01:00
2016-04-01 07:24:04 +02:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00