I have a bytearray. I checked its size with len and it's 15.000 bytes. However, when sending it through s.send(), where s is a socket, only 6000 bytes are sent.
Is this normal ? The next call to send doesn't even send the rest.
More details : Even with splittig with 3 sendall it does not work :
s.sendall(fbytes[:5000])
s.sendall(fbytes[5000:10000])
s.sendall(fbytes[10000:])