Remove bulk reading, because for an unexplainable reason it can cause garbled data. (reverse-merged from commit ed667e2b72
)
This commit is contained in:
parent
b923ea847b
commit
7538ff46ed
@ -63,13 +63,5 @@ public class PacketInputStream implements AutoCloseable
|
|||||||
out.write(ret);
|
out.write(ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public int read(byte[] b, int off, int len) throws IOException
|
|
||||||
{
|
|
||||||
int ret = wrapped.read(b, off, len);
|
|
||||||
out.write(b, off, ret);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user