]> granicus.if.org Git - apache/log
apache
16 years ago* Update transformation
Ruediger Pluem [Sat, 29 Dec 2007 16:11:36 +0000 (16:11 +0000)]
* Update transformation

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

16 years ago* Adjust etag generation to produce identical results on 32-bit and 64-bit
Ruediger Pluem [Sat, 29 Dec 2007 16:06:19 +0000 (16:06 +0000)]
* Adjust etag generation to produce identical results on 32-bit and 64-bit
  platforms and avoid a regression with conditional PUT's on lock and etag.

  Add a warning to the documentation of FileETAG that changes of the ETAG
  format can cause conditionals to fail on mod_dav_fs provided backends.

PR: 44152
Submitted by: Michael Clark <michael metaparadigm.com>
Reviewed by: rpluem

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

16 years agoadded empty line after var declaration.
Guenter Knauf [Sat, 29 Dec 2007 15:03:21 +0000 (15:03 +0000)]
added empty line after var declaration.

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

16 years agofixed code style, missing prototype warnings, disabled init for proxy, removed obsole...
Guenter Knauf [Sat, 29 Dec 2007 14:40:09 +0000 (14:40 +0000)]
fixed code style, missing prototype warnings, disabled init for proxy, removed obsolete cast.

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

16 years ago* Added missing CVE number
Ruediger Pluem [Sat, 29 Dec 2007 09:26:42 +0000 (09:26 +0000)]
* Added missing CVE number

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

16 years ago* Added missing CVE number
Ruediger Pluem [Sat, 29 Dec 2007 09:25:16 +0000 (09:25 +0000)]
* Added missing CVE number

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

16 years agoFix winnt bucket_alloc to borrow memory from the transaction
William A. Rowe Jr [Sat, 29 Dec 2007 07:54:55 +0000 (07:54 +0000)]
Fix winnt bucket_alloc to borrow memory from the transaction
pool, instead of exhausting pchild memory over a number of
connections.

PR: 11427
Submitted by: Alex Varju <alex varju.ca>

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

16 years agoSander pointed out to me that as we added ENGINE logic support
William A. Rowe Jr [Sat, 29 Dec 2007 06:09:15 +0000 (06:09 +0000)]
Sander pointed out to me that as we added ENGINE logic support
for 0.9.8, we never touched win32.  Resolve this for all of the
common win32 HAVE SSL related macros building against 0.9.8.

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

16 years agoIt turns out copy concat didn't work as I expected,
William A. Rowe Jr [Sat, 29 Dec 2007 03:59:01 +0000 (03:59 +0000)]
It turns out copy concat didn't work as I expected,
it does concat to the first named file, but not the
first filepath.

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

16 years agoAvoid build directory pollution
William A. Rowe Jr [Sat, 29 Dec 2007 03:49:35 +0000 (03:49 +0000)]
Avoid build directory pollution

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

16 years agoBelieve this or not, not every machine uses "C:\Documents and Settings",
William A. Rowe Jr [Sat, 29 Dec 2007 03:35:19 +0000 (03:35 +0000)]
Believe this or not, not every machine uses "C:\Documents and Settings",
split off the current user's name from USERPROFILE envvar.

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

16 years agoWin32 doesn't like \t#
William A. Rowe Jr [Fri, 28 Dec 2007 20:07:26 +0000 (20:07 +0000)]
Win32 doesn't like \t#

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

16 years agoAdd a placeholder to remind us that fcgistarter.exe, once
William A. Rowe Jr [Fri, 28 Dec 2007 19:48:55 +0000 (19:48 +0000)]
Add a placeholder to remind us that fcgistarter.exe, once
an implemention exists for apr_proc_create, needs to be added
to the build/install schema.

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

16 years ago* Ensure refresh parameter is numeric to prevent a possible XSS attack caused
Ruediger Pluem [Fri, 28 Dec 2007 16:29:40 +0000 (16:29 +0000)]
* Ensure refresh parameter is numeric to prevent a possible XSS attack caused
  by redirecting to other URLs. Reported by SecurityReason.

Submitted by: Mark Cox, Joe Orton
Reviewed by: security@httpd.apache.org

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

16 years ago* Fix CHANGES wording for r606693.
Ruediger Pluem [Fri, 28 Dec 2007 16:01:52 +0000 (16:01 +0000)]
* Fix CHANGES wording for r606693.

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

16 years ago* Correctly escape the worker route and the worker redirect string in the HTML
Ruediger Pluem [Fri, 28 Dec 2007 15:57:36 +0000 (15:57 +0000)]
* Correctly escape the worker route and the worker redirect string in the HTML
  output of the balancer manager.

Reported by SecurityReason.

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

16 years ago* Prevent crash in balancer manager if invalid balancer name is passed as
Ruediger Pluem [Fri, 28 Dec 2007 15:53:45 +0000 (15:53 +0000)]
* Prevent crash in balancer manager if invalid balancer name is passed as
  parameter.

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

16 years ago* Make loglevel consistent for similar situations. As this really should not
Ruediger Pluem [Fri, 28 Dec 2007 14:16:35 +0000 (14:16 +0000)]
* Make loglevel consistent for similar situations. As this really should not
  happen set it to error.

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

16 years agoPR 39727: Fixup ETag handling in mod deflate (updated following extensive
Nick Kew [Fri, 28 Dec 2007 12:03:20 +0000 (12:03 +0000)]
PR 39727: Fixup ETag handling in mod deflate (updated following extensive
discussion on-list).
This is not a full-and-final fix, because we don't ourselves do anything
useful with these ETags.  But at least we're no longer screwing up clients.

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

16 years agoFix typo in error message (noticed by gryzor on IRC)
Nick Kew [Fri, 28 Dec 2007 00:07:39 +0000 (00:07 +0000)]
Fix typo in error message (noticed by gryzor on IRC)

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

16 years agoEnable to configure the https port - missing pieces.
Guenter Knauf [Tue, 25 Dec 2007 20:02:55 +0000 (20:02 +0000)]
Enable to configure the https port - missing pieces.

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

16 years ago* Revert to old behaviour: Even if we detect a bad character: Formally decode
Ruediger Pluem [Tue, 25 Dec 2007 09:35:05 +0000 (09:35 +0000)]
* Revert to old behaviour: Even if we detect a bad character: Formally decode
  string correctly and do not mess up the string. Let the caller decide what
  it wants to do with the result according to our return code.

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

16 years agoAs per PR 43890. Fixed location paths to point to /usr/local/apache2/bin/
Tony Stevenson [Mon, 24 Dec 2007 23:57:54 +0000 (23:57 +0000)]
As per PR 43890.  Fixed location paths to point to /usr/local/apache2/bin/

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

16 years ago* Set character set for HTML outputs generated by mod_ldap,
Ruediger Pluem [Mon, 24 Dec 2007 11:45:22 +0000 (11:45 +0000)]
* Set character set for HTML outputs generated by mod_ldap,
  mod_proxy_balancer, mod_proxy_ftp, mod_info, mod_dav without a character
  set to ISO-8859-1.

Submitted by: jorton

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

16 years agoSolve service status handle leak on multi-service ApacheMonitor
William A. Rowe Jr [Sat, 22 Dec 2007 20:00:59 +0000 (20:00 +0000)]
Solve service status handle leak on multi-service ApacheMonitor
instances, and disconnect computer function on multi-system
applications of ApacheMonitor.

PR: 33803
Reported by: K.W.Schick <drax sawebs.com>

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

16 years agoInstall missing modules/xxx/foo.h garbage, the point of this
William A. Rowe Jr [Sat, 22 Dec 2007 04:35:18 +0000 (04:35 +0000)]
Install missing modules/xxx/foo.h garbage, the point of this
exercise, and why these aren't in includes/, still escapes me.

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

16 years agoReplace whitespace
William A. Rowe Jr [Sat, 22 Dec 2007 02:18:09 +0000 (02:18 +0000)]
Replace whitespace

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

16 years agoSolve two ssl issues; always install both ab.exe and abs.exe
William A. Rowe Jr [Sat, 22 Dec 2007 02:14:14 +0000 (02:14 +0000)]
Solve two ssl issues; always install both ab.exe and abs.exe
because it's easier to move around ab.exe when that's all
someone needs (and this is precisely how the binary installer
works, too), and also kindly ignore missing openssl tree files
because TIMTOWTDI (although this one is preferred :)

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

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