utls/testdata
Filippo Valsorda b4c934319a crypto/tls: prevent the test server from sending session tickets
Since they are sent after the handshake in TLS 1.3, the client was not
actually consuming them, as it doesn't make any Read calls. They were
then sitting in the kernel receive buffer when the client would call
Close. The kernel would see that and send a RST, which would race the
closeNotify, causing errors.

Also, we get to trim 600 lines of useless test data.

Fixes #28852

Change-Id: I7517feab77dabab7504bfc111098ba09ea07ae5e
Reviewed-on: https://go-review.googlesource.com/c/151659
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-11-29 05:55:51 +00:00
..
Client-TLSv10-ClientCert-ECDSA-ECDSA crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv10-ClientCert-ECDSA-RSA crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv10-ClientCert-RSA-ECDSA crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv10-ClientCert-RSA-RSA crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv10-ECDHE-ECDSA-AES crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv10-ECDHE-RSA-AES crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv10-ExportKeyingMaterial crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv10-RSA-RC4 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv11-ECDHE-ECDSA-AES crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv11-ECDHE-RSA-AES crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv11-RSA-RC4 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-AES128-GCM-SHA256 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-AES128-SHA256 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-AES256-GCM-SHA384 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ALPN crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ALPN-NoMatch crypto/tls: support AES-128-CBC cipher suites with SHA-256. 2016-08-18 21:46:46 +00:00
Client-TLSv12-ClientCert-ECDSA-ECDSA crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ClientCert-ECDSA-RSA crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ClientCert-RSA-AES256-GCM-SHA384 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ClientCert-RSA-ECDSA crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ClientCert-RSA-RSA crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ClientCert-RSA-RSAPKCS1v15 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ClientCert-RSA-RSAPSS crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ECDHE-ECDSA-AES crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ECDHE-ECDSA-AES-GCM crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ECDHE-ECDSA-AES128-SHA256 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ECDHE-ECDSA-AES256-GCM-SHA384 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ECDHE-ECDSA-CHACHA20-POLY1305 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ECDHE-RSA-AES crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ECDHE-RSA-AES128-SHA256 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ECDHE-RSA-CHACHA20-POLY1305 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-ExportKeyingMaterial crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-P256-ECDHE crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-RenegotiateOnce crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-RenegotiateTwice crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-RenegotiateTwiceRejected crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-RenegotiationRejected crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-RSA-RC4 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-SCT crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv12-X25519-ECDHE crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Client-TLSv13-AES128-SHA256 crypto/tls: prevent the test server from sending session tickets 2018-11-29 05:55:51 +00:00
Client-TLSv13-AES256-SHA384 crypto/tls: prevent the test server from sending session tickets 2018-11-29 05:55:51 +00:00
Client-TLSv13-ALPN crypto/tls: prevent the test server from sending session tickets 2018-11-29 05:55:51 +00:00
Client-TLSv13-CHACHA20-SHA256 crypto/tls: prevent the test server from sending session tickets 2018-11-29 05:55:51 +00:00
Client-TLSv13-ClientCert-ECDSA-RSA crypto/tls: prevent the test server from sending session tickets 2018-11-29 05:55:51 +00:00
Client-TLSv13-ClientCert-RSA-ECDSA crypto/tls: prevent the test server from sending session tickets 2018-11-29 05:55:51 +00:00
Client-TLSv13-ClientCert-RSA-RSAPSS crypto/tls: prevent the test server from sending session tickets 2018-11-29 05:55:51 +00:00
Client-TLSv13-ECDSA crypto/tls: prevent the test server from sending session tickets 2018-11-29 05:55:51 +00:00
Client-TLSv13-ExportKeyingMaterial crypto/tls: prevent the test server from sending session tickets 2018-11-29 05:55:51 +00:00
Client-TLSv13-HelloRetryRequest crypto/tls: prevent the test server from sending session tickets 2018-11-29 05:55:51 +00:00
Client-TLSv13-KeyUpdate crypto/tls: prevent the test server from sending session tickets 2018-11-29 05:55:51 +00:00
Client-TLSv13-P256-ECDHE crypto/tls: prevent the test server from sending session tickets 2018-11-29 05:55:51 +00:00
Client-TLSv13-X25519-ECDHE crypto/tls: prevent the test server from sending session tickets 2018-11-29 05:55:51 +00:00
example-cert.pem crypto/tls: add examples for [Load]X509KeyPair 2018-04-30 17:25:27 +00:00
example-key.pem crypto/tls: add examples for [Load]X509KeyPair 2018-04-30 17:25:27 +00:00
Server-SSLv3-RSA-3DES crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-SSLv3-RSA-AES crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-SSLv3-RSA-RC4 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv10-ECDHE-ECDSA-AES crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv10-ExportKeyingMaterial crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv10-RSA-3DES crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv10-RSA-AES crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv10-RSA-RC4 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv11-FallbackSCSV crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv11-RSA-RC4 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-ALPN crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-ALPN-NoMatch crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-CipherSuiteCertPreferenceECDSA crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-CipherSuiteCertPreferenceRSA crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-ClientAuthRequestedAndECDSAGiven crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-ClientAuthRequestedAndGiven crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-ClientAuthRequestedAndPKCS1v15Given crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-ClientAuthRequestedNotGiven crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-ECDHE-ECDSA-AES crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-ExportKeyingMaterial crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-IssueTicket crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-IssueTicketPreDisable crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-P256 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-Resume crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-ResumeDisabled crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-RSA-3DES crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-RSA-AES crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-RSA-AES-GCM crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-RSA-AES256-GCM-SHA384 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-RSA-RC4 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-RSA-RSAPKCS1v15 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-RSA-RSAPSS crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-SNI crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-SNI-GetCertificate crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-SNI-GetCertificateNotFound crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv12-X25519 crypto/tls: enable TLS 1.3 and update tests 2018-11-12 20:44:39 +00:00
Server-TLSv13-AES128-SHA256 crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-AES256-SHA384 crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-ALPN crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-ALPN-NoMatch crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-CHACHA20-SHA256 crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-ClientAuthRequestedAndECDSAGiven crypto/tls: implement TLS 1.3 client authentication 2018-11-12 20:43:55 +00:00
Server-TLSv13-ClientAuthRequestedAndGiven crypto/tls: implement TLS 1.3 client authentication 2018-11-12 20:43:55 +00:00
Server-TLSv13-ClientAuthRequestedNotGiven crypto/tls: implement TLS 1.3 client authentication 2018-11-12 20:43:55 +00:00
Server-TLSv13-ECDHE-ECDSA-AES crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-ExportKeyingMaterial crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-HelloRetryRequest crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-IssueTicket crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-IssueTicketPreDisable crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-P256 crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-Resume crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-Resume-HelloRetryRequest crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-ResumeDisabled crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-RSA-RSAPSS crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00
Server-TLSv13-X25519 crypto/tls: implement TLS 1.3 PSK authentication (server side) 2018-11-12 20:43:35 +00:00