You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
upstream: fix handling of the busy_flag for keepalive connections
There are situations where a race condition can happen with keepalive
connections with a mix of failed states of intermediary connections,
an example can be HTTP output + AWS auth, where the AWS auth failed
and could not be obtained in the DNS resolution state).
This commit ensures the busy_flag is set as soon as the connection
is created and only removed when released or an exception happens.
When destroying connections, we now not only validate the busy flag but
as well check if the connection is not assigned to a priority queue.
I also added a new check for the event structure clearing up the states
before its used again with the event loop interface.
The fixes address the issue described in: #10458
Signed-off-by: Eduardo Silva <[email protected]>
0 commit comments