Chromium Code Reviews
DescriptionClose 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249240
Patch Set 1 #
Total comments: 13
Patch Set 2 : #Patch Set 3 : Trying again; rietveld got confused (try jobs on patch set 2) #
Total comments: 2
Patch Set 4 : Revise comment. #
Messages
Total messages: 9 (0 generated)
|
|||||||||||||||||||||||||||||||||||||