Otherwise was going into an endless reading loop because user code only asked for a short part of the total amount of data sent.
Otherwise was going into an endless reading loop because user code only asked for a short part of the total amount of data sent.