303
303
* 1. Read errors are reported only if nsent==0, otherwise we return nsent.
304
304
* The user needs to know that some data has already been sent, to stop
307
307
* 2. Write errors are always reported. Write errors are bad because they
308
308
* mean data loss: we've read data but now we can't write it out.