Switch over state in HTTPConnectionPool.HTTP2StateMachine.failedToCreateNewConnection
#638
Labels
kind/bug
Feature doesn't work as expected.
Current code assumes that we are always in the running state. We therefore never transition from the
shuttingDown
to theshutDown
state if the last connection in the pool fails.async-http-client/Sources/AsyncHTTPClient/ConnectionPool/State Machine/HTTPConnectionPool+HTTP2StateMachine.swift
Lines 400 to 407 in 9937d87
We likely need to do something similar to the
HTTP1StateMachine
.async-http-client/Sources/AsyncHTTPClient/ConnectionPool/State Machine/HTTPConnectionPool+HTTP1StateMachine.swift
Lines 216 to 242 in 9937d87
The text was updated successfully, but these errors were encountered: