Properly return an error code in curl_easy_recv (reported by Jim Freeman).
This commit is contained in:
parent
41f76801eb
commit
18e1bee8d5
3
CHANGES
3
CHANGES
@ -6,6 +6,9 @@
|
|||||||
|
|
||||||
Changelog
|
Changelog
|
||||||
|
|
||||||
|
Daniel Fandrich (31 Mar 2009)
|
||||||
|
- Properly return an error code in curl_easy_recv (reported by Jim Freeman).
|
||||||
|
|
||||||
Daniel Stenberg (18 Mar 2009)
|
Daniel Stenberg (18 Mar 2009)
|
||||||
- Kamil Dudka brought a patch that enables 6 additional crypto algorithms when
|
- Kamil Dudka brought a patch that enables 6 additional crypto algorithms when
|
||||||
NSS is used. These ciphers were added in NSS 3.4 and require to be enabled
|
NSS is used. These ciphers were added in NSS 3.4 and require to be enabled
|
||||||
|
@ -1095,8 +1095,8 @@ CURLcode curl_easy_recv(CURL *curl, void *buffer, size_t buflen, size_t *n)
|
|||||||
if(ret1 == -1)
|
if(ret1 == -1)
|
||||||
return CURLE_AGAIN;
|
return CURLE_AGAIN;
|
||||||
|
|
||||||
if(n1 == -1)
|
if(ret1 != CURLE_OK)
|
||||||
return CURLE_RECV_ERROR;
|
return ret1;
|
||||||
|
|
||||||
*n = (size_t)n1;
|
*n = (size_t)n1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user