Colm MacCarthaigh
42377545e2
Allow htcacheclean to deal in gigabytes.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240297 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 17:54:18 +00:00
Colm MacCarthaigh
275c89cda8
Add APR_FOPEN_BINARY to the options passed to apr for opening the
...
cache header files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239436 13f79535-47bb-0310-9956-ffa450edef68
2005-08-23 17:03:01 +00:00
Andreas Steinmetz
59a68232cc
Split mod_disk_cache.c into mod_disk_cache.c and mod_disk_cache.h
...
to allow inclusion of mod_disk_cache.h in htcacheclean.c.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239406 13f79535-47bb-0310-9956-ffa450edef68
2005-08-23 13:35:00 +00:00
Colm MacCarthaigh
7482daa131
Update htcacheclean defines to match mod_disk_cache.c, Andreas is working on
...
mod_disk_cache.h, an all-round better solution, but for now just fix the
bug.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239381 13f79535-47bb-0310-9956-ffa450edef68
2005-08-23 09:25:31 +00:00
Joe Orton
1e9e5a69cb
* support/htcacheclean.c (directory_empty): Remove unused function.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@232218 13f79535-47bb-0310-9956-ffa450edef68
2005-08-12 06:38:01 +00:00
Justin Erenkrantz
c5db9990f3
Add -t option to htcacheclean to clean out empty directories.
...
* support/htcacheclean.c: Implement -t option.
* docs/man/htcacheclean.8, docs/manual/programs/htcacheclean.html.en,
docs/manual/programs/htcacheclean.xml: Document -t option.
Justin did some minor tweaks as he agrees with Andreas and Rudiger that
apr_dir_remove should return an error if the directory isn't empty; hence,
remove the apr_dir_read calls.
Submitted by: Colm MacCarthaigh
Reviewed by: Justin Erenkrantz, Andreas Steinmetz, Rudiger Pluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231351 13f79535-47bb-0310-9956-ffa450edef68
2005-08-10 23:14:57 +00:00
Paul Querna
03bf1c3436
- Bring htcacheclean into sync with mod_disk_cache. It now has a very basic understanding of the Varied Headers file format, and will cleanup orphaned data files, or Vary Header Files that have expired.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@190537 13f79535-47bb-0310-9956-ffa450edef68
2005-06-14 00:27:01 +00:00
Justin Erenkrantz
905cdf9f0b
Update copyright year to 2005 and standardize on current copyright owner line.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 20:28:49 +00:00
Jim Jagielski
bfb4758bf3
avoid vim autoindent :)
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111520 13f79535-47bb-0310-9956-ffa450edef68
2004-12-10 16:49:16 +00:00
Jim Jagielski
07e0b89c3b
Dangerous assumption, especially if apr_dir_read uses readdir_r.
...
Be safe.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111516 13f79535-47bb-0310-9956-ffa450edef68
2004-12-10 15:54:17 +00:00
André Malo
c807bcffe9
use a smarter way to specify the limit
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105710 13f79535-47bb-0310-9956-ffa450edef68
2004-11-06 22:41:54 +00:00
André Malo
ac60309d4b
more native newlines
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105709 13f79535-47bb-0310-9956-ffa450edef68
2004-11-06 21:49:31 +00:00
André Malo
7ef8799611
better readability, native newlines, less spam
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105708 13f79535-47bb-0310-9956-ffa450edef68
2004-11-06 21:38:24 +00:00
André Malo
6c3e96a5af
another warning.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105707 13f79535-47bb-0310-9956-ffa450edef68
2004-11-06 20:48:13 +00:00
André Malo
f57b382e20
avoid compiler warning
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105706 13f79535-47bb-0310-9956-ffa450edef68
2004-11-06 19:41:55 +00:00
André Malo
311cc11eb9
just style
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105705 13f79535-47bb-0310-9956-ffa450edef68
2004-11-06 19:29:31 +00:00
Justin Erenkrantz
5311975557
Add htcacheclean to function as cleanup utility (daemonizable) for
...
mod_disk_cache.
(Justin did a whole bunch of style tweaks, and some minor functionality tweaks
to get it to function on Solaris.)
Submitted by: Andreas Steinmetz
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105698 13f79535-47bb-0310-9956-ffa450edef68
2004-11-06 07:45:21 +00:00