curl-library
RE: Invalid proxy settings
Date: Mon, 13 Feb 2012 17:27:19 +0530
Hi Daniel,
>Yes, right. I was being stupid - setopt() basically only copies the string and
>does no parsing whatsoever. I could repeat your problem and I've now pushed a
>fix for this with an associated test case (1329). Thanks for reporting!
Thanks for consideration.
Could you please explain the provided fix & which different invalid proxy settings
are covered/considered in the LibCurl.
Thanks & regards,
Chandrakant
>-----Original Message-----
>From: curl-library-bounces_at_cool.haxx.se [mailto:curl-library-
>bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
>Sent: 10 February 2012 21:35
>To: libcurl development
>Subject: RE: Invalid proxy settings
>
>On Tue, 7 Feb 2012, Chandrakant Bagul -ERS, HCL Tech wrote:
>
>>> I believe this is because if libcurl fails to parse/accept the proxy string
>>> it won't get set and then it runs without proxy. I think that is the
>>> correct behavior, but you should of course get an error code back when you
>>> used setopt() to set that proxy. Did you?
>>
>> We didn't get any error when setopt() is used to set the invalid proxy, it
>> always returns CURLE_OK.
>
>Yes, right. I was being stupid - setopt() basically only copies the string and
>does no parsing whatsoever. I could repeat your problem and I've now pushed a
>fix for this with an associated test case (1329). Thanks for reporting!
>
>--
>
> / daniel.haxx.se
>-------------------------------------------------------------------
>List admin: http://cool.haxx.se/list/listinfo/curl-library
>Etiquette: http://curl.haxx.se/mail/etiquette.html
::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-02-13