]> granicus.if.org Git - apache/log
apache
13 years agoFix some MinGW build issues...
Jeff Trawick [Sat, 9 Apr 2011 15:56:27 +0000 (15:56 +0000)]
Fix some MinGW build issues...

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

13 years agofix some logging glitches in the WinNT MPM:
Jeff Trawick [Sat, 9 Apr 2011 15:03:36 +0000 (15:03 +0000)]
fix some logging glitches in the WinNT MPM:

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

13 years agoinclude <stdlib.h> to ensure that the exit() prototype has been
Jeff Trawick [Fri, 8 Apr 2011 19:57:24 +0000 (19:57 +0000)]
include <stdlib.h> to ensure that the exit() prototype has been
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

13 years agolog message fixes/tweaks
Jeff Trawick [Fri, 8 Apr 2011 19:37:41 +0000 (19:37 +0000)]
log message fixes/tweaks

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090412 13f79535-47bb-0310-9956-ffa450edef68

13 years agocore: Support module names with colons in loglevel configuration.
Stefan Fritsch [Fri, 8 Apr 2011 17:59:48 +0000 (17:59 +0000)]
core: Support module names with colons in loglevel configuration.

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

13 years agomod_ssl, ab: Support OpenSSL compiled without SSLv2 support
Stefan Fritsch [Fri, 8 Apr 2011 17:56:20 +0000 (17:56 +0000)]
mod_ssl, ab: Support OpenSSL compiled without SSLv2 support

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090367 13f79535-47bb-0310-9956-ffa450edef68

13 years agohernan gonzalez <hgonzalez gmail.com> points out that the USER_AGENT
Rich Bowen [Fri, 8 Apr 2011 14:50:47 +0000 (14:50 +0000)]
hernan gonzalez <hgonzalez gmail.com> points out that the USER_AGENT
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

13 years agoRemove more unnecessary anchors from rewrite examples.
Rich Bowen [Fri, 8 Apr 2011 14:28:05 +0000 (14:28 +0000)]
Remove more unnecessary anchors from rewrite examples.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090265 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemove unnecessary .* from regex.
Rich Bowen [Fri, 8 Apr 2011 14:16:46 +0000 (14:16 +0000)]
Remove unnecessary .* from regex.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090258 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemove unnecessary .* from regex, as noted in
Rich Bowen [Fri, 8 Apr 2011 14:15:17 +0000 (14:15 +0000)]
Remove unnecessary .* from regex, as noted in
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

13 years ago* server/util_expr_eval.c (req_table_func): Try r->err_headers_out for
Joe Orton [Fri, 8 Apr 2011 13:13:36 +0000 (13:13 +0000)]
* server/util_expr_eval.c (req_table_func): Try r->err_headers_out for
  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

13 years agogcc compatibility
Jeff Trawick [Thu, 7 Apr 2011 19:39:48 +0000 (19:39 +0000)]
gcc compatibility

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

13 years agorework choice of cgi implementation, handling MinGW
Jeff Trawick [Thu, 7 Apr 2011 19:34:44 +0000 (19:34 +0000)]
rework choice of cgi implementation, handling MinGW

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

13 years agodon't build checkgid or fcgistarter on MinGW
Jeff Trawick [Thu, 7 Apr 2011 19:32:49 +0000 (19:32 +0000)]
don't build checkgid or fcgistarter on MinGW

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

13 years agohide some unused code on Win32 and NetWare
Jeff Trawick [Thu, 7 Apr 2011 15:16:20 +0000 (15:16 +0000)]
hide some unused code on Win32 and NetWare

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089910 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemove mentions of the 1.3 generation of the server.
Rich Bowen [Thu, 7 Apr 2011 12:50:23 +0000 (12:50 +0000)]
Remove mentions of the 1.3 generation of the server.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089863 13f79535-47bb-0310-9956-ffa450edef68

13 years agoignore generated file modules.mk
Jeff Trawick [Thu, 7 Apr 2011 12:41:30 +0000 (12:41 +0000)]
ignore generated file modules.mk

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089858 13f79535-47bb-0310-9956-ffa450edef68

13 years agoStop explicitly including the current pid in WinNT MPM messages,
Jeff Trawick [Thu, 7 Apr 2011 12:36:56 +0000 (12:36 +0000)]
Stop explicitly including the current pid in WinNT MPM messages,
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

13 years agoThere are no versions of httpd earlier than 2.0. Oceania has always been at war with...
Rich Bowen [Thu, 7 Apr 2011 03:23:51 +0000 (03:23 +0000)]
There are no versions of httpd earlier than 2.0. Oceania has always been at war with Eurasia.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089719 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRebuild transformations.
Rich Bowen [Thu, 7 Apr 2011 03:18:57 +0000 (03:18 +0000)]
Rebuild transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089718 13f79535-47bb-0310-9956-ffa450edef68

13 years agoOops. Mixed file names in my example.
Rich Bowen [Thu, 7 Apr 2011 03:18:26 +0000 (03:18 +0000)]
Oops. Mixed file names in my example.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089717 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdds an example of constructing a type-map file.
Rich Bowen [Thu, 7 Apr 2011 03:14:15 +0000 (03:14 +0000)]
Adds an example of constructing a type-map file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089716 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdds an example of how one might actually construct a type-map file.
Rich Bowen [Thu, 7 Apr 2011 03:10:58 +0000 (03:10 +0000)]
Adds an example of how one might actually construct a type-map file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089714 13f79535-47bb-0310-9956-ffa450edef68

13 years agoaxe a couple of unused vars, mark a function as static
Jeff Trawick [Thu, 7 Apr 2011 00:07:50 +0000 (00:07 +0000)]
axe a couple of unused vars, mark a function as static

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089690 13f79535-47bb-0310-9956-ffa450edef68

13 years agoget prototype for ap_os_create_privileged_process()
Jeff Trawick [Thu, 7 Apr 2011 00:06:31 +0000 (00:06 +0000)]
get prototype for ap_os_create_privileged_process()

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089689 13f79535-47bb-0310-9956-ffa450edef68

13 years agoaxe ap_registry_get_server_root(), which seems to have been unused
Jeff Trawick [Thu, 7 Apr 2011 00:03:09 +0000 (00:03 +0000)]
axe ap_registry_get_server_root(), which seems to have been unused
after httpd 1.3

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089688 13f79535-47bb-0310-9956-ffa450edef68

13 years agoformat string fixes:
Jeff Trawick [Wed, 6 Apr 2011 23:00:44 +0000 (23:00 +0000)]
format string fixes:
DWORD is unsigned long and needs %lu instead of %d or %i

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089659 13f79535-47bb-0310-9956-ffa450edef68

13 years agoHANDLE is PVOID which is reasonably formatted by %pp, but not by %d
Jeff Trawick [Wed, 6 Apr 2011 21:37:20 +0000 (21:37 +0000)]
HANDLE is PVOID which is reasonably formatted by %pp, but not by %d

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089639 13f79535-47bb-0310-9956-ffa450edef68

13 years agocan't format time_t with %d; cast this small interval time to int
Jeff Trawick [Wed, 6 Apr 2011 20:59:47 +0000 (20:59 +0000)]
can't format time_t with %d; cast this small interval time to int

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089624 13f79535-47bb-0310-9956-ffa450edef68

13 years agoLog the OS socket (int) instead of the apr_socket_t *.
Jeff Trawick [Wed, 6 Apr 2011 20:14:35 +0000 (20:14 +0000)]
Log the OS socket (int) instead of the apr_socket_t *.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089614 13f79535-47bb-0310-9956-ffa450edef68

13 years agoyank some dead code and variables
Jeff Trawick [Wed, 6 Apr 2011 19:59:20 +0000 (19:59 +0000)]
yank some dead code and variables

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089605 13f79535-47bb-0310-9956-ffa450edef68

13 years agocleanups to function signatures, prototypes, visibility
Jeff Trawick [Wed, 6 Apr 2011 19:46:09 +0000 (19:46 +0000)]
cleanups to function signatures, prototypes, visibility

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089600 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAbort if the MPM is changed across restart.
Jeff Trawick [Wed, 6 Apr 2011 14:49:45 +0000 (14:49 +0000)]
Abort if the MPM is changed across restart.

A new MPM can't be expected to manage the existing state,
particularly if that includes processes from the previous
generation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089472 13f79535-47bb-0310-9956-ffa450edef68

13 years ago* docs/manual/rewrite/: Fix the real long form of DPI here also.
Joe Orton [Wed, 6 Apr 2011 12:19:38 +0000 (12:19 +0000)]
* docs/manual/rewrite/: Fix the real long form of DPI here also.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089420 13f79535-47bb-0310-9956-ffa450edef68

13 years agorpm spec file: Use "service httpd graceful" rather than a hard coded HUP
Graham Leggett [Wed, 6 Apr 2011 00:20:04 +0000 (00:20 +0000)]
rpm spec file: Use "service httpd graceful" rather than a hard coded HUP
to rotate logs, so that we honour the end user's choice of pid file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089284 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRebuild typo correction.
Rich Bowen [Tue, 5 Apr 2011 15:49:47 +0000 (15:49 +0000)]
Rebuild typo correction.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089091 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTypo
Rich Bowen [Tue, 5 Apr 2011 15:41:05 +0000 (15:41 +0000)]
Typo

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089085 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFixed NWGNUversion.inc target.
Guenter Knauf [Tue, 5 Apr 2011 01:44:00 +0000 (01:44 +0000)]
Fixed NWGNUversion.inc target.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1088842 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFixed sysinclude; removed trailing 0; fixed indent.
Guenter Knauf [Tue, 5 Apr 2011 01:01:16 +0000 (01:01 +0000)]
Fixed sysinclude; removed trailing 0; fixed indent.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1088838 13f79535-47bb-0310-9956-ffa450edef68

13 years ago* add the constructed filter at TRACE1 to authn, and to existing debug authz
Eric Covener [Mon, 4 Apr 2011 13:55:48 +0000 (13:55 +0000)]
* add the constructed filter at TRACE1 to authn, and to existing debug authz
messages.

* Drop the level of the LDAPURL parsing to TRACE1 from debug (appears in
console/event viewer once per directive)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1088627 13f79535-47bb-0310-9956-ffa450edef68

13 years agobetter error message
Jim Jagielski [Mon, 4 Apr 2011 13:37:57 +0000 (13:37 +0000)]
better error message

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1088620 13f79535-47bb-0310-9956-ffa450edef68

13 years agobad links due to typo
Eric Covener [Mon, 4 Apr 2011 13:33:58 +0000 (13:33 +0000)]
bad links due to typo

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1088619 13f79535-47bb-0310-9956-ffa450edef68

13 years agoYet Another Typo. (Thanks to Vincent de Lau)
Rich Bowen [Mon, 4 Apr 2011 13:28:36 +0000 (13:28 +0000)]
Yet Another Typo. (Thanks to Vincent de Lau)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1088616 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRebuilds mod_alias update from last week. Several other transformation
Rich Bowen [Mon, 4 Apr 2011 12:22:08 +0000 (12:22 +0000)]
Rebuilds mod_alias update from last week. Several other transformation
updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1088589 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMarkup typos. Rebuild HTML.
Rich Bowen [Mon, 4 Apr 2011 12:21:22 +0000 (12:21 +0000)]
Markup typos. Rebuild HTML.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1088588 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdds a new section for the [END] flag. This duplicates text from the [L]
Rich Bowen [Mon, 4 Apr 2011 12:14:43 +0000 (12:14 +0000)]
Adds a new section for the [END] flag. This duplicates text from the [L]
flag section, which should probably be summarized into a link.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1088582 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMention the new rewrite flags as a module enhancement in 2.4
Rich Bowen [Mon, 4 Apr 2011 12:10:32 +0000 (12:10 +0000)]
Mention the new rewrite flags as a module enhancement in 2.4

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1088580 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFixed only some proxy prototype formats.
Guenter Knauf [Sun, 3 Apr 2011 21:37:20 +0000 (21:37 +0000)]
Fixed only some proxy prototype formats.

Function names must follow the *_DECLARE() in the same
line regardless how long the function names are!

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1088421 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFixed NetWare build for proxy modules.
Guenter Knauf [Sun, 3 Apr 2011 15:33:08 +0000 (15:33 +0000)]
Fixed NetWare build for proxy modules.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1088326 13f79535-47bb-0310-9956-ffa450edef68

13 years agoUpdates.
Lucien Gentis [Sat, 2 Apr 2011 16:31:18 +0000 (16:31 +0000)]
Updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1088057 13f79535-47bb-0310-9956-ffa450edef68

13 years ago *) mod_proxy_ajp: Add support for 'ProxyErrorOverride on'. PR 50945.
Jim Jagielski [Fri, 1 Apr 2011 19:25:26 +0000 (19:25 +0000)]
  *) mod_proxy_ajp: Add support for 'ProxyErrorOverride on'. PR 50945.
     [Peter Pramberger <peter pramberger.at>, Jim Jagielski]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087864 13f79535-47bb-0310-9956-ffa450edef68

13 years ago *) mod_proxy_fcgi: Add support for 'ProxyErrorOverride on' PR 50913.
Jim Jagielski [Fri, 1 Apr 2011 19:25:23 +0000 (19:25 +0000)]
  *) mod_proxy_fcgi: Add support for 'ProxyErrorOverride on' PR 50913.
     [Mark Montague <mark catseye.org>, Jim Jagielski]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087863 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMore cleanups at cleanup... move to using pconf and then remove
Jim Jagielski [Fri, 1 Apr 2011 19:25:19 +0000 (19:25 +0000)]
More cleanups at cleanup... move to using pconf and then remove
any file-based shms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087862 13f79535-47bb-0310-9956-ffa450edef68

13 years agowrong stash
Jim Jagielski [Fri, 1 Apr 2011 12:15:49 +0000 (12:15 +0000)]
wrong stash

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087677 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMake our Windows touch silent.
Guenter Knauf [Fri, 1 Apr 2011 03:38:42 +0000 (03:38 +0000)]
Make our Windows touch silent.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087572 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdded TOUCH macro to kill Win32 dependency on external touch command.
Guenter Knauf [Fri, 1 Apr 2011 03:07:06 +0000 (03:07 +0000)]
Added TOUCH macro to kill Win32 dependency on external touch command.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087563 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFixed lib target for old PCRE.
Guenter Knauf [Fri, 1 Apr 2011 02:33:27 +0000 (02:33 +0000)]
Fixed lib target for old PCRE.

With older PCRE chartables.c is included from pcre.c.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087561 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMake the 'need to reset' more generic by extending its reach
Jim Jagielski [Thu, 31 Mar 2011 19:29:21 +0000 (19:29 +0000)]
Make the 'need to reset' more generic by extending its reach

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087415 13f79535-47bb-0310-9956-ffa450edef68

13 years agoBetter knowledge of when to adjust.
Jim Jagielski [Thu, 31 Mar 2011 19:20:06 +0000 (19:20 +0000)]
Better knowledge of when to adjust.
More info from b-m

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087413 13f79535-47bb-0310-9956-ffa450edef68

13 years agoImplement reset() funcs for the LBmethods...
Jim Jagielski [Thu, 31 Mar 2011 18:41:23 +0000 (18:41 +0000)]
Implement reset() funcs for the LBmethods...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087407 13f79535-47bb-0310-9956-ffa450edef68

13 years agoIf we change the LB method, or we take add in a new
Jim Jagielski [Thu, 31 Mar 2011 17:00:36 +0000 (17:00 +0000)]
If we change the LB method, or we take add in a new
balancermember ("enable" her), then we need to have the
LBmethod reset its params as required...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087371 13f79535-47bb-0310-9956-ffa450edef68

13 years agoDon't kill me mister...
Jim Jagielski [Thu, 31 Mar 2011 15:12:13 +0000 (15:12 +0000)]
Don't kill me mister...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087333 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdd in a configuration generation... this is independent of
Jim Jagielski [Thu, 31 Mar 2011 15:12:09 +0000 (15:12 +0000)]
Add in a configuration generation... this is independent of
MPM gen, just in case we ever switch MPMs at a graceful ;)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087331 13f79535-47bb-0310-9956-ffa450edef68

13 years agoCleaned up NetWare NWGNUtail.inc.
Guenter Knauf [Thu, 31 Mar 2011 14:17:58 +0000 (14:17 +0000)]
Cleaned up NetWare NWGNUtail.inc.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087306 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFixed NetWare version number in linker script.
Guenter Knauf [Thu, 31 Mar 2011 05:40:55 +0000 (05:40 +0000)]
Fixed NetWare version number in linker script.

A trailing space is required when building on Win32
or else the last number is treated as IO redirection;
also moved ifeq out of target rule to the top.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087190 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemoved dependency on sort command for export list.
Guenter Knauf [Thu, 31 Mar 2011 05:21:20 +0000 (05:21 +0000)]
Removed dependency on sort command for export list.

Added a shell sort function to the NetWare export script
which is only few ms slower than the external sort command;
this makes the export list now identical on all build platforms.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087185 13f79535-47bb-0310-9956-ffa450edef68

13 years agoSimplify the interface to ap_reclaim_child_processes() and
Jeff Trawick [Wed, 30 Mar 2011 21:32:10 +0000 (21:32 +0000)]
Simplify the interface to ap_reclaim_child_processes() and
ap_relieve_child_processes(): instead of requiring the MPM
to implement an otherwise-useless hook, just use a callback
function.

As I don't expect third-party MPM devs are following our day
to day progress, the API changes are considered part of
yesterday's MMN change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087085 13f79535-47bb-0310-9956-ffa450edef68

13 years agothe mpm-note-child-killed hook was just for use by
Jeff Trawick [Wed, 30 Mar 2011 13:42:00 +0000 (13:42 +0000)]
the mpm-note-child-killed hook was just for use by
ap_{reclaim,relieve}_child_processes; those functions can
invoke the hook directly; the function ap_mpm_note_child_killed()
is useless

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086953 13f79535-47bb-0310-9956-ffa450edef68

13 years agothe mpm-note-child-killed hook is just for state sync between
Jeff Trawick [Wed, 30 Mar 2011 13:32:21 +0000 (13:32 +0000)]
the mpm-note-child-killed hook is just for state sync between
ap_{reclaim,relieve}_child_processes() and their callers

the NetWare and OS/2 MPMs don't use that

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086948 13f79535-47bb-0310-9956-ffa450edef68

13 years agoClarification of pronoun - I had to read that sentence a few times to be certain...
Rich Bowen [Wed, 30 Mar 2011 11:19:07 +0000 (11:19 +0000)]
Clarification of pronoun - I had to read that sentence a few times to be certain what "it" referred to.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086908 13f79535-47bb-0310-9956-ffa450edef68

13 years agoExpand the comment about APLOG_* and C++ a bit
Stefan Fritsch [Tue, 29 Mar 2011 22:10:32 +0000 (22:10 +0000)]
Expand the comment about APLOG_* and C++ a bit

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086781 13f79535-47bb-0310-9956-ffa450edef68

13 years agoUpdate xforms
Stefan Fritsch [Tue, 29 Mar 2011 22:03:09 +0000 (22:03 +0000)]
Update xforms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086773 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdd PR reference and docs for -DDUMP_CONFIG
Stefan Fritsch [Tue, 29 Mar 2011 22:01:27 +0000 (22:01 +0000)]
Add PR reference and docs for -DDUMP_CONFIG

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086771 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdd CHANGES entry for r1086756 / ap_cfg_* change
Stefan Fritsch [Tue, 29 Mar 2011 21:38:03 +0000 (21:38 +0000)]
Add CHANGES entry for r1086756 / ap_cfg_* change
Update docs for ap_cfg_getc

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086761 13f79535-47bb-0310-9956-ffa450edef68

13 years agoChange the ap_cfg_getline() and ap_cfg_getc() to return an error code.
Stefan Fritsch [Tue, 29 Mar 2011 21:29:34 +0000 (21:29 +0000)]
Change the ap_cfg_getline() and ap_cfg_getc() to return an error code.

Also:
- Make ap_cfg_getline() return APR_ENOSPC if a config line is too long.
- Add ap_pcfg_strerror() function to convert ap_cfg_getline's return value
  into a nice message.
- Adjust definition of ap_configfile_t accordingly.

Not bumping MMN because it has already been bumped today.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086756 13f79535-47bb-0310-9956-ffa450edef68

13 years agoSomeone misunderstood 'dependency' here; we need not *link* to mod_session,
William A. Rowe Jr [Tue, 29 Mar 2011 20:31:17 +0000 (20:31 +0000)]
Someone misunderstood 'dependency' here; we need not *link* to mod_session,
therefore the build order doesn't matter.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086726 13f79535-47bb-0310-9956-ffa450edef68

13 years agochange signed single-bit fields to unsigned
Jeff Trawick [Tue, 29 Mar 2011 18:20:52 +0000 (18:20 +0000)]
change signed single-bit fields to unsigned

some of these were exposed to mods so the mmn is bumped, without
regard to whether any compiler will have to generate different
code

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086662 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRebuild, and fix XML error. Troubleshooting using server-status
Rich Bowen [Tue, 29 Mar 2011 14:47:50 +0000 (14:47 +0000)]
Rebuild, and fix XML error. Troubleshooting using server-status

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086608 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdvice regarding troubleshooting high server load with server-status -
Rich Bowen [Tue, 29 Mar 2011 14:43:24 +0000 (14:43 +0000)]
Advice regarding troubleshooting high server load with server-status -
something that comes up on IRC at least once a day.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086605 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRebuild various transformations.
Rich Bowen [Tue, 29 Mar 2011 13:38:22 +0000 (13:38 +0000)]
Rebuild various transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086580 13f79535-47bb-0310-9956-ffa450edef68

13 years agoSlight tweak to example - add indentation.
Rich Bowen [Tue, 29 Mar 2011 13:36:16 +0000 (13:36 +0000)]
Slight tweak to example - add indentation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086578 13f79535-47bb-0310-9956-ffa450edef68

13 years agoutf-8 it is.
André Malo [Tue, 29 Mar 2011 13:00:48 +0000 (13:00 +0000)]
utf-8 it is.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086572 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMinor awk tweak.
Guenter Knauf [Tue, 29 Mar 2011 12:11:03 +0000 (12:11 +0000)]
Minor awk tweak.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086562 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemove traling line endings with Linux builds.
Guenter Knauf [Tue, 29 Mar 2011 11:49:47 +0000 (11:49 +0000)]
Remove traling line endings with Linux builds.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086556 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdds Dan to this list. And why the heck is it FIRST NAME alpha? Need to fix that ...
Rich Bowen [Tue, 29 Mar 2011 11:02:06 +0000 (11:02 +0000)]
Adds Dan to this list. And why the heck is it FIRST NAME alpha? Need to fix that ...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086545 13f79535-47bb-0310-9956-ffa450edef68

13 years agoCorrect build order. Seems mod_session was misimplemented to require
William A. Rowe Jr [Tue, 29 Mar 2011 08:08:42 +0000 (08:08 +0000)]
Correct build order.  Seems mod_session was misimplemented to require
library binding rather that stubbing out proper registered functions
to make it load order agnostic.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086510 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAlways very reluctant to touch a file containing a list of names, but this brings...
Rich Bowen [Tue, 29 Mar 2011 02:09:17 +0000 (02:09 +0000)]
Always very reluctant to touch a file containing a list of names, but this brings it slightly more up to date.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086465 13f79535-47bb-0310-9956-ffa450edef68

13 years agoChange to a more conventional, internal 'build' target name
William A. Rowe Jr [Tue, 29 Mar 2011 01:53:15 +0000 (01:53 +0000)]
Change to a more conventional, internal 'build' target name

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086463 13f79535-47bb-0310-9956-ffa450edef68

13 years agoNote util_ldap.h for convenience
William A. Rowe Jr [Tue, 29 Mar 2011 01:52:52 +0000 (01:52 +0000)]
Note util_ldap.h for convenience

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086462 13f79535-47bb-0310-9956-ffa450edef68

13 years agomod_info: Dump config to stdout during startup if -DDUMP_CONFIG is
Stefan Fritsch [Mon, 28 Mar 2011 23:19:17 +0000 (23:19 +0000)]
mod_info: Dump config to stdout during startup if -DDUMP_CONFIG is
specified.

This functionality should probably be moved into core, but for now
it's a lot better than nothing. And it may even help me debug some
other config related code.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086441 13f79535-47bb-0310-9956-ffa450edef68

13 years agoalways use (via break) the LDAP connection we're looking at once it's a match,
Eric Covener [Mon, 28 Mar 2011 22:43:08 +0000 (22:43 +0000)]
always use (via break) the LDAP connection we're looking at once it's a match,
whether it's used as-is or has just been unbound.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086433 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix incorrect type of LDAP connection pool member, fix naming fors
Eric Covener [Mon, 28 Mar 2011 22:40:20 +0000 (22:40 +0000)]
fix incorrect type of LDAP connection pool member, fix naming fors
style guidlines

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086432 13f79535-47bb-0310-9956-ffa450edef68

13 years agoWrap at 80
William A. Rowe Jr [Mon, 28 Mar 2011 19:02:37 +0000 (19:02 +0000)]
Wrap at 80

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086341 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd hints for
Jeff Trawick [Mon, 28 Mar 2011 18:18:52 +0000 (18:18 +0000)]
add hints for

* C++ and APLOG_USE_MODULE()
* mpm_default.h

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086325 13f79535-47bb-0310-9956-ffa450edef68

13 years agodoc xforms
Jeff Trawick [Mon, 28 Mar 2011 17:13:12 +0000 (17:13 +0000)]
doc xforms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086301 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd event MPM to the module list where necessary (most directives
Jeff Trawick [Mon, 28 Mar 2011 17:08:25 +0000 (17:08 +0000)]
add event MPM to the module list where necessary (most directives
documented here)

add mpmt_os2 to the list for ThreadStackSize

remove mpm_winnt from the list for CoreDumpDirectory

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086299 13f79535-47bb-0310-9956-ffa450edef68

13 years agomatch docs for case of "ScoreBoardFile"
Jeff Trawick [Mon, 28 Mar 2011 16:50:11 +0000 (16:50 +0000)]
match docs for case of "ScoreBoardFile"

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086297 13f79535-47bb-0310-9956-ffa450edef68

13 years agompm_common.c implements a handful of config directives; the
Jeff Trawick [Mon, 28 Mar 2011 16:25:20 +0000 (16:25 +0000)]
mpm_common.c implements a handful of config directives; the
related state has to be re-initialized to the default values
at pre-config time, but that was handled inconsistently by
the MPMs, resulting in unexpected behavior when some of the
directives were removed across restart

move that necessary initialization from the MPMs to common
code run from core's pre-config; MPMs that need to override
defaults can do so by running after core's pre-config (the
NetWare MPM now does that)

the DEFAULT_MAX_REQUESTS_PER_CHILD compile setting wasn't useful
enough to keep

the simple MPM wasn't consistent in which of these directives
were respected and which weren't, and that hasn't changed
(see procmgr.max_requests_per_child vs. ap_max_requests_per_child)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086293 13f79535-47bb-0310-9956-ffa450edef68

13 years agoResolve disagreement with its prototype
William A. Rowe Jr [Mon, 28 Mar 2011 15:50:34 +0000 (15:50 +0000)]
Resolve disagreement with its prototype

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086287 13f79535-47bb-0310-9956-ffa450edef68

13 years agoPick up Jeff's layout refactoring on win32.
William A. Rowe Jr [Mon, 28 Mar 2011 15:46:08 +0000 (15:46 +0000)]
Pick up Jeff's layout refactoring on win32.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086282 13f79535-47bb-0310-9956-ffa450edef68