cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1812190 ] libcurl can use wrong connection, when using https

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 12 Oct 2007 04:45:49 -0700

Bugs item #1812190, was opened at 2007-10-12 17:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1812190&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mikhail (gibigaba)
Assigned to: Daniel Stenberg (bagder)
Summary: libcurl can use wrong connection, when using https

Initial Comment:
libcurl in some cases use wrong connection, when connected to different https servers(or one server and different ports) via same proxy.

following changes to url.c can fix the problem:

C:\...\home\Mikhail\inst\curl-7.17.0-hacked\lib>diff ..\..\curl-7.17.0\lib\url.c url.c
2219,2223c2219
< if(!needle->bits.httpproxy || needle->protocol&PROT_SSL ||
< (needle->bits.httpproxy && check->bits.httpproxy &&
< needle->bits.tunnel_proxy && check->bits.tunnel_proxy &&
< strequal(needle->proxy.name, check->proxy.name) &&
< (needle->port == check->port))) {

---
>     if(!needle->bits.httpproxy || needle->protocol&PROT_SSL) {
----------------------------------------------------------------------
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1812190&group_id=976
Received on 2007-10-12

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET