DescriptionPreserve transport errors for OpenSSL sockets.
This makes the OpenSSL BIO pair behave like nss_memio with respect to errors,
eliminating many discrepancies between the two backends in
ssl_client_socket_unittest.cc. (While adding one as it exposes a difference in
how OpenSSL and NSS behave internally.) This also makes our fallback behavior
on TCP reset match; in NSS we take care to only fall back to TLS 1, but our
OpenSSL code falls back all the way to SSL3.
We save transport errors and install a BIO callback to return those errors
through the OpenSSL error queue when OpenSSL's SSL implementation attempts to
read or write to the transport BIO.
BUG=372849, 341178
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283013
Patch Set 1 #Patch Set 2 : #
Total comments: 17
Patch Set 3 : sleevi comments; also fix last-minute bug introduced in patch set 2 (oops) #
Messages
Total messages: 9 (0 generated)
|