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

Re: Infinite Loop...

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Wed, 07 Feb 1996 11:36:37 -0500
Message-Id: <9602071636.AA14952@www20>
To: Maciej Puzio <puzio@zodiac1.mimuw.edu.pl>
Cc: "'fiorenti@cli.di.unipi.it'" <fiorenti@cli.di.unipi.it>, "'WWW Library Mailing List'" <www-lib@w3.org>
Maciej Puzio writes:

> In the line (1) a new "ftp:" anchor is created. The problem is that this anchor isn't 
> assigned to the request. This causes infinite recursion, because HTLoad is called
> with the unmodified request (see line (3)) and this call finally lands in HTLoadFile 
> To correct this I added the following line after a line (2):
>                 HTRequest_setAnchor(request, anchor);

Oups - sorry about that. This is what you get when you're trying to be too 
smart :-(


Henrik Frystyk Nielsen, <frystyk@w3.org>
World-Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA
Received on Wednesday, 7 February 1996 11:38:17 UTC

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