There is a bug in Akka Tcp which causes this. I dont remember the ticket
No. but it is fixed and will be part of the next Akka bugfix release - then
streams will be fixed at the next release.
2014.08.13. 7:37 ezt írta ("William Le Ferrand" <warne...@gmail.com>):

> Dear List,
>
> I've facing a puzzling issue with (a slightly modified version of) the
> example code TcpEcho.scala. I'm sending 6mb with the server to the client:
>
>  - when I only count the bytes received, I get the right byte count back
> (6M)
>  - when I do something as simple as allocating an array inside the
> operation applied to each bytestring, I start loosing bytes
>
> I reduced the issue to a minimal code example:
> https://gist.github.com/williamleferrand/77b4e40787b593d1f00d . If you
> run it, you'll see that you don't get exactly 6M bytes back.
>
> Does anyone would have a clue of why I'm loosing these bytes?
>
> Thanks in advance,
>
> Best,
>
> William
>
> --
> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit 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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to