mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:03:52 +03:00
add TODO note
This commit is contained in:
parent
69f7d0a0ce
commit
01926d66d7
1 changed files with 2 additions and 0 deletions
|
|
@ -513,6 +513,8 @@ int Curl_read(struct connectdata *conn, /* connection data */
|
|||
#ifdef USE_LIBSSH2
|
||||
else if (conn->protocol & PROT_SCP) {
|
||||
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 */
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue