This is an automated email from the ASF dual-hosted git repository.
shinrich pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new a48fe23 Fix for CID-1375917
a48fe23 is described below
commit a48fe23bd03fdb6965fce99254689a95b022cd89
Author: Susan Hinrichs <[email protected]>
AuthorDate: Fri Jun 2 22:26:30 2017 +0000
Fix for CID-1375917
If handShakeBuffer is null so is handShakeReader, but best to be explicit.
---
iocore/net/SSLNetVConnection.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iocore/net/SSLNetVConnection.cc b/iocore/net/SSLNetVConnection.cc
index f36554a..ab88b18 100644
--- a/iocore/net/SSLNetVConnection.cc
+++ b/iocore/net/SSLNetVConnection.cc
@@ -512,7 +512,7 @@ SSLNetVConnection::net_read_io(NetHandler *nh, EThread
*lthread)
}
}
// move over to the socket if we haven't already
- if (this->handShakeBuffer) {
+ if (this->handShakeReader) {
ink_release_assert(BIO_eof(SSL_get_rbio(this->ssl)) &&
!handShakeReader->is_read_avail_more_than(0));
// Done with the buffer after the first exchange, convert over to the
socket buffer
BIO *rbio = BIO_new_fd(this->get_socket(), BIO_NOCLOSE);
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].