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

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 UTC