HTTPS via Proxy
A tool for web developpers, to get rid of HTML upload limitation
Brought to you by:
etienne_sf
I have issue that cannot upload https with proxy and follows exception.
HttpProtocolFinderThread wjhk.jupload2.exception.JUploadIOException: Unable to open socket
I looked follows code at HttpConnect#connect(). I think this comment is correct but this code will create direct SSL connection to HTTPS server.
if (useProxy) { if (proxy.type() == Proxy.Type.HTTP) { // First establish a CONNECT, then do a normal SSL // thru that connection. this.uploadPolicy.displayDebug( "Using SSL socket, via HTTP proxy", 20); ret = (Socket) context.getSocketFactory().createSocket( url.getHost(), port);
I make https via proxy patch. chek it please.
Anonymous
Hi,
I commited your patch in SVN rev 1389. I didn't test it, as I currently have no https server outside my proxy, to test it.
But, from the code diff, I guess it can only work better ... ;-)
Thanks
Etienne
Thank you for your response. This patch is working in most situations.
But sometimes failure at http responce handling. please apply this patch(jupload-https_via_proxy_2nd.patch).
Thank you.
Was fixed a long time ago