haskell-distributed / network-transport-tcp

TCP Realisation of Network.Transport
http://haskell-distributed.github.com
BSD 3-Clause "New" or "Revised" License
30 stars 27 forks source link

Remove maximum Received event size limit #57

Closed avieth closed 7 years ago

avieth commented 7 years ago

@dcoutts noticed that this is unacceptable. network-transport requires that if bss is sent, then the receiver must get Received _ bss' such that

concat bss = concat bss'

Splitting up the Received events therefore just can't be done. To limit these, you have to use the global limit tcpMaxReceiveLength.

facundominguez commented 7 years ago

LGTM