[x] Add connection pools for the contained app and for the router
This will make instances of this less frequent as a connection error from the contained app will be recoverable unless the contained app has exited (in which case the exec env is going away)
This will make it more likely that an /api/chunked/close request will reach the router
Being handled in
142
178
[x] Call /api/chunked/close when the extension sets the goaway_received flag outside of receiving an actual goaway message from the router
If the router is still reachable this should exit the invocation quickly
[x] 💪 If the router is not reachable, set timeouts that will exit the invocation - This is extra credit and can be moved to another ticket if desired
Issue Locations
RouterChannel loop
All the ?; cases will exit the loop while leaving other channels running
Motivations
Acceptance Criteria
goaway_received
signal is set/api/chunked/close
request will reach the router142
178
/api/chunked/close
when the extension sets thegoaway_received
flag outside of receiving an actual goaway message from the routerIssue Locations
?;
cases will exit the loop while leaving other channels runningChannelRequest.start
, but does not signal goaway so other channels can continuefutures::future::try_join_all
Err
that all the other futures will be canceled