openssl/apps
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
..
demoCA
demoSRP
app_rand.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
apps.c Fix s_client/s_server waiting for stdin on Windows 2016-05-27 15:18:46 +01:00
apps.h Fix s_client/s_server waiting for stdin on Windows 2016-05-27 15:18:46 +01:00
asn1pars.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
build.info build.info files: add quotes around any spec that may contain spaces 2016-05-25 11:50:44 +02:00
ca-cert.srl
ca-key.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
ca-req.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
ca.c Indent and dead code cleanup 2016-05-21 08:58:27 -04:00
CA.pl.in Make sure to initialize all CA.pl variables properly 2016-05-23 21:48:42 +02:00
cert.pem
ciphers.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
client.pem
cms.c Use correct EOL in headers. 2016-05-19 22:43:00 +01:00
crl2p7.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
crl.c X509_STORE_CTX accessors. 2016-05-17 16:06:09 -04:00
ct_log_list.cnf Extends s_client to allow a basic CT policy to be enabled 2016-03-04 10:50:10 -05:00
dgst.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
dh1024.pem Update Diffie-Hellman parameters to IANA standards 2016-05-03 10:32:01 -04:00
dh2048.pem Update Diffie-Hellman parameters to IANA standards 2016-05-03 10:32:01 -04:00
dh4096.pem Update Diffie-Hellman parameters to IANA standards 2016-05-03 10:32:01 -04:00
dhparam.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
dsa512.pem
dsa1024.pem
dsa-ca.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
dsa-pca.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
dsa.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
dsap.pem
dsaparam.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
ec.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
ecparam.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
enc.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
engine.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
errstr.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
gendsa.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
genpkey.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
genrsa.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
nseq.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
ocsp.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
openssl-vms.cnf Remove outdated legacy crypto options 2016-01-27 19:05:50 -05:00
openssl.c Rename lh_xxx,sk_xxx tp OPENSSL_{LH,SK}_xxx 2016-05-20 10:48:29 -04:00
openssl.cnf Use better defaults for TSA. 2015-11-20 13:40:53 +00:00
opt.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
passwd.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
pca-cert.srl
pca-key.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
pca-req.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
pkcs7.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
pkcs8.c Support for traditional format private keys. 2016-05-23 16:41:34 +01:00
pkcs12.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
pkey.c Support for traditional format private keys. 2016-05-23 16:41:34 +01:00
pkeyparam.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
pkeyutl.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
prime.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
privkey.pem
progs.h make update 2016-04-29 09:09:46 +02:00
progs.pl apps/progs.pl: don't make digests disablable by default 2016-04-29 09:08:06 +02:00
rand.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
rehash.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
req.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
req.pem
rsa8192.pem
rsa.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
rsautl.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_apps.h Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
s_cb.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
s_client.c Fix intermittent windows failures in TLSProxy tests 2016-05-27 15:18:54 +01:00
s_server.c Fix s_client/s_server waiting for stdin on Windows 2016-05-27 15:18:46 +01:00
s_socket.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
s_time.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
server2.pem
server.pem
server.srl
sess_id.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
smime.c Use correct EOL in headers. 2016-05-19 22:43:00 +01:00
speed.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
spkac.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
srp.c Indent and dead code cleanup 2016-05-21 08:58:27 -04:00
testCA.pem
testdsa.h Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
testrsa.h Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
timeouts.h Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
ts.c Fix ts app help message 2016-05-18 10:44:08 +01:00
tsget.in Make the use of perl more consistent 2016-04-01 07:24:04 +02:00
verify.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
version.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
vms_decc_init.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
winrand.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
x509.c Check that the obtained public key is valid 2016-05-19 20:46:06 +01:00