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

Re: Problem with proxy resetting

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Tue, 18 May 1999 16:46:18 -0400
To: www-lib@w3.org
Message-ID: <3741D19A.654329FE@w3.org>
To: olga <olga@goliath.eai.com>

Thanks Olga,

You are right - I have now changed it to check for the status code and
not the pointer of the function:

	http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTProxy.c#rev2.19

Henrik

olga wrote:
> 
> Hi,
> 
> I had problem like if you call HTProxy_deleteAll()
> and then HTProxy_add(..) the documents are not loaded any more
> (if no document were already loaded from the same server).
> The problem is that HTProxy_deleteAll deletes HTAuthFilter and HTProxy_add adds
> it only for HT_NO_PROXY_ACCESS && HT_PROXY_REAUTH. But is the NoProxies are set
> then there will be no after AuthFilter for requests to NoProxy servers. So the
> requests were finishing with -401 and no reauthentication prompt.
> 
> Is removing of HTAuthFilter really needed in HTProxy_delteAll()? I just
> commented this line out and it solved my problem.
> 
> Thanks,
> 
> Olga Antropova.

-- 
Henrik Frystyk Nielsen, <frystyk@w3.org>
World Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA
Received on Tuesday, 18 May 1999 16:46:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:29 GMT