cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problems with Proxy use

From: Dan Aldridge <aldridge.dan_at_gmail.com>
Date: Thu, 6 Apr 2006 10:26:37 +0100

I am very new to the curl program, But found its great.
I have an issue with proxy's which i hope i can be pointed in the right
direction.

I use the following command at work using transparent proxy's and the
data is uploaded and processed correctly (and it generates and sends a html
file back to me. ).

curl -F mdsData=@ukblx082.mup -F sendfile="Upload file"
http://www.foo.com/webapp/set2/mds/mds

I then issue the same command but go via a proxy (on a customer network) to
get to the same website it uploads the file and then hangs :-

curl -F mdsData=@ukblx082.mup -F sendfile="Upload file"
http://www.foo.com/webapp/set2/mds/mds -x http://proxy.proxy.foo.net:8080 -v

I then get the following (using -v)

* About to connect() to proxy proxy.proxy.foo.net port 8080
* Trying 999.999.999.220... connected
* Connected to proxy.proxy.foo.net (999.999.999.220) port 8080
> POST http://www.foo.com/webapp/set2/mds/mds HTTP/1.1
> User-Agent: curl/7.15.1 (powerpc-ibm-aix5.3.0.0) libcurl/7.15.1
> Host: www.foo.com
> Pragma: no-cache
> Accept: */*
> Proxy-Connection: Keep-Alive
> Content-Length: 16464
> Expect: 100-continue
> Content-Type: multipart/form-data;
boundary=----------------------------6a287b364154
>
< HTTP/1.1 100 Continue
< Via: HTTP/1.1 proxy.proxy.net.net (IBM-PROXY-WTE), 1.1 UKBLISA001

It just then hangs and does not give me anymore info.
Received on 2006-04-06