Node-SMB / marsaud-smb2

SMB2 Client
53 stars 46 forks source link

fix reading of big files #14

Closed nraynaud closed 8 years ago

nraynaud commented 8 years ago

Xen Orchestra reads backup files with this library, and those can be bigger than 2^32 bits in length.

This PR brings the limit to 2^53 bits, but doesn't fix the readfile() api call where the entire file would be put in a buffer.