mirror of https://github.com/moparisthebest/curl
clear the sockerror if no error was returned
This commit is contained in:
parent
253f5f1a9a
commit
9eb6fc1fb6
|
@ -428,6 +428,8 @@ int Curl_read(struct connectdata *conn,
|
|||
#endif
|
||||
return -1;
|
||||
}
|
||||
else
|
||||
conn->sockerror = 0; /* no error */
|
||||
|
||||
#ifdef USE_SSLEAY
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue