cURL / Mailing Lists / curl-library / Single Mail


Re: Re[2]: Working with curl connections as with sockets.

From: Daniel Stenberg <>
Date: Tue, 29 Apr 2008 13:56:25 +0200 (CEST)

On Tue, 29 Apr 2008, tetetest tetetest wrote:

> I have attached the patch that adds curl_easy_send() and curl_easy_recv()
> functions to easy interface.

That's a great start! A few nits on the code that Michal didn't adress:

1 - lack of docs (man pages)

2 - I think the functions should better rely on a previous CONNECT_ONLY call
     and return an error if that hasn't been the case. These funtions risk
     being able to attempt to do things even if that is not the case and the
     resulting havoc will be weird and cause much confusion.

  Commercial curl and libcurl Technical Support:
Received on 2008-04-29