shinrich opened a new pull request #7809: URL: https://github.com/apache/trafficserver/pull/7809
Another approach to PR #7803. In addition to storing that one of the EPOLLERR bits was set, this code grabs a copy of error sitting on the socket and sends a VC_EVENT_ERROR from the read or write method with the lerrno set appropriately. With this change, the case where there is no one listening on the origin port and a ICMP or reset is returned is correctly identified as a connection error instead of a failure after the TCP handshake succeeded. I have been running this code change this afternoon on a production box. Tracking down correctly handing origin connection errors and marking things down appropriately is discussed in issue #7290 -- 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]
