Re: Problem with proxy resetting

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 UTC