JakeChampion opened a new pull request, #14110: URL: https://github.com/apache/trafficserver/pull/14110
A HostDB waiter on a pending DNS query called back with a failure on its timeout, and only then left the pending queue. If the continuation that owns the query took the waiter out of the queue at the same time, it sent the result to the waiter, and the waiter called back a second time. `HttpSM` does not expect a second event, and it can be gone at that time. The waiter now calls back on a timeout only if it removes itself from the queue. If it is not in the queue, the owner sends it the result. `test_HostDBPending.cc` covers the two orders. It fails without the fix. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
