shinrich commented on a change in pull request #7714:
URL: https://github.com/apache/trafficserver/pull/7714#discussion_r620250743
##########
File path: iocore/net/SSLNetVConnection.cc
##########
@@ -736,7 +736,7 @@ SSLNetVConnection::net_read_io(NetHandler *nh, EThread
*lthread)
break;
case SSL_READ_ERROR:
this->read.triggered = 0;
- readSignalError(nh, static_cast<int>(r));
+ readSignalError(nh, (errno) ? errno : -ENET_SSL_FAILED);
Review comment:
Afraid I don't understand the comment. We are passing the errno that
would have been generated from ssl_read_from_net. It may change during the
call to readSignalError, but the argument will be the value from the call
point. Would you like me to save the errno value directly after the all to
ssl_read_from_net?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]