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 [email protected].
To post to this group, send email to [email protected].
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