curl-library
Re: Passing raw data through a proxy
Date: Mon, 16 Jan 2006 18:16:55 +0900
On 1/16/06, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Mon, 16 Jan 2006, Allen Chan wrote:
> I'm not sure what you're asking.
>
> The lib/url.c:Curl_done() function gets called when a single request has
> completed. In there you also see that the connection is sometimes closed and
> the connectdata struct is killed at this time.
>
> In that function you could simply store a pointer (most likely in the struct
> UrlState part of the SessionHandle struct) to the connectdata struct if the
> connection is still alive, or set it to NULL if not and then rely on that
> pointer to hold the truth when you extract the socket later...
>
> Also, as I forgot in my last response, please update the documentation
> accordingly for your new features. Edit the nroff files (with a .3 extension)
> and include the changes in your patch. Just follow the syntax already used and
> you should have no trouble.
Okay, thanks Daniel, I understand, I'll get right on it.
Allen
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>
Received on 2006-01-16