cURL / Mailing Lists / curl-library / Single Mail

curl-library

proxy

From: Ramprakash Jelari thinakaran <jelari_at_gmail.com>
Date: Thu, 3 Apr 2008 13:08:30 +0530

Hi all,

Have configured a proxy setting in my local machine. when i do POST data to
the server through local proxy, everything works fine.
But If i do configure the same proxy setting in other machine, if i do POST
data, It is not working.
In VERBOSE mode,

*About to connect() to proxy 128.222.85.30 port 8085 (#0)
Trying 128.222.85.30...*

It just hangs with the previous message!

If you guys let me know in which angle do i have to look at this issue?.. Or
is it a problem with PROXY setting?..
I can't determine if it is a proxy setting issue, as it works fine in the
local machine!

[ Remote machine is reachable only ]

PROXY SETTING:
------------------------

curl_easy_setopt(curl, CURLOPT_HTTPPROXYTUNNEL, TRUE);

curl_easy_setopt(curl, CURLOPT_PROXY, "128.222.85.30");

curl_easy_setopt(curl, CURLOPT_PROXYPORT, 8085);

curl_easy_setopt(curl, CURLOPT_PROXYUSERPWD, "temp:temp123");

curl_easy_setopt(curl, CURLOPT_PROXYAUTH,

CURLAUTH_NTLM | CURLAUTH_DIGEST | CURLAUTH_BASIC );

curl_multi_add_handle(handler, curl);

-- 
Regards,
Ramprakash Jelari.
Received on 2008-04-03