]> granicus.if.org Git - apache/log
apache
13 years agoFixed Win32 build.
Guenter Knauf [Wed, 6 Jul 2011 09:26:10 +0000 (09:26 +0000)]
Fixed Win32 build.

Submitted by Gregg L. Smith <gls gknw.net>

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

13 years agoStupid CodeWarrior compiler cant initialize structs with vars.
Guenter Knauf [Wed, 6 Jul 2011 09:19:50 +0000 (09:19 +0000)]
Stupid CodeWarrior compiler cant initialize structs with vars.

Submitted by NormW <normw gknw.net>

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

13 years agoAdded mod_log_debug to NetWare build.
Guenter Knauf [Wed, 6 Jul 2011 09:18:53 +0000 (09:18 +0000)]
Added mod_log_debug to NetWare build.

Submitted by NormW <normw gknw.net>

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

13 years agoRemoved define which is now in ap_ldap.h.
Guenter Knauf [Tue, 5 Jul 2011 23:39:29 +0000 (23:39 +0000)]
Removed define which is now in ap_ldap.h.

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

13 years agoAdded creating ap_ldap.h for NetWare.
Guenter Knauf [Tue, 5 Jul 2011 22:56:29 +0000 (22:56 +0000)]
Added creating ap_ldap.h for NetWare.

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

13 years agoNo tabs please.
Guenter Knauf [Tue, 5 Jul 2011 22:54:37 +0000 (22:54 +0000)]
No tabs please.

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

13 years agoFix a few warnings about use of uninitialized values.
Stefan Fritsch [Tue, 5 Jul 2011 20:24:33 +0000 (20:24 +0000)]
Fix a few warnings about use of uninitialized values.

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

13 years agoAllow to specify module specific custom linker flags
Rainer Jung [Tue, 5 Jul 2011 09:24:23 +0000 (09:24 +0000)]
Allow to specify module specific custom linker flags
via the MOD_XXX_LDADD variables.

Use APR_ADDTO instead of APR_SETVAR or direct
variable assignment.

This is especially useful when building mod_lua
or mod_deflate against a lua resp. libz which
are installed in non-standard locations.
One can add "-R ..." to MOD_LUA_LDADD and
MOD_DEFLATE_LDADD before configure to fix
the RPATH/RUNPATH of those modules.

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

13 years agoMove PCRE_LIBS from HTTPD_LDFLAGS to
Rainer Jung [Tue, 5 Jul 2011 05:48:24 +0000 (05:48 +0000)]
Move PCRE_LIBS from HTTPD_LDFLAGS to
PROGRAM_LDADD.

Otherwise -lpcre comes before libmain which leads
to undefined recences during linking of httpd.

Followup to r1142739.

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

13 years agoTolerate dependency checking failures in configure
Rainer Jung [Tue, 5 Jul 2011 05:31:22 +0000 (05:31 +0000)]
Tolerate dependency checking failures in configure
for modules that have been enabled only implicitely.

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

13 years agoLine already contained in aclocal.m4.
Rainer Jung [Mon, 4 Jul 2011 17:13:42 +0000 (17:13 +0000)]
Line already contained in aclocal.m4.

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

13 years agoOnly link the httpd binary against PCRE.
Rainer Jung [Mon, 4 Jul 2011 17:03:13 +0000 (17:03 +0000)]
Only link the httpd binary against PCRE.
No other support binary needs PCRE.

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

13 years agoSilence compiler warnings.
Rainer Jung [Mon, 4 Jul 2011 16:37:46 +0000 (16:37 +0000)]
Silence compiler warnings.

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

13 years agoReset LDFLAGS after zlib testing for mod_deflate.
Rainer Jung [Mon, 4 Jul 2011 16:20:33 +0000 (16:20 +0000)]
Reset LDFLAGS after zlib testing for mod_deflate.

Library flags are kept in MOD_DEFLATE_LDADD, not
globally in LDFLAGS.

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

13 years agoRespect platform specific runpath linker flag
Rainer Jung [Mon, 4 Jul 2011 15:19:00 +0000 (15:19 +0000)]
Respect platform specific runpath linker flag
when building mod_deflate and mod_lua.

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

13 years ago1) Add --with-distcache to configure for choosing
Rainer Jung [Mon, 4 Jul 2011 13:03:01 +0000 (13:03 +0000)]
1) Add --with-distcache to configure for choosing
the distcache installation directory.

2) Use correct build variable MOD_SOCACHE_DC_LDADD
instead of MOD_SOCACHE_LDADD in build macro.

Also made the macro a bit more consistent with the
SSL checking macro.

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

13 years agoSupport reallyall option to configure also for
Rainer Jung [Mon, 4 Jul 2011 11:06:14 +0000 (11:06 +0000)]
Support reallyall option to configure also for
--enable-mods-static.

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

13 years agoeol-style native
Stefan Fritsch [Sun, 3 Jul 2011 20:04:54 +0000 (20:04 +0000)]
eol-style native

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

13 years agoOne more showstopper gone
Stefan Fritsch [Sun, 3 Jul 2011 19:57:41 +0000 (19:57 +0000)]
One more showstopper gone

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

13 years agoUpdate transforms
Stefan Fritsch [Sun, 3 Jul 2011 19:57:07 +0000 (19:57 +0000)]
Update transforms

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

13 years agoAdd some docs for AsyncRequestWorkerFactor
Stefan Fritsch [Sun, 3 Jul 2011 19:55:35 +0000 (19:55 +0000)]
Add some docs for AsyncRequestWorkerFactor

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

13 years agomake example config match the description; improve wording
Stefan Fritsch [Sun, 3 Jul 2011 16:51:04 +0000 (16:51 +0000)]
make example config match the description; improve wording

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

13 years agoFix build failure without HAVE_SYSLOG, e.g. on Netware
Stefan Fritsch [Sun, 3 Jul 2011 16:41:39 +0000 (16:41 +0000)]
Fix build failure without HAVE_SYSLOG, e.g. on Netware

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

13 years agoFix small docs typo.
Rainer Jung [Sun, 3 Jul 2011 14:08:21 +0000 (14:08 +0000)]
Fix small docs typo.

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

13 years agoInitialize apr_thread_t pointer to NULL so that apr_os_thread_put()
Jeff Trawick [Sat, 2 Jul 2011 18:53:29 +0000 (18:53 +0000)]
Initialize apr_thread_t pointer to NULL so that apr_os_thread_put()
allocates a new one.  This resolves a crash seen on WinXP, caused
by r1103595.

Bad revision found by: Gregg L Smith <gls gknw.net>

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

13 years agoUpdates.
Lucien Gentis [Sat, 2 Jul 2011 14:27:04 +0000 (14:27 +0000)]
Updates.

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

13 years agoupdate transforms
Stefan Fritsch [Sat, 2 Jul 2011 08:34:54 +0000 (08:34 +0000)]
update transforms

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

13 years agoAdd new non-default debugging module mod_log_debug
Stefan Fritsch [Sat, 2 Jul 2011 08:30:38 +0000 (08:30 +0000)]
Add new non-default debugging module mod_log_debug

It allows to log custom debug messages at various phases in the request
processing and is the first consumer of the new string-valued ap_expr API.

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

13 years agoUpdate auto-generated code
Stefan Fritsch [Sat, 2 Jul 2011 07:48:12 +0000 (07:48 +0000)]
Update auto-generated code

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

13 years agoAdd string valued expressions to ap_expr, do some API cleanup
Stefan Fritsch [Sat, 2 Jul 2011 07:45:00 +0000 (07:45 +0000)]
Add string valued expressions to ap_expr, do some API cleanup

- add possibility to have expressions that evaluate to a string and not to
  a boolean value
- modify ap_expr_parse_cmd() interface to support this and make it more
  convenient to use in general
- rename AP_EXPR_FLAGS_* to AP_EXPR_FLAG_* for consistency

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

13 years agoAdd REQUEST_STATUS variable to ap_expr
Stefan Fritsch [Sat, 2 Jul 2011 07:32:26 +0000 (07:32 +0000)]
Add REQUEST_STATUS variable to ap_expr

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

13 years agoFix logging of the log id of subrequests
Stefan Fritsch [Sat, 2 Jul 2011 06:45:54 +0000 (06:45 +0000)]
Fix logging of the log id of subrequests

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

13 years agoAdd some debug logging when loading server certificates
Stefan Fritsch [Wed, 29 Jun 2011 19:53:13 +0000 (19:53 +0000)]
Add some debug logging when loading server certificates

PR: 37912
Submitted by: Nick Burch <nick burch alfresco com>

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

13 years agoadd ap_ldap.h to svn:ignore
Stefan Fritsch [Wed, 29 Jun 2011 19:18:35 +0000 (19:18 +0000)]
add ap_ldap.h to svn:ignore

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

13 years agoremove ap_ldap.h in make distclean
Stefan Fritsch [Wed, 29 Jun 2011 19:16:36 +0000 (19:16 +0000)]
remove ap_ldap.h in make distclean

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

13 years agoFix compilation error due to missing LDAP_DECLARE definition
Stefan Fritsch [Wed, 29 Jun 2011 19:12:03 +0000 (19:12 +0000)]
Fix compilation error due to missing LDAP_DECLARE definition

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

13 years agorebuild transforms
Igor Galić [Wed, 29 Jun 2011 12:44:30 +0000 (12:44 +0000)]
rebuild transforms

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

13 years agoTypo pointed out by Mr Jink on IRC.
Igor Galić [Wed, 29 Jun 2011 12:43:18 +0000 (12:43 +0000)]
Typo pointed out by Mr Jink on IRC.

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

13 years agoAnd roll on to 2.3.14
Jim Jagielski [Tue, 28 Jun 2011 17:18:24 +0000 (17:18 +0000)]
And roll on to 2.3.14

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

13 years agoGet ready to tag as 2.3.13-beta
Jim Jagielski [Tue, 28 Jun 2011 17:16:06 +0000 (17:16 +0000)]
Get ready to tag as 2.3.13-beta

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

13 years agoUse APR_INLINE instead of inline, to support pre-C99 compilers
Stefan Fritsch [Mon, 27 Jun 2011 17:50:12 +0000 (17:50 +0000)]
Use APR_INLINE instead of inline, to support pre-C99 compilers

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

13 years ago* support/rotatelogs.c (main): Exit with success on EOF.
Joe Orton [Mon, 27 Jun 2011 16:16:56 +0000 (16:16 +0000)]
* support/rotatelogs.c (main): Exit with success on EOF.

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

13 years agoSimplify state handling in rotatelogs, fixing -L support in the case
Joe Orton [Mon, 27 Jun 2011 12:29:34 +0000 (12:29 +0000)]
Simplify state handling in rotatelogs, fixing -L support in the case
where open() fails for a new log file.

* support/rotatelogs.c (struct logfile): New structure.
  (struct rotate_status): Store only current logfile state here, using
  struct logfile.
  (close_logfile): Rename from closeFile; assume a valid logfile
  structure is passed in; simplify to use stored filename.
  (checkRotate, main): Adjust for new structure.
  (post_rotate): Adjust, move linkfile handling here.
  (doRotate): Simplify.

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

13 years agoFix breakage I introduced in r1130022, identified by Gregg L. Smith <gls@gknw.net>
William A. Rowe Jr [Mon, 27 Jun 2011 12:12:42 +0000 (12:12 +0000)]
Fix breakage I introduced in r1130022, identified by Gregg L. Smith <gls@gknw.net>

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

13 years agoAdd Sven's real name.
Joe Orton [Mon, 27 Jun 2011 12:06:38 +0000 (12:06 +0000)]
Add Sven's real name.

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

13 years agoTweak rotatelogs -p such that the program is invoked the first time a
Joe Orton [Mon, 27 Jun 2011 10:57:10 +0000 (10:57 +0000)]
Tweak rotatelogs -p such that the program is invoked the first time a
new log file is opened as well as for rotations:

* support/rotatelogs.c (usage): Update.
  (post_rotate): Omit third arg if no prev logfile known.
  (doRotate): Invoke even if no previous logfile was open.

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

13 years agoPick up the license notices from the LDAP code.
Joe Orton [Mon, 27 Jun 2011 09:31:21 +0000 (09:31 +0000)]
Pick up the license notices from the LDAP code.

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

13 years agoFix load order dependencies in LDAP code by switching to use of APR
Joe Orton [Mon, 27 Jun 2011 09:27:04 +0000 (09:27 +0000)]
Fix load order dependencies in LDAP code by switching to use of APR
optional functions for the inter-module API:

* modules/ldap/ldap_private.h: New file, containing "real" function
  declarations, copied from...

* include/ap_ldap.h.in, include/ap_ldap_url.h,
  include/ap_ldap_option.h, include/ap_ldap_init.h,
  include/ap_ldap_rebind.h: ... here.  All declarations changed to APR
  optional function declarations.

* modules/ldap/util_ldap.c (util_ldap_register_hooks): Register all
  the new optional functions.

* modules/aaa/mod_authnz_ldap.c (ImportULDAPOptFn): Pick up optional
  function stub for ap_ldap_url_parse.
  (mod_auth_ldap_parse_url): Use it here.

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

13 years agoUpdates.
Lucien Gentis [Sat, 25 Jun 2011 15:17:31 +0000 (15:17 +0000)]
Updates.

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

13 years agodox fix
Stefan Fritsch [Sat, 25 Jun 2011 12:44:08 +0000 (12:44 +0000)]
dox fix

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

13 years agoSupport specifying the local address to use.
Stefan Fritsch [Sat, 25 Jun 2011 12:00:26 +0000 (12:00 +0000)]
Support specifying the local address to use.

PR: 48930.
Submitted by: Peter Schuller <scode spotify com>

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

13 years agoMissing linebreak in example.
Rich Bowen [Fri, 24 Jun 2011 18:48:52 +0000 (18:48 +0000)]
Missing linebreak in example.

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

13 years agoCorrect link to mod_macro.
Rich Bowen [Fri, 24 Jun 2011 18:46:14 +0000 (18:46 +0000)]
Correct link to mod_macro.

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

13 years agoCorrects link to rewrite mass vhosting doc.
Rich Bowen [Fri, 24 Jun 2011 18:44:36 +0000 (18:44 +0000)]
Corrects link to rewrite mass vhosting doc.

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

13 years agoFix "statement not reached" warnings with sun cc
Stefan Fritsch [Fri, 24 Jun 2011 17:59:44 +0000 (17:59 +0000)]
Fix "statement not reached" warnings with sun cc

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

13 years agoupdate transforms, 2nd try :-/
Stefan Fritsch [Wed, 22 Jun 2011 21:34:41 +0000 (21:34 +0000)]
update transforms, 2nd try :-/

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

13 years agoUpdate transforms
Stefan Fritsch [Wed, 22 Jun 2011 21:28:38 +0000 (21:28 +0000)]
Update transforms

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

13 years agoVarious code cleanup
Stefan Fritsch [Wed, 22 Jun 2011 20:45:34 +0000 (20:45 +0000)]
Various code cleanup

PR: 51398
Submitted by: Christophe Jaillet <christophe jaillet wanadoo fr>

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

13 years agoWe already have ap_str_tolower(), so also add ap_str_toupper() function and use
Stefan Fritsch [Wed, 22 Jun 2011 20:24:27 +0000 (20:24 +0000)]
We already have ap_str_tolower(), so also add ap_str_toupper() function and use
it where possible.

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

13 years agoAdd support to ErrorLogFormat for logging the system unique
Stefan Fritsch [Wed, 22 Jun 2011 20:22:24 +0000 (20:22 +0000)]
Add support to ErrorLogFormat for logging the system unique
thread id under Linux

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

13 years agoFix build with recent apr_crypto API change
Stefan Fritsch [Wed, 22 Jun 2011 20:16:43 +0000 (20:16 +0000)]
Fix build with recent apr_crypto API change

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

13 years agoLog the deprecation warning at level info, not warn
Stefan Fritsch [Mon, 20 Jun 2011 22:57:24 +0000 (22:57 +0000)]
Log the deprecation warning at level info, not warn

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

13 years agoFix search'n'replace error: Actually warn if MaxClients is used
Stefan Fritsch [Mon, 20 Jun 2011 19:47:23 +0000 (19:47 +0000)]
Fix search'n'replace error: Actually warn if MaxClients is used

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

13 years agoNew AsyncRequestWorkerFactor directive to influence how many
Stefan Fritsch [Mon, 20 Jun 2011 19:45:08 +0000 (19:45 +0000)]
New AsyncRequestWorkerFactor directive to influence how many
connections will be accepted per process

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

13 years agoRemove dead assignment, as pointed out by Chris Wilson <cwilson vigilantsw com>
Stefan Fritsch [Mon, 20 Jun 2011 19:06:27 +0000 (19:06 +0000)]
Remove dead assignment, as pointed out by Chris Wilson <cwilson vigilantsw com>

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

13 years agoRename MaxClients to MaxRequestWorkers which describes more accurately what
Stefan Fritsch [Mon, 20 Jun 2011 19:00:52 +0000 (19:00 +0000)]
Rename MaxClients to MaxRequestWorkers which describes more accurately what
it does.

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

13 years agorotatelogs: Add support for running a custom program after a log
Joe Orton [Mon, 20 Jun 2011 10:28:05 +0000 (10:28 +0000)]
rotatelogs: Add support for running a custom program after a log
rotation.

* support/rotatelogs.c (post_rotate): New function.
  (usage, dumpConfig): Update.
  (doRotate): Save old filename before rotate; call post_rotate after
  successful rotation.
  (main): Add -p argument.

* docs/manual/programs/rotatelogs.xml: Document -p.

PR: 51285
Submitted by: <sveniu ifi.uio.no>, jorton

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

13 years agoCode cleanup: replace apr_table_set with non-copying apr_table_setn
Stefan Fritsch [Sun, 19 Jun 2011 18:50:12 +0000 (18:50 +0000)]
Code cleanup: replace apr_table_set with non-copying apr_table_setn
in a few places

Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr>

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

13 years agoDon't do OCSP checks for valid self-issued certs
Stefan Fritsch [Sun, 19 Jun 2011 18:19:42 +0000 (18:19 +0000)]
Don't do OCSP checks for valid self-issued certs

Submitted by: Kaspar Brand

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

13 years agoAvoid unnecessary renegotiations with SSLVerifyDepth 0.
Stefan Fritsch [Sun, 19 Jun 2011 18:03:55 +0000 (18:03 +0000)]
Avoid unnecessary renegotiations with SSLVerifyDepth 0.

PR: 48215
Submitted by: Kaspar Brand <asfbugz velox ch>

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

13 years agoDisplay information about asynchronous connections in the server-status
Stefan Fritsch [Sun, 19 Jun 2011 12:27:23 +0000 (12:27 +0000)]
Display information about asynchronous connections in the server-status
PR: 44377

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

13 years agoSome improvements for handling of many connections for MPM event:
Stefan Fritsch [Sun, 19 Jun 2011 12:23:42 +0000 (12:23 +0000)]
Some improvements for handling of many connections for MPM event:

- Process lingering close asynchronously instead of tying up worker threads
  (based on patch by Jeff Trawick).

- If the number of connections of a process is above

     threads_per_child  +  WORKER_OVERCOMMIT * (idle_workers - 1)

  (WORKER_OVERCOMMIT is fixed at 2, at the moment), or if all workers are busy,
  don't accept new connections in that process. Such a dynamic connection limit
  is necessary because we may have both async and non-async (ssl) connections.
  WORKER_OVERCOMMIT should be a config option.

- Don't count idle workers of not-accepting processes against MinSpareThreads,
  so that the parent will spawn new processes when necessary.

- If we receive a keep-alive request while all workers are busy, don't block
  but close the connection immediately so that the client will re-connect to a
  different process.

Related changes:

- Log what is going on at trace loglevels.
- Remove the bypass_push poll type flag, this code cannot be hit anymore
  (if it ever could?).
- Add some macro helpers for dealing with timeout queues.

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

13 years agoupdate transformation
André Malo [Sun, 19 Jun 2011 11:37:18 +0000 (11:37 +0000)]
update transformation

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

13 years agoremove duplicate entry / duplicate ID
André Malo [Sun, 19 Jun 2011 11:35:34 +0000 (11:35 +0000)]
remove duplicate entry / duplicate ID

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

13 years agoupdate transformation
André Malo [Sun, 19 Jun 2011 11:30:51 +0000 (11:30 +0000)]
update transformation

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

13 years agoproperty and xml fixes.
André Malo [Sun, 19 Jun 2011 11:24:29 +0000 (11:24 +0000)]
property and xml fixes.

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

13 years agoIf MaxMemFree is set, limit the number of recycled pools that is kept
Stefan Fritsch [Sat, 18 Jun 2011 22:29:49 +0000 (22:29 +0000)]
If MaxMemFree is set, limit the number of recycled pools that is kept

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

13 years agoSome logging tweaks
Stefan Fritsch [Sat, 18 Jun 2011 22:24:53 +0000 (22:24 +0000)]
Some logging tweaks

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

13 years agoFormatting changes, reuse 'now' variable instead of declaring a new one
Stefan Fritsch [Sat, 18 Jun 2011 22:23:53 +0000 (22:23 +0000)]
Formatting changes, reuse 'now' variable instead of declaring a new one
in several blocks.

No significant code change.

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

13 years agoRebuild a few out of date files.
Rich Bowen [Sat, 18 Jun 2011 19:43:47 +0000 (19:43 +0000)]
Rebuild a few out of date files.

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

13 years agoUpdate.
Lucien Gentis [Sat, 18 Jun 2011 13:53:59 +0000 (13:53 +0000)]
Update.

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

13 years agoFix graceful restart aborting connections
Stefan Fritsch [Sat, 18 Jun 2011 13:21:20 +0000 (13:21 +0000)]
Fix graceful restart aborting connections

PR: 43359
Submitted by: Takashi Sato <takashi lans-tv com>

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

13 years agos/seperate/separate/
Jeff Trawick [Fri, 17 Jun 2011 21:12:14 +0000 (21:12 +0000)]
s/seperate/separate/

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

13 years agorevert this... sorry
Jim Jagielski [Fri, 17 Jun 2011 18:14:45 +0000 (18:14 +0000)]
revert this... sorry

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

13 years agoNo mo subpool
Jim Jagielski [Fri, 17 Jun 2011 17:15:57 +0000 (17:15 +0000)]
No mo subpool

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

13 years agoRevert "fix unexpected enum operation"
Jim Jagielski [Fri, 17 Jun 2011 17:15:54 +0000 (17:15 +0000)]
Revert "fix unexpected enum operation"

This reverts commit d407a566ab24e576a3f143f5c27b2ccf90f5d8da.

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

13 years agofix unexpected enum operation
Jeff Trawick [Wed, 15 Jun 2011 15:51:57 +0000 (15:51 +0000)]
fix unexpected enum operation

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

13 years agoUpdate redirect-carefully workaround for WebDAVFS 1.4, Konqueror 4.x
Stefan Fritsch [Mon, 13 Jun 2011 21:13:08 +0000 (21:13 +0000)]
Update redirect-carefully workaround for WebDAVFS 1.4, Konqueror 4.x

PR: 43031
Submitted by: Hans de Graaff, Stefan Fritsch

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

13 years agoSimplify code with ap_str_tolower()
Stefan Fritsch [Mon, 13 Jun 2011 19:48:09 +0000 (19:48 +0000)]
Simplify code with ap_str_tolower()

Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr>

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

13 years agoAFAICS, we don't have a default cipher suite but depend on openssl's default.
Stefan Fritsch [Mon, 13 Jun 2011 19:30:05 +0000 (19:30 +0000)]
AFAICS, we don't have a default cipher suite but depend on openssl's default.
Document the fact that this default depends on the openssl version.
Recommend !aNULL over !ADH, because the former also excludes !AECDH in openssl
1.0+

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

13 years agoDisable AECDH ciphers in example config by using !aNULL (which includes
Stefan Fritsch [Mon, 13 Jun 2011 19:21:57 +0000 (19:21 +0000)]
Disable AECDH ciphers in example config by using !aNULL (which includes
all ciphers without authentication.

PR: 51363
Submitted by: Rob Stradling <rob comodo com>

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

13 years agoRemove spurious braces to fix clang warning
Stefan Fritsch [Mon, 13 Jun 2011 16:50:41 +0000 (16:50 +0000)]
Remove spurious braces to fix clang warning

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

13 years agoFix handling of cumulative system time
Stefan Fritsch [Mon, 13 Jun 2011 16:49:48 +0000 (16:49 +0000)]
Fix handling of cumulative system time

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

13 years agoIntroduce new function ap_get_conn_socket() to access the socket of
Stefan Fritsch [Mon, 13 Jun 2011 16:02:18 +0000 (16:02 +0000)]
Introduce new function ap_get_conn_socket() to access the socket of
a connection

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

13 years agoCode cleanup:
Stefan Fritsch [Mon, 13 Jun 2011 11:20:18 +0000 (11:20 +0000)]
Code cleanup:

1) use apr_palloc instead of apr_pcalloc when all the fields of the allocated
structure are set afterwards.

2) avoid useless calls to 'strcasecmp' when we have already found what we are
looking for.

Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr>
PR: 51329

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

13 years agoMerge repeated calls of ap_rputs.
Stefan Fritsch [Mon, 13 Jun 2011 11:11:48 +0000 (11:11 +0000)]
Merge repeated calls of ap_rputs.

Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr>
PR: 51330

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

13 years agoAvoid some memory allocations by using apr_table_setn where the string arguments
Stefan Fritsch [Mon, 13 Jun 2011 11:04:29 +0000 (11:04 +0000)]
Avoid some memory allocations by using apr_table_setn where the string arguments
are allocated from the request pool and not modified later on.

Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr>
PR: 51358

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

13 years agoAvoid some memory allocations by using apr_table_setn where the string
Stefan Fritsch [Mon, 13 Jun 2011 10:58:10 +0000 (10:58 +0000)]
Avoid some memory allocations by using apr_table_setn where the string
arguments are const.

Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr>
PR: 51357

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

13 years agoAvoid "`sentinel' attribute directive ignored" warning with gcc 3.x
Stefan Fritsch [Sun, 12 Jun 2011 10:40:17 +0000 (10:40 +0000)]
Avoid "`sentinel' attribute directive ignored" warning with gcc 3.x

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

13 years agoUpdates.
Lucien Gentis [Sat, 11 Jun 2011 15:38:13 +0000 (15:38 +0000)]
Updates.

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