cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_getinfo for getting the Last Socket SSLHandle

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 13 Jul 2006 21:11:12 +0200 (CEST)

On Thu, 13 Jul 2006, Ratna Gudlavalleti wrote:

> The other alternative I was looking was external API for the following 2
> functions
>
> int Curl_read(struct connectdata *conn, curl_socket_t sockfd, char *buf,
> size_t buffersize, ssize_t *n);

> CURLcode Curl_write(struct connectdata *conn, curl_socket_t sockfd, void
> *mem, size_t len, ssize_t *written);

If you want these, then I think you're drifting away from what I think libcurl
is there to do.

> But these functions need the connectdata struct, this means
> curl_easy_getinfo API for getting the CURLINFO_LASTCONNECTDATA will be help
> full

I don't think that is the right way to go.

Can you tell us a bit more about what use-case you see for this and try to
explain to us the greatness you could do if we enabled this?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-07-13