akka / akka-http

The Streaming-first HTTP server/module of Akka
https://doc.akka.io/docs/akka-http
Other
1.34k stars 594 forks source link

Introduce option that cancelling the response entity stream so does not close the connection #1479

Open jrudolph opened 7 years ago

jrudolph commented 7 years ago

But instead slurps it within reasonable time-bounds.

As suggested in https://github.com/akka/akka-http/issues/1459

Also make sure to log response stream cancellation (and consequences) at least to debug to make sure it is not missed.

jonas commented 7 years ago

Is there an implied "so" before that? I'm not able to parse the title.

ktoso commented 7 years ago

Yeah, that case was when a cancellation on the entity killed the entire connection stream

Changed title