nfs-client-java icon indicating copy to clipboard operation
nfs-client-java copied to clipboard

Fix bug of handle large rpc call response

Open bryanzhou opened this issue 2 years ago • 1 comments

If the response of rpc call is separate into serval fragments, will trying to hold them and merge into ONE buffer.

This bug will happen when using this client to download large files.

Here is some log when I download a file with 160MB. It has a large rpc call, and separated into 9 fragments. In old version, _recordLength is adds up but buffer didn't hold bytes all image

bryanzhou avatar Oct 25 '22 11:10 bryanzhou

@twincitiesguy Hello, could you review my code ? I've tested in my project, and it works right.

bryanzhou avatar Nov 08 '22 07:11 bryanzhou