ssl tunnel through proxy and content-length
When I use jdk1.4.0 and get to openConnection(),
should the 'CONNECT server:443 HTTP/1.1' be sent
with a 'Content-Length:' of
o Whatever I had set with setRequestProperty
o 0 (zero)
o or not sent at all?
I suspect (via linux strace) that the JDK is going for the first
option, but I know of at least one proxy server which will actually
wait for that much content to follow, even though it's part of the
HTTPS request and not part of the tunneling conversation.
I think this is either a bug in the JDK, or a bug in the proxy server,
and would appreciate any thoughts on this.
Regards,
Billy.

