Hi Daniel & Arno,

consuming  response entities needs to be done so that the connection becomes 
reusable afterwards, i.e. to free up the resource. In this sense, does it 
really matter how long that takes? If the connection goes idle for too long, it 
will be closed anyway, so attaching a `Sink.ignore()` should be all that is 
needed.

Regards,

Roland

> 29 maj 2017 kl. 10:50 skrev Daniel Vigovszky <[email protected]>:
> 
> Hi Arno,
> 
> did you figure out anything about this?
> 
> vigoo
> 
> 2017. május 18., csütörtök 7:12:37 UTC+2 időpontban Arno Haase a következőt 
> írta:
> I am aware that response entities must always be consumed with akka-http 
> client. 
> 
> For (very) slow connections I find it difficult to do that reliably. 
> Consuming the entity is asynchronous and therefore requires timeouts - 
> but if the timeouts fire, I may be left with an entity that is only 
> partly consumed. 
> 
> I am probably missing something here - any help would be greatly 
> appreciated. 
> 
> - Arno 
> 
> -- 
> >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/>
> >>>>>>>>>> Check the FAQ: 
> >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html 
> >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html>
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user 
> >>>>>>>>>> <https://groups.google.com/group/akka-user>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/akka-user 
> <https://groups.google.com/group/akka-user>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to