Closed aversini closed 10 years ago
@aversini I know where the bug is. Coz u can't read all bytes into memory. Look at code line 286 - 196, we need to read some bytes (not all) and write them, then read another some bytes, write them, read and write, until finished.
Is this issue fixed?
Downloading any type of files works great, unless their size is over 65536 bytes.
For files over 65k, it looks like the download went well (no err in the callback) but they get corrupted after the first 65536 bytes. I can attach an example of a file before and after if needed.
I also tried over an external network, as well as a local network (guest + vm) but the issue remains.
I may be missing some special configuration for larger files?
Here is the testing code I'm using:
Let me know if I can do anything else to help... Thanks!