]> granicus.if.org Git - apache/log
apache
12 years agoLuaScope also has a 'thread' value.
Daniel Gruno [Thu, 26 Jul 2012 11:32:32 +0000 (11:32 +0000)]
LuaScope also has a 'thread' value.

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

12 years agoRemove backported item from CHANGES.
Rainer Jung [Wed, 25 Jul 2012 21:29:50 +0000 (21:29 +0000)]
Remove backported item from CHANGES.

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

12 years agoRemove backported fix.
Joe Orton [Wed, 25 Jul 2012 15:21:35 +0000 (15:21 +0000)]
Remove backported fix.

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

12 years agoThese be in 2.4.x now
Jim Jagielski [Wed, 25 Jul 2012 11:56:20 +0000 (11:56 +0000)]
These be in 2.4.x now

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

12 years ago* modules/proxy/proxy_util.c (ap_proxy_location_reverse_map): Fix
Joe Orton [Wed, 25 Jul 2012 07:28:26 +0000 (07:28 +0000)]
* modules/proxy/proxy_util.c (ap_proxy_location_reverse_map): Fix
  to skip balancer:// prefix where applicable.

Reviewed by: rjung, rpluem
PR: 45434 (regressed since 2.2)

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

12 years agoxforms
Daniel Gruno [Tue, 24 Jul 2012 21:17:33 +0000 (21:17 +0000)]
xforms

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

12 years agoRemove reference to the 'server' value in LuaScope, since it doesn't exist.
Daniel Gruno [Tue, 24 Jul 2012 21:12:39 +0000 (21:12 +0000)]
Remove reference to the 'server' value in LuaScope, since it doesn't exist.

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

12 years agoTransforms.
Joe Orton [Tue, 24 Jul 2012 13:48:04 +0000 (13:48 +0000)]
Transforms.

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

12 years ago* docs/: Clarify ProxyBlock docs.
Joe Orton [Tue, 24 Jul 2012 13:47:54 +0000 (13:47 +0000)]
* docs/: Clarify ProxyBlock docs.

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

12 years ago* modules/proxy/proxy_util.c (ap_proxy_checkproxyblock): Add error
Joe Orton [Tue, 24 Jul 2012 13:01:13 +0000 (13:01 +0000)]
* modules/proxy/proxy_util.c (ap_proxy_checkproxyblock): Add error
  handling for apr_sockaddr_ip_getbuf(), minor code style tweaks.

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

12 years ago* modules/proxy/proxy_util.c (ap_proxy_checkproxyblock): Fix memory
Joe Orton [Tue, 24 Jul 2012 12:54:38 +0000 (12:54 +0000)]
* modules/proxy/proxy_util.c (ap_proxy_checkproxyblock): Fix memory
  leak/thread-unsafe use of pconf.

Submitted by: rpluem, jorton

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

12 years agosync with 2.4.x/CHANGES (r1365003)
Jeff Trawick [Tue, 24 Jul 2012 12:20:13 +0000 (12:20 +0000)]
sync with 2.4.x/CHANGES (r1365003)

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

12 years agoFix handling of ProxyBlock if a forward proxy is configured, and fix
Joe Orton [Tue, 24 Jul 2012 12:17:00 +0000 (12:17 +0000)]
Fix handling of ProxyBlock if a forward proxy is configured, and fix
mod_proxy_connect to avoid an inappropriate DNS lookup:

* modules/proxy/proxy_util.c (ap_proxy_checkproxyblock): Take hostname
  argument, make address argument optional.  Check names against
  hostname arg, omit if addr not given.
  (ap_proxy_determine_connection): Adjust for the above; pass hostname
  from URI not the next hop.

* modules/proxy/mod_proxy_ftp.c (proxy_ftp_handler): Adjust for
  ap_proxy_checkproxyblock change.

* modules/proxy/mod_proxy_connect.c (proxy_connect_handler): Adjust
  similarly, and avoid the DNS lookup on the request-URI hostname if a
  proxy is used.

* include/ap_mmn.h: Bump MMN.

PR: 43697

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

12 years agomod_lbmethod_heartbeat, mod_heartmonitor: Respect DefaultRuntimeDir/
Jeff Trawick [Mon, 23 Jul 2012 16:01:43 +0000 (16:01 +0000)]
mod_lbmethod_heartbeat, mod_heartmonitor: Respect DefaultRuntimeDir/
DEFAULT_REL_RUNTIMEDIR for the heartbeat storage file.

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

12 years agosync with 2.4.x/CHANGES
Jeff Trawick [Mon, 23 Jul 2012 13:08:37 +0000 (13:08 +0000)]
sync with 2.4.x/CHANGES

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

12 years agoFollow up to r1363557:
Jeff Trawick [Mon, 23 Jul 2012 12:15:39 +0000 (12:15 +0000)]
Follow up to r1363557:

Refactor with some existing code to slightly optimize thread tracking.

Fix an implementation problem affecting statically linked MPMs which
would break the ability to fail restart if a resource shortage was
found immediately.

Found by: rjung

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

12 years agoxforms
Daniel Gruno [Sun, 22 Jul 2012 16:05:59 +0000 (16:05 +0000)]
xforms

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

12 years agotypo fixes
Daniel Gruno [Sun, 22 Jul 2012 16:01:01 +0000 (16:01 +0000)]
typo fixes

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

12 years agotypo fix
Daniel Gruno [Sun, 22 Jul 2012 15:50:01 +0000 (15:50 +0000)]
typo fix

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

12 years agoxforms
Daniel Gruno [Sun, 22 Jul 2012 14:44:35 +0000 (14:44 +0000)]
xforms

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

12 years agofix a whitespace issue
Daniel Gruno [Sun, 22 Jul 2012 14:42:12 +0000 (14:42 +0000)]
fix a whitespace issue

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

12 years agocopy the context restrictions from sections.html for symlink
Eric Covener [Sun, 22 Jul 2012 14:37:03 +0000 (14:37 +0000)]
copy the context restrictions from sections.html for symlink
related options

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

12 years agotypo fixes
Daniel Gruno [Sun, 22 Jul 2012 14:15:04 +0000 (14:15 +0000)]
typo fixes

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

12 years agoRemove backported items from trunk CHANGES.
Rainer Jung [Sun, 22 Jul 2012 12:06:21 +0000 (12:06 +0000)]
Remove backported items from trunk CHANGES.

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

12 years agoRemove items from trunk CHANGES that have been ported back to 2.4.
Rainer Jung [Sun, 22 Jul 2012 11:26:35 +0000 (11:26 +0000)]
Remove items from trunk CHANGES that have been ported back to 2.4.

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

12 years agoCorrectly log the error returned by apr_dbd_pvselect()
Stefan Fritsch [Sun, 22 Jul 2012 08:31:52 +0000 (08:31 +0000)]
Correctly log the error returned by apr_dbd_pvselect()

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

12 years agoTweak a message added in r750567 so that the accept thread
Jeff Trawick [Sat, 21 Jul 2012 18:17:10 +0000 (18:17 +0000)]
Tweak a message added in r750567 so that the accept thread
logs the physical address it listens on instead of hostname|*.

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

12 years agoWhen -B is specified, search for a host address in the
Jeff Trawick [Sat, 21 Jul 2012 17:39:38 +0000 (17:39 +0000)]
When -B is specified, search for a host address in the
same family as the specified outbound interface.  If
impossible, fail at name resolution instead of bind().

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

12 years agoRPM packaging: add the fcgistarter man pages to the RPM.
Graham Leggett [Fri, 20 Jul 2012 15:51:03 +0000 (15:51 +0000)]
RPM packaging: add the fcgistarter man pages to the RPM.

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

12 years agoRPM packaging: remove the epoch to be consistent with APR and APR-util.
Graham Leggett [Fri, 20 Jul 2012 15:25:14 +0000 (15:25 +0000)]
RPM packaging: remove the epoch to be consistent with APR and APR-util.

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

12 years agoRPM packaging: The PID file goes in /var/run in the RPM layout.
Graham Leggett [Fri, 20 Jul 2012 15:23:46 +0000 (15:23 +0000)]
RPM packaging: The PID file goes in /var/run in the RPM layout.

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

12 years agoRPM packaging: Remove the BuildArch from the manual package, this forces
Graham Leggett [Fri, 20 Jul 2012 15:17:26 +0000 (15:17 +0000)]
RPM packaging: Remove the BuildArch from the manual package, this forces
the target to "noarch" for all packages and breaks the build on CentOS5.

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

12 years agoRPM packaging: The PID file goes in /var/run in the RPM layout.
Graham Leggett [Fri, 20 Jul 2012 15:15:41 +0000 (15:15 +0000)]
RPM packaging: The PID file goes in /var/run in the RPM layout.

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

12 years agoFix mod_deflate NetWare build.
Guenter Knauf [Thu, 19 Jul 2012 23:58:06 +0000 (23:58 +0000)]
Fix mod_deflate NetWare build.
Submitted by: normw gknw net.

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

12 years agompm_event, mpm_worker: Remain active amidst prevalent child process
Jeff Trawick [Thu, 19 Jul 2012 21:31:52 +0000 (21:31 +0000)]
mpm_event, mpm_worker: Remain active amidst prevalent child process
resource shortages.

This is a somewhat different direction than r168182 ("transient thread
creation errors shouldn't take down the whole server").

r168182: If APEXIT_CHILDSICK is received and there aren't any
         active children at the time, exit.

Now:     If APEXIT_CHILDSICK is received and we never successfully
         initialized a child, exit.

The issue seen with the r168182 handling is that it is rather easy
to be left with no active child processes (which causes the server
to exit completely) during a resource shortage that lasts for some
measurable period of time, as contrasted with a resource shortage
that results in only a handful of allocation failures.

Now the server will remain active, though as long as the resource
shortage exists children may continually fail and the parent will
try once per second to create a replacement.  The existing logic
to reduce the spawn rate after such errors will prevent the
parent from trying to create children more rapidly.

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

12 years agoxforms
Daniel Gruno [Thu, 19 Jul 2012 20:21:05 +0000 (20:21 +0000)]
xforms

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

12 years agoRemove .* from the equation in the "<Directory ~ ..." example.
Daniel Gruno [Thu, 19 Jul 2012 20:15:54 +0000 (20:15 +0000)]
Remove .* from the equation in the "<Directory ~ ..." example.
Submitted by: Daniel (comment #143 on site)

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

12 years agompm_event, mpm_worker: Fix cases where the spawn rate wasn't reduced
Jeff Trawick [Thu, 19 Jul 2012 17:54:13 +0000 (17:54 +0000)]
mpm_event, mpm_worker: Fix cases where the spawn rate wasn't reduced
after child process resource shortages.

The broken scenario:

  child X exits with APEXIT_CHILDSICK
  another child Y is created and reuses child X's scoreboard slot
  child X's exit status is processed

The case that worked is when child X's scoreboard slot hadn't
been reused by the time that its exit status was processed.

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

12 years agoforward(?)-port some changes that were made in 2.4 instead of trunk
Daniel Gruno [Thu, 19 Jul 2012 15:46:30 +0000 (15:46 +0000)]
forward(?)-port some changes that were made in 2.4 instead of trunk

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

12 years agoFollow the MS docs on AcceptEx/GetAcceptExSockaddrs by loading
Jeff Trawick [Thu, 19 Jul 2012 12:25:28 +0000 (12:25 +0000)]
Follow the MS docs on AcceptEx/GetAcceptExSockaddrs by loading
the function pointers dynamically.

There's no indication that this will resolve any operational
glitches, but it might make the accept path slightly faster.

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

12 years agoxforms
Daniel Gruno [Thu, 19 Jul 2012 10:24:47 +0000 (10:24 +0000)]
xforms

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

12 years agoAdd a link to the RFC explaining what 'realm' denotes.
Daniel Gruno [Thu, 19 Jul 2012 10:23:47 +0000 (10:23 +0000)]
Add a link to the RFC explaining what 'realm' denotes.

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

12 years ago2009 -> 2012
Daniel Gruno [Thu, 19 Jul 2012 06:48:08 +0000 (06:48 +0000)]
2009 -> 2012

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

12 years agoxforms
Daniel Gruno [Thu, 19 Jul 2012 06:29:07 +0000 (06:29 +0000)]
xforms

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

12 years agoold/new -> foo/bar in example, so it matches the description (and the following examples)
Daniel Gruno [Thu, 19 Jul 2012 06:28:01 +0000 (06:28 +0000)]
old/new -> foo/bar in example, so it matches the description (and the following examples)

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

12 years agomodernize some commentary on APEXIT_foo values
Jeff Trawick [Thu, 19 Jul 2012 00:09:27 +0000 (00:09 +0000)]
modernize some commentary on APEXIT_foo values

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

12 years agofix child exit status in prefork after certain errors in
Jeff Trawick [Thu, 19 Jul 2012 00:05:29 +0000 (00:05 +0000)]
fix child exit status in prefork after certain errors in
the child so that the parent resets the spawn rate to the
minimum

or:

mpm_prefork: Reduce spawn rate after a child process exits due to
unexpected poll or accept failure.

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

12 years agoavoid decls for some Unix-specific functions on Win32 too
Jeff Trawick [Wed, 18 Jul 2012 18:28:04 +0000 (18:28 +0000)]
avoid decls for some Unix-specific functions on Win32 too

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

12 years agofix APREQ declarations for MinGW builds
Jeff Trawick [Wed, 18 Jul 2012 18:15:25 +0000 (18:15 +0000)]
fix APREQ declarations for MinGW builds

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

12 years agoFix compile break when SIGPIPE is not defined
Jeff Trawick [Wed, 18 Jul 2012 17:58:11 +0000 (17:58 +0000)]
Fix compile break when SIGPIPE is not defined

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

12 years agoFix typo in docs, s/mod_ext-filter/mod_ext_filter/.
Rainer Jung [Tue, 17 Jul 2012 22:53:49 +0000 (22:53 +0000)]
Fix typo in docs, s/mod_ext-filter/mod_ext_filter/.

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

12 years agoLog the value of Status header lines in script responses rather than
Chris Darroch [Tue, 17 Jul 2012 15:26:27 +0000 (15:26 +0000)]
Log the value of Status header lines in script responses rather than
than just the fixed header name of "Status".

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

12 years agoxforms
Daniel Gruno [Tue, 17 Jul 2012 14:55:37 +0000 (14:55 +0000)]
xforms

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

12 years agoUse integer operators when comparing to TIME_HOUR
Daniel Gruno [Tue, 17 Jul 2012 14:52:54 +0000 (14:52 +0000)]
Use integer operators when comparing to TIME_HOUR
Reported by Florian in comment #124

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

12 years agoUse integer operators when comparing to TIME_HOUR
Eric Covener [Tue, 17 Jul 2012 14:23:56 +0000 (14:23 +0000)]
Use integer operators when comparing to TIME_HOUR

Reported by Florian in comment#124.

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

12 years agos/2.3/2.5/g in Makefile.win.
Rainer Jung [Mon, 16 Jul 2012 17:00:36 +0000 (17:00 +0000)]
s/2.3/2.5/g in Makefile.win.

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

12 years agoxforms
Daniel Gruno [Mon, 16 Jul 2012 15:02:36 +0000 (15:02 +0000)]
xforms

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

12 years agoAdd missing highlighting
Daniel Gruno [Mon, 16 Jul 2012 14:58:48 +0000 (14:58 +0000)]
Add missing highlighting

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

12 years agoBump it up because of r1361784.
Rainer Jung [Mon, 16 Jul 2012 13:06:37 +0000 (13:06 +0000)]
Bump it up because of r1361784.

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

12 years agoxforms
Daniel Gruno [Mon, 16 Jul 2012 09:26:34 +0000 (09:26 +0000)]
xforms

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

12 years agoAdd information about the possible values of ProxyExpressDBMType
Daniel Gruno [Mon, 16 Jul 2012 09:24:40 +0000 (09:24 +0000)]
Add information about the possible values of ProxyExpressDBMType

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

12 years agoCode clean up (remove useless memory allocation)
Stefan Fritsch [Sun, 15 Jul 2012 21:19:54 +0000 (21:19 +0000)]
Code clean up (remove useless memory allocation)

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

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

12 years agoVarious code clean up
Stefan Fritsch [Sun, 15 Jul 2012 21:14:00 +0000 (21:14 +0000)]
Various code clean up

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

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

12 years agoRemove some checking for out-of-mem conditions that cannot be hit
Stefan Fritsch [Sun, 15 Jul 2012 20:33:16 +0000 (20:33 +0000)]
Remove some checking for out-of-mem conditions that cannot be hit
because apr_pcalloc/apr_pool_create will call abort() anyway.

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

12 years agoFix indentation.
Rainer Jung [Sun, 15 Jul 2012 20:29:56 +0000 (20:29 +0000)]
Fix indentation.
No functional change.

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

12 years agoAdd missing HTTP status codes taken from
Rainer Jung [Sun, 15 Jul 2012 20:22:03 +0000 (20:22 +0000)]
Add missing HTTP status codes taken from

http://www.iana.org/assignments/http-status-codes/http-status-codes.xml

The new codes are now known and some canned error
strings are provided. The web server does not yet actually
produce them in responses or reacts on getting them
from an origin server when acting as a proxy or gateway.

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

12 years agoDon't count connections in lingering close state when
Stefan Fritsch [Sun, 15 Jul 2012 19:52:06 +0000 (19:52 +0000)]
Don't count connections in lingering close state when
calculating how many additional connections may be accepted

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

12 years agoKeep track of the number of clogged, lingering, and suspended connections
Stefan Fritsch [Sun, 15 Jul 2012 19:43:07 +0000 (19:43 +0000)]
Keep track of the number of clogged, lingering, and suspended connections

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

12 years agoSimplify handling of MaxConnectionsPerChild
Stefan Fritsch [Sun, 15 Jul 2012 19:31:49 +0000 (19:31 +0000)]
Simplify handling of MaxConnectionsPerChild

If we decrement the counter at accept time and not at close time,
we only need to access the counter in the listener thread and the
code gets much simpler.

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

12 years agoUpdates.
Lucien Gentis [Sun, 15 Jul 2012 13:41:32 +0000 (13:41 +0000)]
Updates.

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

12 years ago- Define LUA_COMPAT_ALL so mod_lua will be compatible with Lua 5.2
Daniel Gruno [Fri, 13 Jul 2012 16:59:07 +0000 (16:59 +0000)]
- Define LUA_COMPAT_ALL so mod_lua will be compatible with Lua 5.2
- Add an optional integer argument for parsebody, specifying the maximum size of POST that will be accepted.

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

12 years agoxforms
Daniel Gruno [Fri, 13 Jul 2012 11:16:01 +0000 (11:16 +0000)]
xforms

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

12 years agoAdd printf as a known function in Perl.
Daniel Gruno [Fri, 13 Jul 2012 11:15:45 +0000 (11:15 +0000)]
Add printf as a known function in Perl.

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

12 years agowhitespace issue
Daniel Gruno [Fri, 13 Jul 2012 11:14:29 +0000 (11:14 +0000)]
whitespace issue

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

12 years agoxforms
Daniel Gruno [Fri, 13 Jul 2012 11:13:13 +0000 (11:13 +0000)]
xforms

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

12 years agoAdd missing highlighting
Daniel Gruno [Fri, 13 Jul 2012 11:12:06 +0000 (11:12 +0000)]
Add missing highlighting

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

12 years ago* Set content type in case we return stale content.
Ruediger Pluem [Fri, 13 Jul 2012 11:04:09 +0000 (11:04 +0000)]
* Set content type in case we return stale content.

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

12 years agoupdate transformation
André Malo [Fri, 13 Jul 2012 08:05:45 +0000 (08:05 +0000)]
update transformation

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

12 years agoupdate bootstrap stylesheets to reflect manual lang-targets changes.
André Malo [Fri, 13 Jul 2012 08:02:14 +0000 (08:02 +0000)]
update bootstrap stylesheets to reflect manual lang-targets changes.

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

12 years agoset svnmailer:content-charset
André Malo [Fri, 13 Jul 2012 07:55:06 +0000 (07:55 +0000)]
set svnmailer:content-charset

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

12 years agor1052419 changed the default value of Options to FollowSymlinks,
Eric Covener [Wed, 11 Jul 2012 01:48:48 +0000 (01:48 +0000)]
r1052419 changed the default value of Options to FollowSymlinks,
but inadvertently made "AllowOverride Options" behave like
"AllowOverride Options=FollowSymLinks".

PR53444

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

12 years agomake varbuf functions treat AP_VARBUF_UNKNOWN consistently, improve docs
Stefan Fritsch [Tue, 10 Jul 2012 20:19:03 +0000 (20:19 +0000)]
make varbuf functions treat AP_VARBUF_UNKNOWN consistently, improve docs

ap_varbuf_pdup(): copying the whole buffer in case strlen ==
AP_VARBUF_UNKNOWN does not make sense as the caller can not set
the exact buffer size, only a minimum. No API change as previously
the behavior with AP_VARBUF_UNKNOWN was undocumented.

regsub_core(): Checking for vb->buf is useless, it cannot be NULL
unless ap_varbuf_init has not been called.

ap_varbuf_cfg_getline(): Initially, allocate enough memory to hold
an empty line. If strlen == AP_VARBUF_UNKNOWN, use strlen(buf) instead
of undefined behavior.

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

12 years agostyle in the neighborhood of a bug
Eric Covener [Tue, 10 Jul 2012 20:10:27 +0000 (20:10 +0000)]
style in the neighborhood of a bug

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

12 years agostyle fix
Stefan Fritsch [Tue, 10 Jul 2012 19:45:27 +0000 (19:45 +0000)]
style fix

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

12 years agoMake mod_deflate skip compression if compression is enabled at SSL level.
Stefan Fritsch [Mon, 9 Jul 2012 10:58:22 +0000 (10:58 +0000)]
Make mod_deflate skip compression if compression is enabled at SSL level.

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

12 years agoxforms
Daniel Gruno [Mon, 9 Jul 2012 07:38:20 +0000 (07:38 +0000)]
xforms

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

12 years agoFix some more whitespace issues with anchors.
Daniel Gruno [Mon, 9 Jul 2012 07:36:20 +0000 (07:36 +0000)]
Fix some more whitespace issues with anchors.

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

12 years agoxforms
Daniel Gruno [Sun, 8 Jul 2012 21:04:12 +0000 (21:04 +0000)]
xforms

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

12 years agoFix whitespace issue in links.
Daniel Gruno [Sun, 8 Jul 2012 21:02:13 +0000 (21:02 +0000)]
Fix whitespace issue in links.

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

12 years agoRevert accidental commit.
Ben Laurie [Fri, 6 Jul 2012 12:42:00 +0000 (12:42 +0000)]
Revert accidental commit.

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

12 years agoWork correctly with a development version of OpenSSL. I suspect
Ben Laurie [Fri, 6 Jul 2012 12:41:10 +0000 (12:41 +0000)]
Work correctly with a development version of OpenSSL. I suspect
something similar is needed when there are two OpenSSL installations,
one in a default location.

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

12 years ago* modules/ssl/ssl_util_ocsp.c (get_line): Don't set line[-1] to 0
Joe Orton [Fri, 6 Jul 2012 07:42:32 +0000 (07:42 +0000)]
* modules/ssl/ssl_util_ocsp.c (get_line): Don't set line[-1] to 0
  when len == 0.

Submitted by: Jim Meyering <meyering redhat.com>

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

12 years agoxforms ad libitum
Daniel Gruno [Thu, 5 Jul 2012 21:39:02 +0000 (21:39 +0000)]
xforms ad libitum

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

12 years agocomments.apache.org is live! Changing URL of the javascript to reflect this.
Daniel Gruno [Thu, 5 Jul 2012 21:29:58 +0000 (21:29 +0000)]
comments.apache.org is live! Changing URL of the javascript to reflect this.

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

12 years ago* modules/filters/mod_ext_filter.c (ef_unified_filter): Set hit_eos
Joe Orton [Thu, 5 Jul 2012 15:33:18 +0000 (15:33 +0000)]
* modules/filters/mod_ext_filter.c (ef_unified_filter): Set hit_eos
  flag on hitting EOS.
  (ef_input_filter): Give back EOS if filter is invoked after hitting
  EOS, rather than attempting (and failing) to read from the closed
  pipe to the child.

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

12 years agozap recent backports
Eric Covener [Wed, 4 Jul 2012 14:14:30 +0000 (14:14 +0000)]
zap recent backports

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

12 years agoxforms
Daniel Gruno [Wed, 4 Jul 2012 08:36:40 +0000 (08:36 +0000)]
xforms

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

12 years agoFix XML error.
Daniel Gruno [Wed, 4 Jul 2012 08:33:19 +0000 (08:33 +0000)]
Fix XML error.

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

12 years agoAdd examples of <Files ...> that don't involve regex.
Daniel Gruno [Wed, 4 Jul 2012 08:30:37 +0000 (08:30 +0000)]
Add examples of <Files ...> that don't involve regex.

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

12 years agoadd a pointer to 'rewriteoptions', without giving away the option name, if someone
Eric Covener [Tue, 3 Jul 2012 16:19:29 +0000 (16:19 +0000)]
add a pointer to 'rewriteoptions', without giving away the option name, if someone
happens to have rewrite trace on when mod_rewrite declines a non URL-path.

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