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-27 15:18:46 +01:00
2016-05-27 15:18:46 +01:00
2016-05-17 14:19:19 -04:00
2016-05-25 11:50:44 +02:00
2016-01-13 17:55:17 -05:00
2016-01-13 17:55:17 -05:00
2016-05-21 08:58:27 -04:00
2016-05-23 21:48:42 +02:00
2016-05-17 14:19:19 -04:00
2011-12-08 14:44:05 +00: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-03-04 10:50:10 -05:00
2016-05-17 14:19:19 -04:00
2016-05-03 10:32:01 -04:00
2016-05-03 10:32:01 -04:00
2016-05-03 10:32:01 -04:00
2016-05-17 14:19:19 -04:00
2016-01-13 17:55:17 -05:00
2016-01-13 17:55:17 -05: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-01-27 19:05:50 -05:00
2016-05-20 10:48:29 -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-01-13 17:55:17 -05:00
2016-01-13 17:55:17 -05:00
2016-05-17 14:19:19 -04:00
2016-05-23 16:41:34 +01:00
2016-05-17 14:19:19 -04:00
2016-05-23 16:41:34 +01: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-04-29 09:08:06 +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-27 15:18:54 +01:00
2016-05-27 15:18:46 +01:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2011-12-08 14:44:05 +00:00
2011-12-08 14:44:05 +00: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
2016-05-19 20:46:06 +01:00