Remove bulk reading, because for an unexplainable reason it can cause garbled data. (reverse-merged from commit ed667e2b72
)
This commit is contained in:
@@ -63,13 +63,5 @@ public class PacketInputStream implements AutoCloseable
|
||||
out.write(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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user