add TODO note
This commit is contained in:
parent
69f7d0a0ce
commit
01926d66d7
@ -513,6 +513,8 @@ int Curl_read(struct connectdata *conn, /* connection data */
|
|||||||
#ifdef USE_LIBSSH2
|
#ifdef USE_LIBSSH2
|
||||||
else if (conn->protocol & PROT_SCP) {
|
else if (conn->protocol & PROT_SCP) {
|
||||||
nread = Curl_scp_recv(conn, num, conn->master_buffer, bytesfromsocket);
|
nread = Curl_scp_recv(conn, num, conn->master_buffer, bytesfromsocket);
|
||||||
|
/* TODO: return CURLE_OK also for nread <= 0
|
||||||
|
read failures and timeouts ? */
|
||||||
}
|
}
|
||||||
#endif /* !USE_LIBSSH2 */
|
#endif /* !USE_LIBSSH2 */
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user