ben 96/03/30 10:19:49
Modified: src mod_proxy.c
Log:
Get count of files right when we unlink a directory.
Revision Changes Path
1.13 +6 -0 apache/src/mod_proxy.c
Index: mod_proxy.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_proxy.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C3 -r1.12 -r1.13
*** mod_proxy.c 1996/03/30 15:38:41 1.12
--- mod_proxy.c 1996/03/30 18:19:47 1.13
***************
*** 53,58 ****
--- 53,60 ----
/*
Note that the Explain() stuff is not yet complete.
Also note numerous FIXMEs and CHECKMEs which should be eliminated.
+ If TESTING is set, then grabage collection doesn't delete ... probably a
good
+ idea when hacking.
This code is still experimental!
***************
*** 63,68 ****
--- 65,73 ----
2. Check the logic thoroughly.
+ 3. Empty directories are only removed the next time round (but this does
avoid
+ two passes). Consider doing them the first time round.
+
Ben Laurie <[EMAIL PROTECTED]> 30 Mar 96
*/
***************
*** 1431,1436 ****
--- 1436,1442 ----
#else
rmdir(newcachedir);
#endif
+ --nfiles;
}
continue;
}