summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add child_status hook for tracking creation/termination of MPM childJeff Trawick2011-04-2512-51/+323
| | | | | | | | | | | | | | processes. Add end_generation hook for notification when the last MPM child of a generation exits. end_generation is implemented completely by core using the child_status hook run by the MPM. simple and mpmt_os2 MPMs don't currently run the child_status hook, so neither hook is invoked with those MPMs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1096609 13f79535-47bb-0310-9956-ffa450edef68
* mod_ldap: Make LDAPSharedCacheSize 0 create a non-shared-memory cache perStefan Fritsch2011-04-255-27/+49
| | | | | | | | | | | process as opposed to disabling caching completely. This allows to use the non-shared-memory cache as a workaround for the shared memory cache not being available during graceful restarts PR: 48958 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1096577 13f79535-47bb-0310-9956-ffa450edef68
* Add new ap_reserve_module_slots/ap_reserve_module_slots_directive API,Stefan Fritsch2011-04-258-13/+90
| | | | | | | | | | necessary if a module (like mod_perl) registers additional modules later than the EXEC_ON_READ phase. Tested by: Torsten Foertsch <torsten foertsch gmx net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1096569 13f79535-47bb-0310-9956-ffa450edef68
* Report filename and line number in config warningStefan Fritsch2011-04-251-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1096551 13f79535-47bb-0310-9956-ffa450edef68
* avoid useless call to apr_pstrdupStefan Fritsch2011-04-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1095972 13f79535-47bb-0310-9956-ffa450edef68
* update transformDaniel Earl Poirier2011-04-221-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1095949 13f79535-47bb-0310-9956-ffa450edef68
* Add example for using %{msec_frac}t.Daniel Earl Poirier2011-04-221-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1095948 13f79535-47bb-0310-9956-ffa450edef68
* * server/util_pcre.c (ap_regerror): Use passed-in buffer size ratherJoe Orton2011-04-201-1/+1
| | | | | | | than the size of a pointer. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1095448 13f79535-47bb-0310-9956-ffa450edef68
* The pre_config hook should return int, not apr_status_t.Stefan Fritsch2011-04-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1095213 13f79535-47bb-0310-9956-ffa450edef68
* Fixed line length to < 80 char.Guenter Knauf2011-04-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1094189 13f79535-47bb-0310-9956-ffa450edef68
* Added shebang check for '! so that .vbs scripts can work as CGI.Guenter Knauf2011-04-171-0/+4
| | | | | | | Backport of r1054347 from trunk; reviewed by wrowe, trawick. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1094174 13f79535-47bb-0310-9956-ffa450edef68
* clarify commentStefan Fritsch2011-04-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1094127 13f79535-47bb-0310-9956-ffa450edef68
* Miscellaneous corrections.Lucien Gentis2011-04-163-40/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1094005 13f79535-47bb-0310-9956-ffa450edef68
* Updates.Lucien Gentis2011-04-168-25/+79
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1093991 13f79535-47bb-0310-9956-ffa450edef68
* via Matthew Sporleder - domain is required in the CO flag or cookiesRich Bowen2011-04-152-7/+8
| | | | | | | aren't set. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1092799 13f79535-47bb-0310-9956-ffa450edef68
* The domain is not in fact optional. The cookie is not set if you don'tRich Bowen2011-04-151-6/+7
| | | | | | | set the domain. (via Matthew Sporleder) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1092798 13f79535-47bb-0310-9956-ffa450edef68
* Whether it's intentional or not, the hostname/domainname argument to theRich Bowen2011-04-151-1/+1
| | | | | | | | RewriteRule CO flag is in fact required. Cookies are not set without it. (via Matthew Sporleder) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1092797 13f79535-47bb-0310-9956-ffa450edef68
* Prevent segfault if DYNAMIC_MODULE_LIMIT is reachedStefan Fritsch2011-04-152-9/+12
| | | | | | | | PR: 51072 Submitted by: Torsten Förtsch <torsten foertsch gmx net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1092787 13f79535-47bb-0310-9956-ffa450edef68
* move -L/path/to/pcrelib -lpcre out beyond all the LDFLAGSJeff Trawick2011-04-141-3/+1
| | | | | | | this fixes unresolved symbol errors on on MinGW git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1092445 13f79535-47bb-0310-9956-ffa450edef68
* Fixed missing struct member error introduced with r1092076.Guenter Knauf2011-04-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1092212 13f79535-47bb-0310-9956-ffa450edef68
* try to prevent a single long request marking a worker in error.Jean-Frederic Clere2011-04-142-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1092076 13f79535-47bb-0310-9956-ffa450edef68
* Axed tabs and trailing spaces.Guenter Knauf2011-04-131-106/+106
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1091621 13f79535-47bb-0310-9956-ffa450edef68
* AP_ENABLE_V4_MAPPED with WinNT MPMJeff Trawick2011-04-122-22/+35
| | | | | | | | | | | mpm_winnt.c: Fail to compile if enabled, and add a hint about the issue to address before it will work. configure.in: Move the --enable-v4-mapped check to below the MPM logic, and default to --disable-v4-mapped if using the WinNT MPM git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1091467 13f79535-47bb-0310-9956-ffa450edef68
* add some debug logging to show more information about passing of socketsJeff Trawick2011-04-121-2/+5
| | | | | | | | | | | | | | | | | between parent and child the extra info is helpful when using a generic listener on an IPv6- enabled box when either IPV6_V6ONLY isn't defined for the APR build or httpd is built with IPv4-mapped addresses enabled in that case you'll see the parent writing one socket but the child expecting too, before it bails out with (OS 109)The pipe has been ended. : Child: Unable to read socket data from parent git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1091421 13f79535-47bb-0310-9956-ffa450edef68
* Allow apr and apr-util to be in 2 different location.Jean-Frederic Clere2011-04-121-1/+9
| | | | | | | Otherwise: apr_version.h is not found when apr-util is tested. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1091330 13f79535-47bb-0310-9956-ffa450edef68
* axe the cast in the call to our mpm_nt_eventlog_stderr_open()Jeff Trawick2011-04-113-4/+4
| | | | | | | by fixing the function git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1091079 13f79535-47bb-0310-9956-ffa450edef68
* match expected type of arg to StartService()Jeff Trawick2011-04-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1091076 13f79535-47bb-0310-9956-ffa450edef68
* ignore generated file httpd.exeJeff Trawick2011-04-100-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090870 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused variableStefan Fritsch2011-04-091-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090645 13f79535-47bb-0310-9956-ffa450edef68
* don't try to shut down child if it wasn't createdJeff Trawick2011-04-091-1/+9
| | | | | | | | (or, fix warning about reference to uninitialized variable child_exit_event) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090634 13f79535-47bb-0310-9956-ffa450edef68
* WinNT MPM: Improve robustness under heavy load.Jeff Trawick2011-04-092-9/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090621 13f79535-47bb-0310-9956-ffa450edef68
* Fix some MinGW build issues...Jeff Trawick2011-04-094-0/+15
| | | | | | | | | | | | | | | | | | | | mpm_winnt.c: MinGW doesn't currently define the Windows STACK_SIZE_PARAM_IS_A_RESERVATION symbol mpm_unix.c: Bypass all this code on Windows (too much trouble to keep it out of Makefile) mpm_common.h: Skip over definitions of functions not available on Windows to keep references out of exports.c. PR: 49535 Submitted by: John Vandenberg <jayvdb gmail.com> Minor tweaks by: trawick Other commits for this PR: r1089950, r1089951, r1089954 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090614 13f79535-47bb-0310-9956-ffa450edef68
* fix some logging glitches in the WinNT MPM:Jeff Trawick2011-04-091-9/+17
| | | | | | | | | | | | | | | | | | the MPM's equivalent of "reached MaxClients" is now ERR instead of WARNING the message when the MPM child exits due to excessive errors is raised from ERR to CRIT the caller of mpm_get_completion_context() could log random error values (GetLastError() or rv), so solve as follows: . mpm_get_completion_context() always logs its errors . caller only logs when it is taking a rare action on such errors, and doesn't pretend to know the error code of the last such error git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090605 13f79535-47bb-0310-9956-ffa450edef68
* include <stdlib.h> to ensure that the exit() prototype has beenJeff Trawick2011-04-081-3/+1
| | | | | | | | | | seen before the exit macro is defined (fixes compile failure on MinGW) axe prototype for absent function set_listeners_noninheritable() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090417 13f79535-47bb-0310-9956-ffa450edef68
* log message fixes/tweaksJeff Trawick2011-04-082-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090412 13f79535-47bb-0310-9956-ffa450edef68
* core: Support module names with colons in loglevel configuration.Stefan Fritsch2011-04-082-1/+4
| | | | | | | Submitted by: Torsten Förtsch <torsten foertsch gmx net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090369 13f79535-47bb-0310-9956-ffa450edef68
* mod_ssl, ab: Support OpenSSL compiled without SSLv2 supportStefan Fritsch2011-04-085-6/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090367 13f79535-47bb-0310-9956-ffa450edef68
* hernan gonzalez <hgonzalez gmail.com> points out that the USER_AGENTRich Bowen2011-04-084-5/+12
| | | | | | | | strings were probably more accurate with the leading ^ anchor. Rebuilds a few other changes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090284 13f79535-47bb-0310-9956-ffa450edef68
* Remove more unnecessary anchors from rewrite examples.Rich Bowen2011-04-082-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090265 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary .* from regex.Rich Bowen2011-04-081-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090258 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary .* from regex, as noted inRich Bowen2011-04-081-2/+2
| | | | | | | | http://stackoverflow.com/questions/5587148/regex-patterns-in-apache-rewritecond-and-friends-full-or-partial-match git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090255 13f79535-47bb-0310-9956-ffa450edef68
* * server/util_expr_eval.c (req_table_func): Try r->err_headers_out forJoe Orton2011-04-081-2/+8
| | | | | | | | response headers if given header is not found in r->headers_out (e.g. as with non-standard headers from CGI scripts). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090234 13f79535-47bb-0310-9956-ffa450edef68
* gcc compatibilityJeff Trawick2011-04-071-1/+1
| | | | | | | | PR: 49535 (subset of reported issues) Submitted by: John Vandenberg <jayvdb gmail.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089954 13f79535-47bb-0310-9956-ffa450edef68
* rework choice of cgi implementation, handling MinGWJeff Trawick2011-04-071-6/+21
| | | | | | | PR: 49535 (subset of reported issues, replacement for supplied patch) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089951 13f79535-47bb-0310-9956-ffa450edef68
* don't build checkgid or fcgistarter on MinGWJeff Trawick2011-04-072-1/+15
| | | | | | | PR: 49535 (subset of reported issues, replacement for supplied patch) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089950 13f79535-47bb-0310-9956-ffa450edef68
* hide some unused code on Win32 and NetWareJeff Trawick2011-04-072-4/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089910 13f79535-47bb-0310-9956-ffa450edef68
* Remove mentions of the 1.3 generation of the server.Rich Bowen2011-04-072-7/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089863 13f79535-47bb-0310-9956-ffa450edef68
* ignore generated file modules.mkJeff Trawick2011-04-070-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089858 13f79535-47bb-0310-9956-ffa450edef68
* Stop explicitly including the current pid in WinNT MPM messages,Jeff Trawick2011-04-072-52/+46
| | | | | | | | as it is part of the default log format. (And these lines needed touching anyway since %d was the wrong format string.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089857 13f79535-47bb-0310-9956-ffa450edef68
* There are no versions of httpd earlier than 2.0. Oceania has always been at ↵Rich Bowen2011-04-071-6/+1
| | | | | | war with Eurasia. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089719 13f79535-47bb-0310-9956-ffa450edef68