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

Re: HTRequest_setProxy

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Thu, 24 Jun 1999 10:54:04 -0400
Message-Id: <>
To: Mikhail Grouchinski <mgrouch@earthlink.net>, www-lib@w3.org
At 19:43 23/06/1999 -0400, Mikhail Grouchinski wrote:
>I'm trying to use HTRequest_setProxy. My network doesn't have DNS
>The requests terminate with status 906 - 'host not found'. The trace log
>that libwww is trying to resolve host name and calls gethostbyname for
>host specified in the request URL. It shouldn't do this since I specify
>the proxy using IP address
>and the IP address of the host in URL will be resolved by proxy.
>Everithing worked fine when I used HTProxy_add. Is it possible that
>LibWWW logic
>for per request basis proxies is wrong?

In the Host manager:


it should look for the proxy in HTHost_newWParse() and loop that up instead
of the original host. One problem may be that you should also set the
HTRequest_setFullURI() to YES - this is currently done in the proxy before
filter in


Can you see what happens there?

Henrik Frystyk Nielsen,
World Wide Web Consortium
Received on Thursday, 24 June 1999 10:58:15 UTC

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