Commit 97adb7e9 authored by Justin Erenkrantz's avatar Justin Erenkrantz
Browse files

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
parent c0927398
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev
  [Remove entries to the current 2.0 section below, when backported]
  *) Add htcacheclean to support/ for assistance with mod_disk_cache.
     [Andreas Steinmetz]
  *) mod_authnz_ldap: Added the directive "Requires ldap-filter" that
     allows the module to authorize a user based on a complex LDAP
     search filter.
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ rotatelogs
htpasswd
htdbm
htdigest
htcacheclean
unescape
inc2shtml
httpd_monitor
+4 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ DISTCLEAN_TARGETS = apxs apachectl dbmmanage log_server_status \

CLEAN_TARGETS = suexec

PROGRAMS = htpasswd htdigest rotatelogs logresolve ab checkgid htdbm
PROGRAMS = htpasswd htdigest rotatelogs logresolve ab checkgid htdbm htcacheclean
TARGETS  = $(PROGRAMS)

PROGRAM_LDADD        = $(UTIL_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS) $(AP_LIBS)
@@ -62,3 +62,6 @@ suexec_OBJECTS = suexec.lo
suexec: $(suexec_OBJECTS)
	$(LINK) $(suexec_OBJECTS)

htcacheclean_OBJECTS = htcacheclean.lo
htcacheclean: $(htcacheclean_OBJECTS)
	$(LINK) $(htcacheclean_LTFLAGS) $(htcacheclean_OBJECTS) $(PROGRAM_LDADD)

support/htcacheclean.c

0 → 100644
+1013 −0

File added.

Preview size limit exceeded, changes collapsed.