cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Avoding connection re-use when using CURLOPT_HTTPPROXYTUNNEL

From: Jad Chamcham <chamcham007_at_hotmail.com>
Date: Mon, 2 Nov 2009 14:12:08 -0800

I have a question regarding how to avoid the re-use of HTTP connections when using CURLOPT_HTTPPROXYTUNNEL.
Essentially if the app is going through a proxy and uses the CONNECT method for certain requests, how can I avoid subsequent requests (that don't use the CURLOPT_HTTPPROXYTUNNEL flag) from re-using the same connection, which will make the proxy tunnel these requests through to the wrong destination.

What would be the best way to address this.
Please note that I am using the multi interface.

Thanks,
- Jad

                                               

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-02

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET