|
|
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 08:36:17 -0700
Bugs item #1812190, was opened at 2007-10-12 17:45
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
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
--- > if(!needle->bits.httpproxy || needle->protocol&PROT_SSL) { ---------------------------------------------------------------------- >Comment By: Mikhail (gibigaba) Date: 2007-10-12 21:36 Message: Logged In: YES user_id=1671616 Originator: YES sure --- ..\..\curl-7.17.0\lib\url.c 2007-10-12 17:34:23.312500000 +0600 +++ url.c 2007-09-03 03:53:15.000000000 +0600 @@ -2216,11 +2216,7 @@ /* don't do mixed SSL and non-SSL connections */ continue; - 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) { /* The requested connection does not use a HTTP proxy or it uses SSL. */ ---------------------------------------------------------------------- Comment By: Daniel Stenberg (bagder) Date: 2007-10-12 17:51 Message: Logged In: YES user_id=1110 Originator: NO Can you please provide the patch done with diff -u ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1812190&group_id=976Received on 2007-10-12 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info