jssmith / ssqlite

Serverless SQLite Experiments
6 stars 3 forks source link

Return bytes sent not bytes requested upon read #47

Closed scottnuma closed 5 years ago

scottnuma commented 5 years ago

Edit nfs4_pread to send a struct pointer rather than a buffer pointer. This pointer contains the original buffer, as well as information on the length of data written and EOF.

This fixes the reading of binary files that contain \0.