shinrich commented on a change in pull request #7714:
URL: https://github.com/apache/trafficserver/pull/7714#discussion_r617045763
##########
File path: iocore/net/SSLNetVConnection.cc
##########
@@ -546,7 +546,7 @@ SSLNetVConnection::net_read_io(NetHandler *nh, EThread
*lthread)
// If the key renegotiation failed it's over, just signal the error and
finish.
if (sslClientRenegotiationAbort == true) {
this->read.triggered = 0;
- readSignalError(nh, static_cast<int>(r));
+ readSignalError(nh, (errno) ? errno : -ENET_SSL_FAILED);
Review comment:
This is based on the regeneration failure set in ssl_callback_info.
Probably best as just ENET_SSL_FAILED rather than trying to pick up the random
errno along the way.
--
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]