Closed NicolasRouquette closed 6 years ago
Argh... it's not quite fixed; I still get errors like this during shutdown:
https://github.com/akka/akka/issues/18797
[ERROR] [04/12/2018 17:05:50.850] [sttp-akka.actor.default-dispatcher-16] [akka.actor.ActorSystemImpl(sttp)] Outgoing request stream error (akka.stream.AbruptTerminationException: Processor actor [Actor[akka://sttp/system/StreamSupervisor-1/flow-0-0-PoolFlow#-40952605]] terminated abruptly)
I think these comments are also applicable here: https://github.com/akka/akka/issues/18797#issuecomment-157888432 https://github.com/akka/akka/issues/18797#issuecomment-158012205
To avoid problems with akka.stream.AbruptTerminationException
, I added an alternative backend based on Akka Http Flow Connection (see: https://github.com/akka/akka-http/issues/497#issue-188074838)
Oh! Nice! Thanks for tackle this issues =) I'm going to review the PR
Great!
As of v2.3.0 AkkaHttpBackend.send() does not conform with the Akka doc, specifically: https://doc.akka.io/docs/akka-http/current/implications-of-streaming-http-entity.html#discarding-the-http-response-entity-client-, because it does not call
discardEntityBytes()
.