6c86eafa88a562e0fe2c4bc22b8d6a67eefe9272 1465084 |
|
05-Apr-2013 |
sf |
remove unused variables |
46a4dc3f1dfeb9c4cb76727c56ed0a2230acb7cd 1464674 |
|
04-Apr-2013 |
jailletc36 |
Use apr_file_printf(... "%pm"...) instead of explicit call to apr_strerror
+ add some spaces to improve formatting |
e87ef600cfe7150babdf56efb1c26aba66ef1522 1436401 |
|
21-Jan-2013 |
jorton |
* support/htcacheclean.c (main): Ensure -p was used before attempting
to process URL arguments. |
717473b4288c54ef043f016a4ee801aba477303e 1433001 |
|
14-Jan-2013 |
rjung |
Fix htcacheclean list options "-a" and "-A".
No filetype without APR_FINFO_TYPE. |
5bfaaf573bacb45c1cf290ce85ecc676587e8a64 1174751 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
2c2ced9d18f0b065f620b0ead09ba25e955c3cc7 1102124 |
|
12-May-2011 |
sf |
Use APR_STATUS_IS_... in some more cases.
While this is not strictly necessary everywhere, it makes it much easier
to find the problematic cases. |
4fca72b7b53b5419325e06837c98266148111b52 1098162 |
|
30-Apr-2011 |
trawick |
fix some dead assignments found by the clang analyzer |
51c6a215cedf19fe46a20b5cbb57f01ec4d5e8c4 1040791 |
|
30-Nov-2010 |
fuankg |
Some more casts to make MSVC calm ... |
289a94d4157967ac04dc5c865b94e361400eae0a 1040733 |
|
30-Nov-2010 |
fuankg |
Fixed return type to silent compiler warning. |
15ff8c621815e8337abc10638f2b2853ee6fd076 1037229 |
|
20-Nov-2010 |
minfrin |
mod_disk_cache renamed to mod_cache_disk, to be consistent with the
naming of other modules. |
650ca338f8dbb43e3f93de6fea96e7e3b2fe2dec 1034018 |
|
11-Nov-2010 |
sf |
Remove workaround that was only necessary when htcacheclean included httpd.h |
c07866e582be4daac7f6a0a8754fa12fca044663 1033952 |
|
11-Nov-2010 |
fuankg |
More splitting as suggested by minfrin. |
07ed2f9227b98d2cac21a7121ef7ea5328fa3f98 1033779 |
|
11-Nov-2010 |
fuankg |
Splitted off cache defines/structs used by htcacheclean.
This makes htcacheclean again independent from httpd.h.
Submitted by: NormW <normw gknw net> |
0c27127bdd488ba6e4dd4660ca56f32206bbc9f9 1023939 |
|
18-Oct-2010 |
sf |
Fix compilation of htcacheclean with enable-maintainer-mode / AP_DEBUG |
f58bb3da705eb7ec926f4883597fc2eb1336a360 1022230 |
|
13-Oct-2010 |
minfrin |
htcacheclean: Teach htcacheclean to limit cache size by number of
inodes in addition to size of files. Prevents a cache disk from
running out of space when many small files are cached.
Move the directory delete process to the "purge" section, so that
inode counts are accurate when querying for stats only. |
c840604b10dc1d368a2da321ec51362373d502a3 1004987 |
|
06-Oct-2010 |
minfrin |
Fix a segfault when tmpfiles are encountered while cleaning. |
03ee592beedc99301c3c79838af79a333af47361 1004641 |
|
05-Oct-2010 |
minfrin |
Ensure the correct pool is passed in when listing URLs. |
5876f43a746f688a32b7201bced8591ddf19bd43 1004482 |
|
05-Oct-2010 |
minfrin |
htcacheclean: Allow the listing of valid URLs within the cache, with
the option to list entry metadata such as sizes and times. |
fac37c9794a18c24d187f4e0f97a9476c4344118 1002854 |
|
29-Sep-2010 |
minfrin |
htcacheclean: Allow the option to round up file sizes to a given
block size, improving the accuracy of disk usage. |
9ee5ae3a993134d40e9fb156b44b610ce261875c 1002832 |
|
29-Sep-2010 |
minfrin |
mod_disk_cache: Instead of creating an empty data file when the body is
empty, don't create a file at all, saving inodes. |
af91703d7657e52921bb36c44ff093b2d2077d0c 1002686 |
|
29-Sep-2010 |
minfrin |
htcacheclean: If the cache file format is unrecognised, remove the entry
from the cache. |
6fee4e2faa2e45fe2636d01e35d03c2cf0c9d431 928921 |
|
30-Mar-2010 |
minfrin |
htcacheclean: Introduce the ability to clean specific URLs from the
cache, if provided as an optional parameter on the command line. |
9fe23388f983cb652b5d68e2bd92aa9f0568c574 928223 |
|
27-Mar-2010 |
minfrin |
htcacheclean: Report additional statistics about entries deleted.
PR: 48944
Submitted by: Mark Drayton mark markdrayton.info |
5c345baea74f2eb2d74548bed271370b972499e5 917005 |
|
27-Feb-2010 |
minfrin |
Create the pidfile world readable by adding APR_FPROT_WREAD. Use
non-deprecated versions of the APR constants. |
fc1206972499ab73c4dfded43cef279d8bf01ad9 917002 |
|
27-Feb-2010 |
minfrin |
Try open the pid file twice, once before daemonisation so we can see any
error, and once after daemonisation so the child's pid is logged correctly.
Patch by Jeff Trawick. |
fd47dd8ba67a77aef1af5af8784fefb8f4a5ec38 910756 |
|
17-Feb-2010 |
minfrin |
Make sure the pidfile is deleted on close. |
95dc871e605e3b1b347adbbbdd9a9caede71c38e 910747 |
|
16-Feb-2010 |
minfrin |
Use APR_PID_T_FMT instead of %ld and a cast. |
4dd97ffc9c529494e0ec820fe9de80b39b589d42 910735 |
|
16-Feb-2010 |
minfrin |
Fix the help description. |
5dc4220fc22561537ce1421a03e11846a5b719eb 910705 |
|
16-Feb-2010 |
minfrin |
support/htcacheclean: Teach it how to write a pid file (modelled on
httpd's writing of a pid file) so that it becomes possible to run
more than one instance of htcacheclean on the same machine. |
6850c836b8c7c688ef8a8ec280e798e1d0bfbf01 882269 |
|
19-Nov-2009 |
trawick |
fix or complain about some invalid errno references |
c42b94a839cae93073d33b0d21f0ff1118d958e8 816701 |
|
18-Sep-2009 |
poirier |
Detab. |
4e1b035de81cbd18cfaea3604d40209bc6919bd9 815448 |
|
15-Sep-2009 |
trawick |
simplify reporting of the repeated argument error |
ef20451e98932c1245225b211c7198cb6c0a8624 814779 |
|
14-Sep-2009 |
minfrin |
Move declaration to remove a compiler warning. |
9333012aa2af9e669db651f0ade3e044ccc3ec84 814113 |
|
12-Sep-2009 |
rpluem |
* Detab. |
1018201f5223624476334c6e23aead02db7c4040 814091 |
|
12-Sep-2009 |
minfrin |
htcacheclean: 19 ways to fail, 1 error message. Fixed. |
9de73d09e50d2daa2b0ba263d01cf6bf972a27fd 731535 |
|
05-Jan-2009 |
rpluem |
* The header file is still needed in this case. So prevent it from being
deleted. |
be60e23cacdadb070a83d40086a6d689410acc38 656413 |
|
14-May-2008 |
rpluem |
* Fix style by doing correct indenting |
a059fab04e8584e8bfdcaf1103e2ec6f53f97a14 656401 |
|
14-May-2008 |
pquerna |
Check return value of apr_file_read_full.
Reported By: BOYA SUN <boya.sun case.edu> |
0696197a54f186a65abacba1037f6fbe0cb975a1 557837 |
|
20-Jul-2007 |
niq |
Multiple trivial fixes from Christophe JAILLET
PR 38699, 39518, 42005, 42006, 42007, 42008, 42009
The patches are all his, and are sufficiently trivial to review
at a glance. |
806b50b4d37ade77f1c767a1593fac5a2d7786c8 464638 |
|
16-Oct-2006 |
minfrin |
Add a missing include of apr_buckets.h. [Martin Kraemer] |
842ae4bd224140319ae7feec1872b93dfd491143 420983 |
|
11-Jul-2006 |
fielding |
update license header text |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
e8f95a682820a599fe41b22977010636be5c2717 332306 |
|
10-Nov-2005 |
jim |
No functional Change: Removing trailing whitespace. This also
means that "blank" lines consisting of just spaces or
tabs are now really blank lines |
43c3e6a4b559b76b750c245ee95e2782c15b4296 332305 |
|
10-Nov-2005 |
jim |
No functional change: simple detabbing of indented code. |
15351ab1a34130c1f880daef4e5dc15407a75969 240297 |
|
26-Aug-2005 |
colm |
Allow htcacheclean to deal in gigabytes. |
85fa7868b2734d79c4e27b74d54b6846a1f9176f 239436 |
|
23-Aug-2005 |
colm |
Add APR_FOPEN_BINARY to the options passed to apr for opening the
cache header files. |
355fe82568cec1386bfddc86b1cdf4df0c783a05 239406 |
|
23-Aug-2005 |
asteinmetz |
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. |
baef685fef15fe2853b6b1abe141579ab8fe05ae 239381 |
|
23-Aug-2005 |
colm |
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. |
8974a5b7187f55649d24c12fcf35eb7149adcf98 232218 |
|
12-Aug-2005 |
jorton |
* support/htcacheclean.c (directory_empty): Remove unused function. |
663c339c8a4663cf1977f890481f8b7e251d3221 231351 |
|
11-Aug-2005 |
jerenkrantz |
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 |
13be69a729c912bea7d0aa22596b92717df92551 190537 |
|
14-Jun-2005 |
pquerna |
- 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. |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
07d000c26f08bb7d590da25057748b28b8b59741 111520 |
|
10-Dec-2004 |
jim |
avoid vim autoindent :) |
0ecc05d02d9ee3d110cb9e263080aaa2b77a12f9 111516 |
|
10-Dec-2004 |
jim |
Dangerous assumption, especially if apr_dir_read uses readdir_r.
Be safe. |
487d8b4e063696dd9698792a13c8e426635f1072 105710 |
|
06-Nov-2004 |
nd |
use a smarter way to specify the limit |
a51acf58d9d82f52e0ee56106cd9282030f3f3be 105709 |
|
06-Nov-2004 |
nd |
more native newlines |
2d728410bcf9e6e53698bb035f516e18efd76d8b 105708 |
|
06-Nov-2004 |
nd |
better readability, native newlines, less spam |
7585f3892ce3057554a5bef740302dd479b223b2 105707 |
|
06-Nov-2004 |
nd |
another warning. |
f81f966693feefb53f11dc3363b864779873a608 105706 |
|
06-Nov-2004 |
nd |
avoid compiler warning |
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9 105705 |
|
06-Nov-2004 |
nd |
just style |
9fe74ffcdea85800f04a7222f716f78ae60cce51 105698 |
|
06-Nov-2004 |
jerenkrantz |
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 |