W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1999

Re: BUG (!?) in HTTPFrame: Non-existing files are not removed...

From: Yves Lafon <ylafon@w3.org>
Date: Mon, 11 Oct 1999 21:38:07 +0200 (MET DST)
To: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
cc: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.10.9910112133190.24873-100000@tarantula.inria.fr>
On Sun, 10 Oct 1999, Roland Mainz wrote:

> 
> Hi !
> 
> ----
> 
> Yesterday I digged out a problem with jigsaw:
> It seems that directory listings contains file (resources) which have
> been removed long-long ago, wasting the database.
> 
> I wrote a small fix in HTTPFrame.java's getDirectoryListing(Request);
> which removes non-existing file resources (removing other resources may
> be tricky - servlets for example may exists only as a "virtual"
> HTTP name and not on disk at that location...).
> Better would be to find a genernal way of automatic cleanup (which
> should be enabled as default). The following solution only keeps the
> directory listing clean&&valid:

Accessing to the deleted resource will automatically remove them, but
doing this here is also valid as it cleans the store along with displaying
only valid information to the user.
I added your patch, but it won't appear today in the cvs base, as the
network is down :(
Thanks!

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Tuesday, 12 October 1999 03:04:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:33 GMT