1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-05 05:30:39 +03:00
Commit Graph

31 Commits

Author SHA1 Message Date
Daniel Earl Poirier
ccad0563f8 Detab.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@816701 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 16:26:55 +00:00
Jeff Trawick
880de39ad7 simplify reporting of the repeated argument error
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@815448 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 18:59:52 +00:00
Graham Leggett
ba3cb779ab Move declaration to remove a compiler warning.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@814779 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 19:06:36 +00:00
Ruediger Pluem
4c92520eb6 * Detab.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@814113 13f79535-47bb-0310-9956-ffa450edef68
2009-09-12 07:57:59 +00:00
Graham Leggett
044592bfa1 htcacheclean: 19 ways to fail, 1 error message. Fixed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@814091 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 23:57:48 +00:00
Ruediger Pluem
24715bae60 * The header file is still needed in this case. So prevent it from being
deleted.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@731535 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 11:52:05 +00:00
Ruediger Pluem
924cc6d6f3 * Fix style by doing correct indenting
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@656413 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 20:26:35 +00:00
Paul Querna
590c6ee637 Check return value of apr_file_read_full.
Reported By: BOYA SUN <boya.sun case.edu>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@656401 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 20:14:29 +00:00
Nick Kew
e5061abc93 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.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@557837 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 01:26:55 +00:00
Graham Leggett
4fdaeae371 Add a missing include of apr_buckets.h. [Martin Kraemer]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@464638 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 19:40:32 +00:00
Roy T. Fielding
de659cbed0 update license header text
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420983 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 20:33:53 +00:00
Colm MacCarthaigh
dd95d7c37c Update the copyright year in all .c, .h and .xml files
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 12:11:27 +00:00
Jim Jagielski
5061d9fa92 No functional Change: Removing trailing whitespace. This also
means that "blank" lines consisting of just spaces or
tabs are now really blank lines


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332306 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 15:11:44 +00:00
Jim Jagielski
5d2fae4818 No functional change: simple detabbing of indented code.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332305 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 15:05:51 +00:00
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