W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1999

Re: [Re: HTNet.c]

From: Mikhail Grouchinski <mgrouch@usa.net>
Date: 25 Feb 99 11:31:34 EST
Message-ID: <19990225163134.3418.qmail@nw173.netaddress.usa.net>
To: www-lib@w3.org
>Hmm, I thought the fix below made it in - how is this related to the
>auth problem?

>Sorry for being slow...

>Henrik

In my case the following events happen when I request password
protected document:

1. Netscape server responds with redirection to the same url.
...

2. 	HTNet.c
   unregister_net(net);

3. 
    	/* Call AFTER filters */
	HTNet_executeAfterAll(request, status);

within here libwww requests url again
and creates another net.

4.
        so that within 
        free_net(net);

net <> HTRequest_net(net->request);

and we should not set this new net of the request to NULL (otherwise
we loose pointer to it).

So that the call from within free_net

  HTRequest_setNet(net->request, NULL);

is not needed and causes core dump later.


____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
Received on Thursday, 25 February 1999 11:31:41 GMT

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