]> granicus.if.org Git - apache/log
apache
16 years agoUncouple fcgistarter from BuildBin
William A. Rowe Jr [Sat, 22 Dec 2007 01:57:28 +0000 (01:57 +0000)]
Uncouple fcgistarter from BuildBin

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

16 years agoAdd fcgistarter, but not as a target of BuildBin/BuildAll
William A. Rowe Jr [Sat, 22 Dec 2007 01:56:42 +0000 (01:56 +0000)]
Add fcgistarter, but not as a target of BuildBin/BuildAll
since it won't compile yet.

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

16 years agoEnabled to configure the https port as we do with http port too.
Guenter Knauf [Fri, 21 Dec 2007 20:59:03 +0000 (20:59 +0000)]
Enabled to configure the https port as we do with http port too.

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

16 years agoLet the installer lead on the origin sourceroot conf path
William A. Rowe Jr [Fri, 21 Dec 2007 20:08:56 +0000 (20:08 +0000)]
Let the installer lead on the origin sourceroot conf path

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

16 years agoQuoting this made it worse on us, not easier.
William A. Rowe Jr [Fri, 21 Dec 2007 19:18:01 +0000 (19:18 +0000)]
Quoting this made it worse on us, not easier.
Resolve SSLMutex default on win32.

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

16 years agoKill proxy\ dir, a horrible name with no corresponding example
William A. Rowe Jr [Fri, 21 Dec 2007 18:46:12 +0000 (18:46 +0000)]
Kill proxy\ dir, a horrible name with no corresponding example

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

16 years agoThe installer will have a temp-extras for these files.
William A. Rowe Jr [Fri, 21 Dec 2007 17:03:56 +0000 (17:03 +0000)]
The installer will have a temp-extras for these files.

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

16 years agoAdded server name indication (RFC 4366) support (PR 34607).
Guenter Knauf [Fri, 21 Dec 2007 13:16:21 +0000 (13:16 +0000)]
Added server name indication (RFC 4366) support (PR 34607).
Submitted by: Kaspar Brand <asfbugz velox.ch>

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

16 years agoTab-consistency (it's a makefile after all)
William A. Rowe Jr [Fri, 21 Dec 2007 11:25:04 +0000 (11:25 +0000)]
Tab-consistency (it's a makefile after all)

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

16 years agoPresent other variables
William A. Rowe Jr [Fri, 21 Dec 2007 11:24:42 +0000 (11:24 +0000)]
Present other variables

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

16 years agoalphasort
William A. Rowe Jr [Fri, 21 Dec 2007 11:20:02 +0000 (11:20 +0000)]
alphasort

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

16 years agoPlug in build/installwinconf.awk, unplug httpd-win.conf
William A. Rowe Jr [Fri, 21 Dec 2007 11:12:35 +0000 (11:12 +0000)]
Plug in build/installwinconf.awk, unplug httpd-win.conf
and follow the same general configuration as all platforms.

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

16 years agoAdd rel_sysconfdir interpolation, this rounds out all
William A. Rowe Jr [Fri, 21 Dec 2007 11:09:10 +0000 (11:09 +0000)]
Add rel_sysconfdir interpolation, this rounds out all
of the necessary @X@ patterns.

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

16 years agoModifications for 1) httpd.conf.in generic conf file, and
William A. Rowe Jr [Fri, 21 Dec 2007 11:01:50 +0000 (11:01 +0000)]
Modifications for 1) httpd.conf.in generic conf file, and
2) source tree build (in addition to the msi installer)
carefully dodging the installer's desire to delete sources.

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

16 years agoStart from svn httpd/httpd/win32-msi/trunk/InstallConf22.awk
William A. Rowe Jr [Fri, 21 Dec 2007 08:42:54 +0000 (08:42 +0000)]
Start from svn httpd/httpd/win32-msi/trunk/InstallConf22.awk
to use a single script for build time and installer conf rewrite.

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

16 years agoStart preparing to use the general-case httpd.conf.in,
William A. Rowe Jr [Fri, 21 Dec 2007 08:40:11 +0000 (08:40 +0000)]
Start preparing to use the general-case httpd.conf.in,
on Win32.

Note the quoted log *filenames*, which lets us figure
out the difference between fixing "access_log" to be
a windows friendly "access.log", and leaving the custom
log format name pretty_log alone.

Also, prefer the user specified port for example ServerName.

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

16 years agoUnix illustrates a default of 150 max childs, so make
William A. Rowe Jr [Fri, 21 Dec 2007 08:36:36 +0000 (08:36 +0000)]
Unix illustrates a default of 150 max childs, so make
winnt mpm consistent with this.  (Other mpm's should
also be reviewed.)

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

16 years ago* Using the reslist pool for the proxy_conn_rec structure introduces a memory
Ruediger Pluem [Thu, 20 Dec 2007 08:57:23 +0000 (08:57 +0000)]
* Using the reslist pool for the proxy_conn_rec structure introduces a memory
  leak when connections get created and destroyed frequently by the reslist
  (e.g.  destroying idle elements of the reslist). So use the subpool
  dedicated for the proxy_conn_rec structure to allocate the memory for the
  structure itself.

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

16 years agoCatch up to apr-1.3.0 which names the pdb's to match the static libs
William A. Rowe Jr [Wed, 19 Dec 2007 04:15:58 +0000 (04:15 +0000)]
Catch up to apr-1.3.0 which names the pdb's to match the static libs

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

16 years agoWhat's left can exceed size_t
William A. Rowe Jr [Wed, 19 Dec 2007 03:09:34 +0000 (03:09 +0000)]
What's left can exceed size_t

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

16 years agoWhen building to WinNT, CommandLineToArgvW must resolve.
William A. Rowe Jr [Wed, 19 Dec 2007 03:08:15 +0000 (03:08 +0000)]
When building to WinNT, CommandLineToArgvW must resolve.

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

16 years agoHandle args appropriately for an apr app.
William A. Rowe Jr [Wed, 19 Dec 2007 03:02:22 +0000 (03:02 +0000)]
Handle args appropriately for an apr app.

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

16 years agoIf something other than fork can work, this will become
William A. Rowe Jr [Wed, 19 Dec 2007 03:01:28 +0000 (03:01 +0000)]
If something other than fork can work, this will become
worth building on win32.

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

16 years agoRepair project file corruption
William A. Rowe Jr [Tue, 18 Dec 2007 21:55:19 +0000 (21:55 +0000)]
Repair project file corruption

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

16 years ago* Only sent a flush bucket down the chain if buckets where sent down the chain
Ruediger Pluem [Tue, 18 Dec 2007 20:03:01 +0000 (20:03 +0000)]
* Only sent a flush bucket down the chain if buckets where sent down the chain
  before that could still be buffered in the network filter. This is the case
  if we have sent an EOS bucket or if we actually sent buckets with
  data down the chain. In all other cases we either have not sent any
  buckets at all down the chain or we only sent meta buckets that are
  not EOS buckets down the chain. The only meta bucket that remains in
  this case is the flush bucket which would have removed all possibly
  buffered buckets in the network filter.
  If we sent a flush bucket in the case where not ANY buckets were
  sent down the chain, we break error handling which happens AFTER us.

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

16 years agoWhat an obscure reference. Also note the build will append
William A. Rowe Jr [Mon, 17 Dec 2007 17:46:58 +0000 (17:46 +0000)]
What an obscure reference.  Also note the build will append
OPENSSL's LICENSE after the AL in LICENSE.

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

16 years agoupdate convmap
André Malo [Sat, 15 Dec 2007 20:22:08 +0000 (20:22 +0000)]
update convmap

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

16 years agoupdate transformation
André Malo [Sat, 15 Dec 2007 20:21:16 +0000 (20:21 +0000)]
update transformation

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

16 years agosvn:eol-style = native
André Malo [Sat, 15 Dec 2007 20:13:42 +0000 (20:13 +0000)]
svn:eol-style = native

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

16 years ago'segement' typo
Vincent Bray [Sat, 15 Dec 2007 17:35:38 +0000 (17:35 +0000)]
'segement' typo

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

16 years agoUpdate transformations
Vincent Bray [Sat, 15 Dec 2007 17:32:30 +0000 (17:32 +0000)]
Update transformations

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

16 years agoCorrect reference to directive
Vincent Bray [Sat, 15 Dec 2007 17:29:47 +0000 (17:29 +0000)]
Correct reference to directive

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

16 years agoFix broken markup from r602806 (again)
Vincent Bray [Sat, 15 Dec 2007 17:23:19 +0000 (17:23 +0000)]
Fix broken markup from r602806 (again)

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

16 years agoFix broken markup from r602806
Vincent Bray [Sat, 15 Dec 2007 17:18:11 +0000 (17:18 +0000)]
Fix broken markup from r602806

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

16 years ago* Tag the pools appropriately to ease memory debugging.
Ruediger Pluem [Sat, 15 Dec 2007 16:19:36 +0000 (16:19 +0000)]
* Tag the pools appropriately to ease memory debugging.

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

16 years ago* Fix a SEGFAULT by ensuring that buckets that may have been buffered in the
Ruediger Pluem [Sat, 15 Dec 2007 16:15:04 +0000 (16:15 +0000)]
* Fix a SEGFAULT by ensuring that buckets that may have been buffered in the
  network filters get flushed to the network. This is needed since
  these buckets have been created with the bucket allocator of the
  backend connection. This allocator either gets destroyed if
  conn->close is set or the worker address is not reusable which
  causes the connection to the backend to be closed or it will be used
  again by another frontend connection that wants to recycle the
  backend connection.
  In this case we could run into nasty race conditions (e.g. if the
  next user of the backend connection destroys the allocator before we
  sent the buckets to the network).

  Remark 1: Doing a setaside does not help here as the buckets remain
  created by the wrong allocator in this case.

  Remark 2: Yes, this creates a possible performance penalty in the case
  of pipelined requests as we may send only a small amount of data over
  the wire.

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

16 years ago* This change was backported.
Ruediger Pluem [Fri, 14 Dec 2007 22:36:44 +0000 (22:36 +0000)]
* This change was backported.

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

16 years agoAdd a note about double quoting a multihost LDAP URL.
Bradley Nicholes [Fri, 14 Dec 2007 16:52:09 +0000 (16:52 +0000)]
Add a note about double quoting a multihost LDAP URL.

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

16 years ago* Those are backported.
Ruediger Pluem [Thu, 13 Dec 2007 19:39:05 +0000 (19:39 +0000)]
* Those are backported.

Pointed out by: Takashi Sato <serai lans-tv.com>

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

16 years ago* These have been backported.
Ruediger Pluem [Wed, 12 Dec 2007 20:56:15 +0000 (20:56 +0000)]
* These have been backported.

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

16 years ago* Do not register connection_cleanup as cleanup for the conn->pool. In the past
Ruediger Pluem [Wed, 12 Dec 2007 10:38:19 +0000 (10:38 +0000)]
* Do not register connection_cleanup as cleanup for the conn->pool. In the past
  it was needed to register connection_cleanup as a cleanup for the frontend
  connection memory pool (c->pool) to ensure that connection returns into the
  connection pool if the memory pool of the frontend connection memory pool
  gets destroyed / cleared. Now we ensure explicitly the connection returns
  to the connection pool once we finished handling the request.

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

16 years ago* Fix another memory leak related to PR 44026. Now that we keep the connection
Ruediger Pluem [Wed, 12 Dec 2007 07:44:02 +0000 (07:44 +0000)]
* Fix another memory leak related to PR 44026. Now that we keep the connection
  data structure alive in the reslist, the live time of c->pool is too long.
  r->pool has the correct live time since rp dies before r.

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

16 years agohttp_protocol: Escape request method in 405 error reporting.
Jeff Trawick [Tue, 11 Dec 2007 20:08:12 +0000 (20:08 +0000)]
http_protocol: Escape request method in 405 error reporting.
This has no security impact since the browser cannot be tricked
into sending arbitrary method strings.

(words from jorton)

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

16 years agoFix CVE-2007-5000:
Joe Orton [Tue, 11 Dec 2007 16:02:23 +0000 (16:02 +0000)]
Fix CVE-2007-5000:

* modules/mappers/mod_imagemap.c (menu_header): Fix
  cross-site-scripting issue by escaping the URI, and ensure that a
  charset parameter is sent in the content-type to prevent
  autodetection by broken browsers.

Reported by: JPCERT

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

16 years agoIntroduce --kill argument to ApacheMonitor for use by the
William A. Rowe Jr [Tue, 11 Dec 2007 13:32:40 +0000 (13:32 +0000)]
Introduce --kill argument to ApacheMonitor for use by the
installer.  This will permit the installation tool to remove
all running instances before attempting to remove the .exe.

Note that since the introduction of CriticalSections, our
compatibility with NT 4 was destroyed, and at this point that
is no loss (there are no more security updates to NT 4 ergo
it's not an OS we want connected to the internet, anyways).
The WTS api calls require 2000 or later, but I'm not wrapping
them since nobody notices the same issue with CriticalSections.

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

16 years ago* Use a separate subpool to manage the data for the socket and the connection
Ruediger Pluem [Tue, 11 Dec 2007 13:27:21 +0000 (13:27 +0000)]
* Use a separate subpool to manage the data for the socket and the connection
  member of the proxy_conn_rec struct as we destroy this data more frequently
  than other data in the proxy_conn_rec struct like hostname and addr (at least
  in the case where we have keepalive connections that timed out and were
  closed by the backend).
  This fixes a memory leak with short lived and broken connections.

PR: 44026

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

16 years ago* Do not set filter context brigade to NULL (and thus need to recreate it each
Ruediger Pluem [Tue, 11 Dec 2007 12:48:39 +0000 (12:48 +0000)]
* Do not set filter context brigade to NULL (and thus need to recreate it each
  time) but empty it (via APR_BRIGADE_PREPEND) and reuse it.

Submitted by: Stefan Fritsch <sf sfritsch.de>
Reviewed by: rpluem

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

16 years agoDocument the usage of ProxyIOBufferSize to extend the default AJP message length.
Mladen Turk [Mon, 10 Dec 2007 08:10:02 +0000 (08:10 +0000)]
Document the usage of ProxyIOBufferSize to extend the default AJP message length.

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

16 years agoUse 64K as maximum allowable AJP packet size
Mladen Turk [Mon, 10 Dec 2007 07:35:52 +0000 (07:35 +0000)]
Use 64K as maximum allowable AJP packet size

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

16 years ago* Update transformation.
Ruediger Pluem [Sun, 9 Dec 2007 22:13:57 +0000 (22:13 +0000)]
* Update transformation.

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

16 years ago* mod_substitute is no longer experimental.
Ruediger Pluem [Sun, 9 Dec 2007 22:08:56 +0000 (22:08 +0000)]
* mod_substitute is no longer experimental.

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

16 years ago* Do not split the brigade if the flush bucket is the last bucket in the brigade.
Ruediger Pluem [Sun, 9 Dec 2007 22:03:10 +0000 (22:03 +0000)]
* Do not split the brigade if the flush bucket is the last bucket in the brigade.

PR: 23567
Submitted by: Stefan Fritsch <sf sfritsch.de>
Reviewed by: rpluem

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

16 years agoMake that two files that hadn't noticed the movement from experimental->filters
William A. Rowe Jr [Sun, 9 Dec 2007 18:13:21 +0000 (18:13 +0000)]
Make that two files that hadn't noticed the movement from experimental->filters

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

16 years agoOne file hadn't noted the movement -> filters from experimental
William A. Rowe Jr [Sun, 9 Dec 2007 18:10:44 +0000 (18:10 +0000)]
One file hadn't noted the movement -> filters from experimental

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

16 years ago* These one have been backported.
Ruediger Pluem [Sun, 9 Dec 2007 15:13:11 +0000 (15:13 +0000)]
* These one have been backported.

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

16 years agoCase statements should go on their own line. (No functional change.)
Justin Erenkrantz [Sun, 9 Dec 2007 10:48:54 +0000 (10:48 +0000)]
Case statements should go on their own line.  (No functional change.)

* modules/http/http_filters.c
  (ap_http_filter): Put case on its own line.

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

16 years ago* Enable the proxy to keep connections persistent in the HTTPS case.
Ruediger Pluem [Sat, 8 Dec 2007 20:10:29 +0000 (20:10 +0000)]
* Enable the proxy to keep connections persistent in the HTTPS case.

  Basicly the persistence is created by keeping the conn_rec structure
  created for our backend connection (whether http or https) in the connection
  pool. This required to adjust scoreboard.c in a way that its functions can
  properly deal with a NULL scoreboard handle by ignoring the call or returning
  an error code.

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

16 years ago* s/MAX_BUCKETS/AP_MAX_BUCKETS/ to avoid namespace conflicts as pointed out
Ruediger Pluem [Sat, 8 Dec 2007 19:28:12 +0000 (19:28 +0000)]
* s/MAX_BUCKETS/AP_MAX_BUCKETS/ to avoid namespace conflicts as pointed out
  by jim. No functional change.

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

16 years ago* All these changes have been backported.
Ruediger Pluem [Sat, 8 Dec 2007 16:59:27 +0000 (16:59 +0000)]
* All these changes have been backported.

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

16 years agoAlternate fix... profiling indicates that the string
Jim Jagielski [Sat, 8 Dec 2007 16:10:40 +0000 (16:10 +0000)]
Alternate fix... profiling indicates that the string
termination is completely unneeded and superflous. In
which case, the original allocation size is sufficient
since nothing external worries about a NULL nor
looks for it.

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

16 years ago* Optimize memory behaviour of mod_substitute by
Ruediger Pluem [Sat, 8 Dec 2007 14:03:43 +0000 (14:03 +0000)]
* Optimize memory behaviour of mod_substitute by

  * Precreate all needed brigades, save them in the filter context and reuse
    them in order to avoid frequent recreations using the request pool.

  * Use a temporary pool for all the needed copy stuff and clean it up every
    time we passed the passbb brigade down the chain. We can pass the
    brigade down the chain directly after we processed one bucket from the
    original brigade as buffering is done by the network filters.

  * Use transient instead of pool buckets.

  * There are cases that lead to the exceptional situation of a very large
    passbb bucket brigade (about 1,000,000 buckets) as a result of processing
    4 MB of a file. So I add a flush bucket once I have more than
    MAX_BUCKET (1000) buckets in the brigade and pass it down the chain to get
    it send and the passbb bucket brigade cleaned up and its memory reusable
    again.

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

16 years agoreadability tweak
Jeff Trawick [Sat, 8 Dec 2007 12:41:38 +0000 (12:41 +0000)]
readability tweak

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

16 years ago* If no data is available at this point of time we need to switch into the
Ruediger Pluem [Sat, 8 Dec 2007 09:23:26 +0000 (09:23 +0000)]
* If no data is available at this point of time we need to switch into the
  BODY_CHUNK_PART state like we do several lines later in the code in the
  same situation.

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

16 years agoUpdate transformations
Vincent Bray [Thu, 6 Dec 2007 07:14:02 +0000 (07:14 +0000)]
Update transformations

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

16 years agoVarious language fixes.
Vincent Bray [Thu, 6 Dec 2007 07:13:35 +0000 (07:13 +0000)]
Various language fixes.

Submitted by Lucien Gentis <lucien.gentis lorraine.iufm.fr>

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

16 years agoUpdate transformations
Vincent Bray [Wed, 5 Dec 2007 15:55:04 +0000 (15:55 +0000)]
Update transformations

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

16 years ago'Bodys' typo
Vincent Bray [Wed, 5 Dec 2007 15:38:43 +0000 (15:38 +0000)]
'Bodys' typo

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

16 years ago* modules/ssl/ssl_engine_kernel.c (upgrade_connection): Calling
Joe Orton [Tue, 4 Dec 2007 17:06:20 +0000 (17:06 +0000)]
* modules/ssl/ssl_engine_kernel.c (upgrade_connection): Calling
  SSL_renegotiate makes no sense here; remove copied comment.  No
  functional change.

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

16 years agoReflow ALL of 2.x trunk STATUS to the same indention (indent 4,
William A. Rowe Jr [Mon, 3 Dec 2007 20:06:37 +0000 (20:06 +0000)]
Reflow ALL of 2.x trunk STATUS to the same indention (indent 4,
with a hanging '*')

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

16 years agohttp_protocol: Escape request method in 413 error reporting.
William A. Rowe Jr [Mon, 3 Dec 2007 19:45:48 +0000 (19:45 +0000)]
http_protocol: Escape request method in 413 error reporting.
Determined to be not generally exploitable, but a flaw in any case.

PR: 44014
Submitted by: Victor Stinner <victor.stinner inl.fr>

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

16 years ago* modules/ssl/ssl_util_ocsp.c: Fix spelling mistake in comment; no
Joe Orton [Mon, 3 Dec 2007 11:58:42 +0000 (11:58 +0000)]
* modules/ssl/ssl_util_ocsp.c: Fix spelling mistake in comment; no
  functional change.

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

16 years ago* modules/ssl/ssl_engine_ocsp.c (verify_ocsp_status): Extract the
Joe Orton [Mon, 3 Dec 2007 11:51:14 +0000 (11:51 +0000)]
* modules/ssl/ssl_engine_ocsp.c (verify_ocsp_status): Extract the
  validity period from the OCSP response and check it.

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

16 years ago* modules/ssl/ssl_engine_log.c (ssl_log_cxerror): Drop 'peer' from the
Joe Orton [Mon, 3 Dec 2007 11:21:02 +0000 (11:21 +0000)]
* modules/ssl/ssl_engine_log.c (ssl_log_cxerror): Drop 'peer' from the
  log message since the passed-in cert may be e.g. the peer's issuer.

* modules/ssl/ssl_private.h (ssl_log_cxerror): Don't mention the word
  peer here either.

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

16 years ago* modules/ssl/ssl_util_ocsp.c (read_response): Bail out if the maximum
Joe Orton [Mon, 3 Dec 2007 11:15:31 +0000 (11:15 +0000)]
* modules/ssl/ssl_util_ocsp.c (read_response): Bail out if the maximum
  response-header count is exceeded.  Also bump to APLOG_ERR the log
  message given after a header read error.

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

16 years ago* modules/ssl/ssl_engine_kernel.c (ssl_hook_ReadReq): For performing
Joe Orton [Mon, 3 Dec 2007 11:06:35 +0000 (11:06 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_hook_ReadReq): For performing
  TLS upgrade, require only the presence of a "TLS/1.0" token
  somewhere in the Upgrade request-header, rather than as the exact
  header value.

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

16 years ago* modules/ssl/ssl_engine_io.c (ssl_io_input_add_filter,
Joe Orton [Mon, 3 Dec 2007 11:01:51 +0000 (11:01 +0000)]
* modules/ssl/ssl_engine_io.c (ssl_io_input_add_filter,
  ssl_io_filter_init): Don't clear f->r here after adding connection
  filters since ap_add_*_filter now guarantee to do it internally.

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

16 years agoFurther to r599711; document new API guarantee for handling non-NULL
Joe Orton [Mon, 3 Dec 2007 10:55:58 +0000 (10:55 +0000)]
Further to r599711; document new API guarantee for handling non-NULL
request_rec pointer when adding connection filters; minor MMN bump:

* server/util_filter.c (add_any_filter_handle): Set f->r for
  connection filters even if passed-in r is non-NULL.  Style nit fix
  also.

* include/util_filter.h (ap_add_output_filter,
  ap_add_output_filter_handle): Document new API guarantee.

* include/ap_mmn.h: Minor MMN bump.

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

16 years agoUpdate transformations
Vincent Bray [Sun, 2 Dec 2007 05:33:54 +0000 (05:33 +0000)]
Update transformations

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

16 years agoPR#44001 AuthDigestEnableQueryStringHack unnecessary for MSIE7.
Vincent Bray [Sun, 2 Dec 2007 05:33:12 +0000 (05:33 +0000)]
PR#44001 AuthDigestEnableQueryStringHack unnecessary for MSIE7.
Reported by: Takashi Sato <serai lans-tv.com>
Confirmed by: Vincent Jong <megaspaz tron.megaspaz.net> & noodl

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

16 years ago- when using "-l" reduce two consecutive calls to apr_time_now() to one.
Ruediger Pluem [Sat, 1 Dec 2007 16:14:21 +0000 (16:14 +0000)]
- when using "-l" reduce two consecutive calls to apr_time_now() to one.
  This will not change the logic if no "-l" gets used, and it will spare
  one call to apr_time_now() in case "-l" gets used and more important
  it gives the code better atomicity, because in fact between the two calls
  there is a slight change of jumping oder the DST boundary

- for historic reasons the same code block is used two times with a
  slightly different way of transforming apr_time_t to int
  (once division by APR_USEC_PER_SEC, once call to apr_time_sec()),
  so let's unify it.

- finally move the block into a function, because it gets used already
  two times.

PR: 44004
Submitted by: Rainer Jung <rainer.jung kippdata.de>
Reviewed by: rpluem

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

16 years agoUpdate transformations
Vincent Bray [Sat, 1 Dec 2007 02:19:05 +0000 (02:19 +0000)]
Update transformations

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

16 years ago'Recieved' typo
Vincent Bray [Sat, 1 Dec 2007 02:18:27 +0000 (02:18 +0000)]
'Recieved' typo

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

16 years agoOoops. Not sure why this didn't get deleted in the last commit to this file. This
Paul J. Reder [Fri, 30 Nov 2007 23:51:48 +0000 (23:51 +0000)]
Ooops. Not sure why this didn't get deleted in the last commit to this file. This
is no longer required due to the more optimal way the list of subgroup attributes
is now handled.

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

16 years agoFinal stage in this ldap commitathon. This fixes some problems
Paul J. Reder [Fri, 30 Nov 2007 23:39:43 +0000 (23:39 +0000)]
Final stage in this ldap commitathon. This fixes some problems
associated with processing of subgroup lists. There were some
problems that arose when the cache was referenced across possible
expirations. As of this fix the nested group code (and the caching
of queries related to nested groups) should be working correctly.

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

16 years agoNothing left to build in this directory
Bradley Nicholes [Fri, 30 Nov 2007 18:39:28 +0000 (18:39 +0000)]
Nothing left to build in this directory

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

16 years agoRemove code that was both memory intensive and unnecessary. Replace the
Paul J. Reder [Fri, 30 Nov 2007 17:11:53 +0000 (17:11 +0000)]
Remove code that was both memory intensive and unnecessary. Replace the
complicated code with a simple list.

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

16 years agoImprove logged information and fix broken doc.
Paul J. Reder [Fri, 30 Nov 2007 16:59:14 +0000 (16:59 +0000)]
Improve logged information and fix broken doc.

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

16 years ago* Use the correct pool when adding connection level filters.
Ruediger Pluem [Fri, 30 Nov 2007 07:23:55 +0000 (07:23 +0000)]
* Use the correct pool when adding connection level filters.

Submitted by: jorton
Reviewed by: rpluem

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

16 years agoClear the reason pointer when the connection is cleaned. We don't
Paul J. Reder [Fri, 30 Nov 2007 00:21:06 +0000 (00:21 +0000)]
Clear the reason pointer when the connection is cleaned. We don't
need to be leaving historical info around.

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

16 years agoUpdate transformations
Vincent Bray [Fri, 30 Nov 2007 00:20:54 +0000 (00:20 +0000)]
Update transformations

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

16 years agoBriefly mention UserDir's url redirection abilities
Vincent Bray [Fri, 30 Nov 2007 00:20:19 +0000 (00:20 +0000)]
Briefly mention UserDir's url redirection abilities

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

16 years agoDo a better job of checking managing memory during subgroup processing.
Paul J. Reder [Fri, 30 Nov 2007 00:18:26 +0000 (00:18 +0000)]
Do a better job of checking managing memory during subgroup processing.
Try to be graceful and harmless in cases where we run out of SHM.

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

16 years agoGet rid of some compiler warnings.
Paul J. Reder [Fri, 30 Nov 2007 00:11:39 +0000 (00:11 +0000)]
Get rid of some compiler warnings.

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

16 years agoUserDir accepts multiple file paths. Submitted by: Vincent Jong <megaspaz tron.megasp...
Vincent Bray [Fri, 30 Nov 2007 00:03:09 +0000 (00:03 +0000)]
UserDir accepts multiple file paths. Submitted by: Vincent Jong <megaspaz tron.megaspaz.net>

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

16 years agoRepeated 'RewriteRule'
Vincent Bray [Thu, 29 Nov 2007 22:19:00 +0000 (22:19 +0000)]
Repeated 'RewriteRule'

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

16 years ago* Detabify and make spacing in HTML code the same as before r593816. This
Ruediger Pluem [Thu, 29 Nov 2007 21:48:18 +0000 (21:48 +0000)]
* Detabify and make spacing in HTML code the same as before r593816. This
  avoids that the autoindex test (t/modules/autoindex) fails. Adjusting
  the autoindex test would cause it to fail with older versions and would
  make it harder to recognize regressions.

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

16 years ago* modules/ssl/ssl_engine_ocsp.c, modules/ssl/ssl_private.h: Comment
Joe Orton [Thu, 29 Nov 2007 16:14:47 +0000 (16:14 +0000)]
* modules/ssl/ssl_engine_ocsp.c, modules/ssl/ssl_private.h: Comment
  tweaks, no functional change.

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

16 years ago* modules/ssl/ssl_util_ocsp.c (serialize_request): Fix query string
Joe Orton [Thu, 29 Nov 2007 16:12:59 +0000 (16:12 +0000)]
* modules/ssl/ssl_util_ocsp.c (serialize_request): Fix query string
  handling.

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

16 years ago- regenerate for mod_ssl OCSP directives
Joe Orton [Thu, 29 Nov 2007 13:58:53 +0000 (13:58 +0000)]
- regenerate for mod_ssl OCSP directives

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

16 years ago- add documentation of mod_ssl OCSP directives.
Joe Orton [Thu, 29 Nov 2007 13:58:22 +0000 (13:58 +0000)]
- add documentation of mod_ssl OCSP directives.

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