mirror of
https://github.com/curl/curl.git
synced 2026-08-13 09:00:57 +03:00
- Introducing curl_easy_send() and curl_easy_recv(). They can be used to send
and receive data over a connection previously setup with curl_easy_perform() and its CURLOPT_CONNECT_ONLY option. The sendrecv.c example was added to show how they can be used.
This commit is contained in:
parent
d72efff878
commit
514592b892
16 changed files with 454 additions and 36 deletions
|
|
@ -261,6 +261,9 @@ curl_easy_strerror(CURLcode error)
|
|||
case CURLE_SSH:
|
||||
return "Error in the SSH layer";
|
||||
|
||||
case CURLE_AGAIN:
|
||||
return "Socket not ready for send/recv";
|
||||
|
||||
/* error codes not used by current libcurl */
|
||||
case CURLE_OBSOLETE4:
|
||||
case CURLE_OBSOLETE10:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue