diff options
author | davidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-14 20:43:41 +0000 |
---|---|---|
committer | davidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-14 20:43:41 +0000 |
commit | 5aea79183c539a1af49165c6bb7edc7d8d9c74a4 (patch) | |
tree | b8c7f49e4fe88c53b08407b3b53612871323918a /content/test/gpu | |
parent | 0b40a4816df98f4b79b2fa90d2e8a42a09191cfa (diff) | |
download | chromium_src-5aea79183c539a1af49165c6bb7edc7d8d9c74a4.zip chromium_src-5aea79183c539a1af49165c6bb7edc7d8d9c74a4.tar.gz chromium_src-5aea79183c539a1af49165c6bb7edc7d8d9c74a4.tar.bz2 |
Preserve 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
Review URL: https://codereview.chromium.org/367963007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/gpu')
0 files changed, 0 insertions, 0 deletions