spray/spray — pull request #482 by jrudolph (2013-09-02 12:54:08+00:00)
Title: = can: be more resilient against stray `Terminated` messages in HttpHostConnectionSlot, fixes #459

Accomplished by introducing a new state just for waiting for connection termination.

The way messages are reinjected in `waitingForConnectionTermination` may lead to a slight reordering, but I don't think that's a problem.