curl_easy_recv: Improve documentation and example program

Follow-up to 82245ea: Fix the example program sendrecv.c (handle
CURLE_AGAIN, handle incomplete send). Improve the documentation
for curl_easy_recv() and curl_easy_send().

Reviewed-by: Frank Meier
Assisted-by: Jay Satiro

See https://github.com/curl/curl/pull/1134
This commit is contained in:
Michael Kaufmann 2016-12-18 12:51:48 +01:00
parent 82245eaa56
commit afff64dbcd
6 changed files with 98 additions and 59 deletions

View file

@ -8,7 +8,7 @@ HTTP GET
<reply>
<data>
HTTP/1.1 200 OK
HTTP/1.1 200 OK swsclose
Server: test-server/fake
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
Content-Length: 6