Taille des byte[] lus en TCP doit être fait en tenant compte de la taille de la payload #54

Closed
opened 5 years ago by louis_royer · 0 comments
Collaborator

ProtocolP2PPacketTCP reads 1024 bytes but if 2 request comes at the same time InputStream is cleared fully and we keep waiting forever on the other side a fix could be to read only the header first, and read the required size after

ProtocolP2PPacketTCP reads 1024 bytes but if 2 request comes at the same time InputStream is cleared fully and we keep waiting forever on the other side a fix could be to read only the header first, and read the required size after
louis_royer added the
bug
important
labels 5 years ago
louis_royer referenced this issue from a commit 5 years ago
louis_royer closed this issue 5 years ago
Sign in to join this conversation.
Loading…
There is no content yet.