commit | 77c48d4e26873f2348d1210fdcd4b2c605c7b484 | [log] [tgz] |
---|---|---|
author | Jakob Egger <jakob@eggerapps.at> | Wed Jan 13 14:07:40 2016 +0100 |
committer | Daniel Stenberg <daniel@haxx.se> | Thu Feb 11 13:57:09 2016 +0100 |
tree | 79e5600c6ac3a23c8f8e8fcb269a1fa22a6fbb44 | |
parent | 0d60964632198b795bc6945776f85f592fd653a6 [diff] |
sftp.c: Send at least one read request before reading This commit ensures that we have sent at least one read request before we try to read data in sftp_read(). Otherwise sftp_read() would return 0 bytes (indicating EOF) if the socket is not ready for writing.