https over proxy patch (revisited)

Hi,

This patch just doesn't work for me.  I've patched the code, I edited the
makefile, and successfully got the library to compile.  It works fine with
a regular http request , but not at all with a https request.  The only way
I can connect to the Internet is through a proxy, so I know it's not
working.  All I thought I needed to do was add to line like this:

HTProxy_add("http", "http://proxy:80)

What it does is it tries to make a direct connect to the Internet and times
out because that's impossible.  It suppose to make a tunnel through the
proxy and act like a direct connect but this never happens.  I did a snoop
and it never once talked to the proxy server.

If I try this (adding an 's'):

HTProxy_add("https", "http://proxy:80)

It seems to talk to the proxy, but it get stuck in a loop.  The same
problem everyone else had.

I see that in HTFilter.c it check to see if the destination is "https", and
it then does a HTProxy_find(url).  This always returns NULL because no
proxy was defined for the HTTPS protocol.  So, I always get the printout "
++++++++  HTProxyFilter - NO PROXY FOUND..."  I tried hard coding in the
proxy at that point in the code, but it ends up going in that endless loop
again.

I liked to know if anyone got this work and are positive it used the proxy.
It might have completely by-passed the proxy giving the illusion that it
made a tunnel through it.  The only way to test this is to do a snoop or go
to an environment that is completely behind a proxy.

Any suggestion or help would be greatly appreciated.

Thanks,

Andrew Falk

Received on Friday, 8 June 2001 03:30:26 UTC