cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: proxy authentication

From: Jani Kajala <jani_at_kajala.com>
Date: Tue, 29 Dec 2009 17:09:35 +0700

If nothing else works: Launch a second thread before the call causing the
window to appear, find out the popup window handle and click OK procedurally
(send the window message).

Br,
Jani

On Mon, Dec 28, 2009 at 10:46 PM, Zoltan Bencik <zoltan.bencik_at_gmail.com>wrote:

> Hello,
>
> Is there any way to disable pop up of Windows proxy authentication dialog
> using libcurl?
>
> Even though I set all needed information for HTTP proxy authentication, I
> get this window anyways.
> The options used for proxy authentication are the following:
>
> curl_easy_setopt(http_handle, CURLOPT_PROXYPORT, proxy_port);
> curl_easy_setopt(http_handle, CURLOPT_PROXY, "proxy_host");
> curl_easy_setopt(http_handle, CURLOPT_PROXYUSERNAME, "user");
> curl_easy_setopt(http_handle, CURLOPT_PROXYPASSWORD, "pass");
>
> easy_perform completes successfully even if I choose "Cancel" button when
> window pops up.
> What's the need of this window then?
>
> --
> Best regards,
> -zoltan.
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

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