go-libp2p-examples icon indicating copy to clipboard operation
go-libp2p-examples copied to clipboard

files > 10mb throws error

Open jeshocarmel opened this issue 5 years ago • 0 comments

I'm using protocol buffers to transfer a file through inet.Stream. Any files < 9mb are successfully being sent and received on the other end. If I send a file > 9mb they throw an error write tcp4 10.141.13.74:4001->10.141.13.74:4002: write: protocol wrong type for socket or write tcp4 10.141.12.222:4001->10.141.12.222:4002: write: broken pipe

Is this a tcp limitation? Any alternative approach to transfer files through inet.Stream. Thanks

jeshocarmel avatar Jun 07 '19 09:06 jeshocarmel