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
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. 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