Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Issue 158963004: Merge 249240 "Close the correct end of the BIO pair on transport..." (Closed)

Created:
6 years, 10 months ago by davidben
Modified:
6 years, 10 months ago
Reviewers:
davidben
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Merge 249240 "Close the correct end of the BIO pair on transport..." > Close the correct end of the BIO pair on transport send failures in openssl. > > Shut down the end of the BIO pair which OpenSSL is writing to, not the > transport socket. However, retain the transport_bio_ shutdown to mirror the > behavior of NSS in r206751, to avoid breaking > SSLClientSocketTest.Write_WithSynchronousError and potentially regressing > http://crbug.com/249848. > > To avoid the CHECK in TransportReadComplete, handle the collision of write > failures and pending reads by propogating the write failure. > > Remove BIO_set_mem_eof_return calls because they don't do anything. These > aren't mem BIOs. > > BUG=335557 > TEST=SSLClientSocketTest.Read_WithWriteError > > Review URL: https://codereview.chromium.org/148213019 TBR=davidben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250123

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -6 lines) Patch
M net/socket/ssl_client_socket_openssl.h View 2 chunks +5 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 8 chunks +24 lines, -5 lines 0 comments Download
M net/socket/ssl_client_socket_unittest.cc View 1 chunk +106 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
davidben
6 years, 10 months ago (2014-02-10 17:00:40 UTC) #1
davidben
6 years, 10 months ago (2014-02-10 17:02:01 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 manually as r250123.

Powered by Google App Engine
This is Rietveld 408576698