Alternative TLS implementation in Go
Go to file
Tamir Duberstein 326f5bb02b crypto/tls: check errors from (*Conn).writeRecord
This promotes a connection hang during TLS handshake to a proper error.
This doesn't fully address #14539 because the error reported in that
case is a write-on-socket-not-connected error, which implies that an
earlier error during connection setup is not being checked, but it is
an improvement over the current behaviour.

Updates #14539.

Change-Id: I0571a752d32d5303db48149ab448226868b19495
Reviewed-on: https://go-review.googlesource.com/19990
Reviewed-by: Adam Langley <agl@golang.org>
2016-03-02 18:20:46 +00:00
testdata crypto/tls: add TLS_RSA_WITH_AES_128_GCM_SHA256 and TLS_RSA_WITH_AES_256_GCM_SHA384 cipher suites 2015-11-15 20:59:11 +00:00
alert.go crypto/tls: support TLS_FALLBACK_SCSV as a server. 2014-10-15 17:54:04 -07:00
cipher_suites.go crypto/tls: Improve ambiguous comment in cipher_suites.go 2016-02-22 23:56:37 +00:00
common.go crypto/tls: don't send IP literals as SNI values. 2015-11-10 22:17:16 +00:00
conn_test.go crypto/tls: Added dynamic alternative to NameToCertificate map for SNI 2014-08-06 11:22:00 -07:00
conn.go crypto/tls: check errors from (*Conn).writeRecord 2016-03-02 18:20:46 +00:00
example_test.go crypto/x509: add example of using a custom root list. 2014-02-19 11:18:35 -05:00
generate_cert.go crypto/tls: Support ECDSA keys in generate_cert.go 2014-07-28 14:46:34 -07:00
handshake_client_test.go crypto/tls: check errors from (*Conn).writeRecord 2016-03-02 18:20:46 +00:00
handshake_client.go crypto/tls: check errors from (*Conn).writeRecord 2016-03-02 18:20:46 +00:00
handshake_messages_test.go crypto/tls: decouple handshake signatures from the handshake hash. 2015-04-30 03:47:02 +00:00
handshake_messages.go crypto/tls: reject ServerHellos with empty ALPN protocols. 2015-08-30 15:33:36 +00:00
handshake_server_test.go crypto/tls: check errors from (*Conn).writeRecord 2016-03-02 18:20:46 +00:00
handshake_server.go crypto/tls: check errors from (*Conn).writeRecord 2016-03-02 18:20:46 +00:00
handshake_test.go crypto/tls: rework reference tests. 2013-12-20 11:37:05 -05:00
key_agreement.go all: single space after period. 2016-03-02 00:13:47 +00:00
prf_test.go crypto/tls: decouple handshake signatures from the handshake hash. 2015-04-30 03:47:02 +00:00
prf.go crypto/tls: len(clientRandom) used for serverRandom source 2015-11-10 22:17:54 +00:00
ticket.go crypto/tls: add support for session ticket key rotation 2015-04-26 20:57:28 +00:00
tls_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
tls.go all: remove public named return values when useless 2016-02-29 03:31:19 +00:00