Thanks for the info Oleg. I've done a little more reading and from what I
understand JigSaw from W3C will support chunking when configured as a proxy
server. So far Squid proxy doesn't look too promising. There are a few posts
about supporting Transfer-Encoding in future releases but nothing about it
working right now.

Course you can't always believe what you read so I guess it's time to start
testing :-).

Bruce. 

-----Original Message-----
From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 11:38 AM
To: Commons HttpClient Project
Subject: Re: Chunked upload through SunONE proxy server


Bruce,
Chunk encoding is a feature introduced in the version 1.1 of the HTTP
specification. Older HTTP/1.0 proxies _may_ have various issues with
chunk-encoded content. 

If iPlanet proxy is not HTTP/1.1 compliant, there's not much you can do.
I doubt that any special headers are required besides Transfer-Encoding
if the proxy is HTTP/1.1 compliant.

I believe Squid proxy, even though not being fully HTTP/1.1 compliant,
can handle chunk-encoded content. Please refer to the Squid resources
for a more definitive answer, though.

Oleg


On Tue, 2004-03-09 at 16:23, Bruce McHaffie wrote:
> Hi, I'm using httpclient to do large file uploads. It works just fine
> through a direct connection to the LAN but when I go through iPlanet Web
> Proxy Server (3.6) the POST is forwarded to the target host with no body.
So
> the message inbound to the web server (outbound from the proxy server) is:
> 
> POST /fileupload/chunkyserver HTTP/1.1
> User-Agent: Jakarta Commons-HttpClient/2.0rc3
> Host: apollo.est.com
> Transfer-Encoding: chunked
> Forwarded: by http://bmchaff.est.com:8082 (iPlanet-Web-Proxy-Server/3.6)
> 
> 
> ...so I tried SunONE Web Proxy server 3.6 SP4, which is supposed to have
> support for Transfer-Encoding="chunked". But it chokes on the chunked
post.
> The error message is:
> 
> "[08/Mar/2004:15:42:18] info: Unable to launch the thread... Exception
Code:
> -1073741819"
> 
> For non-chunked POSTS and for GETS everything is fine. Is there something
I
> have to set in the header to make it work or am I just wasting my time
> trying to do chunking through proxies? Anyone know of proxies that
> definitely support Transfer-Encoding="chunked" for upload?
> 
> 
> Bruce.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to