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

Closed
opened 2020-03-20 17:45:22 +01:00 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 2020-03-20 17:45:22 +01:00
louis_royer referenced this issue from a commit 2020-04-02 00:54:22 +02:00
Sign in to join this conversation.
No description provided.