akka/akka-http
Use new shutdown hooks in Akka 2.5 to prevent AbruptTerminationException in Http infrastructure
Offen
#907 geöffnet am 27.02.2017
1 - triagedhelp wantedt:core
Repository-Metriken
- Stars
- (1.311 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 1T 10h) (2 gemergte PRs in 30 T)
Beschreibung
There are already some hook phases pre-allocated for exactly this purpose.
All active components should be shutdown in the hook:
Http().shutdownAllConnectionPools- Also introduce some infrastructure to track open server bindings and shut them down.