Taille des byte[] lus en TCP doit être fait en tenant compte de la taille de la payload #54
Labels
No Label
bug
documentation
duplicate
easy
enhancement
help wanted
important
invalid
low priority
protocol
question
refactoring
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: flavien/Projet_JAVA_P2P_STRI2A#54
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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