summaryrefslogtreecommitdiffstats
path: root/support (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Some more casts to make MSVC calm ...Guenter Knauf2010-11-301-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1040791 13f79535-47bb-0310-9956-ffa450edef68
* Fixed return type to silent compiler warning.Guenter Knauf2010-11-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1040733 13f79535-47bb-0310-9956-ffa450edef68
* Further trivial updates mod_disk_cache -> mod_cache_disk.Rainer Jung2010-11-261-1/+1
| | | | | | | No functional change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1039300 13f79535-47bb-0310-9956-ffa450edef68
* mod_disk_cache renamed to mod_cache_disk, to be consistent with theGraham Leggett2010-11-201-1/+1
| | | | | | | naming of other modules. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1037229 13f79535-47bb-0310-9956-ffa450edef68
* Remove workaround that was only necessary when htcacheclean included httpd.hStefan Fritsch2010-11-111-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1034018 13f79535-47bb-0310-9956-ffa450edef68
* More splitting as suggested by minfrin.Guenter Knauf2010-11-111-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1033952 13f79535-47bb-0310-9956-ffa450edef68
* Splitted off cache defines/structs used by htcacheclean.Guenter Knauf2010-11-111-1/+1
| | | | | | | | This makes htcacheclean again independent from httpd.h. Submitted by: NormW <normw gknw net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1033779 13f79535-47bb-0310-9956-ffa450edef68
* Another NetWare makefile cleanup.Guenter Knauf2010-10-241-10/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1026810 13f79535-47bb-0310-9956-ffa450edef68
* With rotatelogs -v, on platforms where APR_FINFO_NAME is not implemented,Daniel Earl Poirier2010-10-191-2/+7
| | | | | | | | | the verbose printf for closing the file never occurred because apr_file_info_get() always returned APR_INCOMPLETE. Fix that so we still get a printf with the information we get back. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1024359 13f79535-47bb-0310-9956-ffa450edef68
* Fix compilation of htcacheclean with enable-maintainer-mode / AP_DEBUGStefan Fritsch2010-10-181-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1023939 13f79535-47bb-0310-9956-ffa450edef68
* htcacheclean: Teach htcacheclean to limit cache size by number ofGraham Leggett2010-10-131-72/+217
| | | | | | | | | | | 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1022230 13f79535-47bb-0310-9956-ffa450edef68
* Fix a segfault when tmpfiles are encountered while cleaning.Graham Leggett2010-10-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1004987 13f79535-47bb-0310-9956-ffa450edef68
* Renamed optarg -> opt_arg to avoid name clashes with system-own optarg;Guenter Knauf2010-10-064-46/+43
| | | | | | | removed leftover from IDE build times. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1004962 13f79535-47bb-0310-9956-ffa450edef68
* Ensure the correct pool is passed in when listing URLs.Graham Leggett2010-10-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1004641 13f79535-47bb-0310-9956-ffa450edef68
* htcacheclean: Allow the listing of valid URLs within the cache, withGraham Leggett2010-10-051-4/+225
| | | | | | | the option to list entry metadata such as sizes and times. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1004482 13f79535-47bb-0310-9956-ffa450edef68
* htcacheclean: Allow the option to round up file sizes to a givenGraham Leggett2010-09-291-15/+48
| | | | | | | block size, improving the accuracy of disk usage. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1002854 13f79535-47bb-0310-9956-ffa450edef68
* mod_disk_cache: Instead of creating an empty data file when the body isGraham Leggett2010-09-291-1/+38
| | | | | | | empty, don't create a file at all, saving inodes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1002832 13f79535-47bb-0310-9956-ffa450edef68
* htcacheclean: If the cache file format is unrecognised, remove the entryGraham Leggett2010-09-291-0/+6
| | | | | | | from the cache. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1002686 13f79535-47bb-0310-9956-ffa450edef68
* simplify walking through array of returned apr_pollfd_tJeff Trawick2010-09-191-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@998729 13f79535-47bb-0310-9956-ffa450edef68
* fix one error message, eliminate another that will neverJeff Trawick2010-09-191-5/+1
| | | | | | | be issued (since !n occurs when status != APR_SUCCESS) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@998726 13f79535-47bb-0310-9956-ffa450edef68
* Support large log files in suexecStefan Fritsch2010-08-221-0/+4
| | | | | | | PR: 45856 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@987861 13f79535-47bb-0310-9956-ffa450edef68
* Fortify falsely complained that the sprintf() result was unbounded.Jeff Trawick2010-08-201-2/+2
| | | | | | | | We may as well use apr_snprintf() though, as well as comment on the available space for "::\0" (for people like me). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@987498 13f79535-47bb-0310-9956-ffa450edef68
* Fix usage output.Stefan Fritsch2010-08-191-1/+1
| | | | | | | PR: 45331 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@986979 13f79535-47bb-0310-9956-ffa450edef68
* Removed obsolete include paths from NetWare makefiles.Guenter Knauf2010-07-238-8/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966904 13f79535-47bb-0310-9956-ffa450edef68
* Support AP_DECLARE_MODULE declaration syntax in apxsNick Kew2010-06-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956956 13f79535-47bb-0310-9956-ffa450edef68
* ab: Fix memory leak with -v2 and SSL.Stefan Fritsch2010-06-061-1/+4
| | | | | | | | PR: 49383 Submitted by: Pavel Kankovsky <peak argo troja mff cuni cz> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951932 13f79535-47bb-0310-9956-ffa450edef68
* apxs -q: Stop filtering out ':' characters from the reported values.Jeff Trawick2010-05-141-1/+0
| | | | | | | | PR: 45343 Submitted by: Bill Cole <apachebugz-20090909 billmail.scconsult.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@944383 13f79535-47bb-0310-9956-ffa450edef68
* Fix the following:Philip M. Gollucci2010-05-071-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $> grep -e autoindex_ -e cgi_ httpd.conf LoadModule autoindex_module libexec/apache22/mod_autoindex.so LoadModule cgi_module libexec/apache22/mod_cgi.so fire up the following commands $> apxs -e -a -n autoindex mod_autoindex.so [activating module `autoindex' in /usr/local/etc/apache22/httpd.conf] $> apxs -e -a -n cgi mod_cgi.so [activating module `cgi' in /usr/local/etc/apache22/httpd.conf] This will result into the following httpd.conf $> grep -e autoindex_ -e cgi_ httpd.conf LoadModule autoindex_module libexec/apache22/mod_autoindex.so LoadModule cgi_module libexec/apache22/mod_cgi.so LoadModule autoindex_module libexec/apache22/mod_autoindex.so LoadModule cgi_module libexec/apache22/mod_cgi.so As you notice the modules are now loaded twice Now try to deactivate for the loaded ssl module $> grep ssl_ httpd.conf LoadModule ssl_module libexec/apache22/mod_ssl.so $> apxs -e -A -n ssl mod_ssl.so [preparing module `ssl' in /usr/local/etc/apache22/httpd.conf] $> grep ssl_ httpd.conf LoadModule ssl_module libexec/apache22/mod_ssl.so #LoadModule ssl_module libexec/apache22/mod_ssl.so As reported in FreeBSD ports PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/133704 Previously discussed with: wrowe@ This b/c '$lmd' expects the amount of space to be a fixed amount. Use \s+ to make any valid httpd.conf syntax work (i.e. at least 1 space) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@942209 13f79535-47bb-0310-9956-ffa450edef68
* ab was sending wrong number of requests when keepalive enabled.Daniel Earl Poirier2010-05-031-2/+5
| | | | | | | | Thanks to Bryn Dole for the patch. PR: 48497 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@940526 13f79535-47bb-0310-9956-ffa450edef68
* build the socket address first, then get a matching socketJeff Trawick2010-04-141-4/+4
| | | | | | | | | that resolves an issue where sockaddr_get would return an AF_INET6/IPv6 address that we'd try to bind to an AF_INET/IPv4 socket git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@934052 13f79535-47bb-0310-9956-ffa450edef68
* Remove useless use of $[, which was long deprecated and is an error with ↵Stefan Fritsch2010-04-101-2/+1
| | | | | | | | | perl 5.12rc3. Submitted by: Roderich Schupp <roderich schupp googlemail com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@932791 13f79535-47bb-0310-9956-ffa450edef68
* htcacheclean: Introduce the ability to clean specific URLs from theGraham Leggett2010-03-301-3/+241
| | | | | | | cache, if provided as an optional parameter on the command line. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@928921 13f79535-47bb-0310-9956-ffa450edef68
* htcacheclean: Report additional statistics about entries deleted.Graham Leggett2010-03-271-45/+70
| | | | | | | | PR: 48944 Submitted by: Mark Drayton mark markdrayton.info git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@928223 13f79535-47bb-0310-9956-ffa450edef68
* Use portable apr_snprintf in rotatelogs.Graham Leggett2010-02-271-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@917029 13f79535-47bb-0310-9956-ffa450edef68
* Create the pidfile world readable by adding APR_FPROT_WREAD. UseGraham Leggett2010-02-271-3/+4
| | | | | | | non-deprecated versions of the APR constants. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@917005 13f79535-47bb-0310-9956-ffa450edef68
* Try open the pid file twice, once before daemonisation so we can see anyGraham Leggett2010-02-271-19/+40
| | | | | | | | error, and once after daemonisation so the child's pid is logged correctly. Patch by Jeff Trawick. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@917002 13f79535-47bb-0310-9956-ffa450edef68
* Add -L option to create a hard link to the current log file. Daniel Earl Poirier2010-02-251-3/+23
| | | | | | | | | PR: 48761 Submitted by: <lindon orthanc.ca> With additional changes by: poirier git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@916377 13f79535-47bb-0310-9956-ffa450edef68
* Make sure the pidfile is deleted on close.Graham Leggett2010-02-171-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@910756 13f79535-47bb-0310-9956-ffa450edef68
* Use APR_PID_T_FMT instead of %ld and a cast.Graham Leggett2010-02-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@910747 13f79535-47bb-0310-9956-ffa450edef68
* Fix the help description.Graham Leggett2010-02-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@910735 13f79535-47bb-0310-9956-ffa450edef68
* support/rotatelogs: Support the simplest log rotation case, logGraham Leggett2010-02-161-6/+19
| | | | | | | | truncation. Useful when the log is being processed in real time using a command like tail. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@910719 13f79535-47bb-0310-9956-ffa450edef68
* support/htcacheclean: Teach it how to write a pid file (modelled onGraham Leggett2010-02-161-4/+31
| | | | | | | | httpd's writing of a pid file) so that it becomes possible to run more than one instance of htcacheclean on the same machine. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@910705 13f79535-47bb-0310-9956-ffa450edef68
* ab: Fix number of requests per second in HTML output being to large by aStefan Fritsch2010-01-241-1/+1
| | | | | | | | | factor of 1000 PR: 48594 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@902642 13f79535-47bb-0310-9956-ffa450edef68
* Add parentheses to min max macro functions to avoid future bugs.Takashi Sato2009-12-291-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894374 13f79535-47bb-0310-9956-ffa450edef68
* Fix string constness to get rid of gcc compiler warnings by -Wwrite-strings.Takashi Sato2009-12-291-12/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894371 13f79535-47bb-0310-9956-ffa450edef68
* more NetWare makefile fixes and cleanups.Guenter Knauf2009-12-012-218/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@885774 13f79535-47bb-0310-9956-ffa450edef68
* fix or complain about some invalid errno referencesJeff Trawick2009-11-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@882269 13f79535-47bb-0310-9956-ffa450edef68
* update pollset to reflect changed connection state before closing the socket;Jeff Trawick2009-11-061-1/+1
| | | | | | | | otherwise the pollset-remove can crash (at least with select-based poll, since fd is now -1) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@833583 13f79535-47bb-0310-9956-ffa450edef68
* tab and trailing space police.Guenter Knauf2009-11-011-23/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@831644 13f79535-47bb-0310-9956-ffa450edef68
* Fix brown-paper-bag bug.Stefan Fritsch2009-10-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@829431 13f79535-47bb-0310-9956-ffa450edef68