W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2001

https over proxy patch (revisited)

From: <andrew.d.falk@accenture.com>
Date: Thu, 7 Jun 2001 16:00:39 -0400 (EDT)
To: www-lib@w3.org
Message-ID: <OF9D1A339A.6EC6E9D3-ON86256A64.00677435@accenture.com>

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

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.


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:54 UTC