cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Proxy CONNECT aborted

From: Manjushri <manjushb_at_yahoo-inc.com>
Date: Thu, 01 Jul 2010 14:12:41 +0530

I am facing some issues while using php curl library. I am setting
following parameters,

          curl_setopt($c, CURLOPT_HTTPPROXYTUNNEL,1);
          curl_setopt($c, CURLOPT_PROXY, 'http://localhost:8080');
          curl_setopt($c, CURLOPT_PROXYPORT, '8080');
          curl_setopt($c, CURLOPT_PROXYAUTH, CURLAUTH_BASIC);
          curl_setopt($c, CURLOPT_HEADER, 1);
          curl_setopt($c, CURLOPT_TIMEOUT, 5);
          curl_setopt($c, CURLOPT_URL, 'https://xyz:4443/asd/asw' );
          #curl_setopt($c, CURLOPT_POST, 1);
          curl_setopt($c, CURLOPT_POSTFIELDS, $XML_REQUEST);
          curl_setopt($c, CURLOPT_HTTPHEADER, $header);
          curl_setopt($c, CURLOPT_SSL_VERIFYPEER, 0);
          curl_setopt($c, CURLOPT_SSL_VERIFYHOST, 0);
          #curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

I am getting following exception from curl
'Connection issue - 56 : Proxy CONNECT aborted

Please give me some pointers to resolve this.

Thanks,
Manjushri
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-01

These mail archives are generated by hypermail.

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

File upload with ASP.NET