]> granicus.if.org Git - apache/log
apache
17 years agoImprove traces in ap_proxy_http_process_response().
Jean-Frederic Clere [Thu, 21 Jun 2007 08:01:30 +0000 (08:01 +0000)]
Improve traces in ap_proxy_http_process_response().
That will help to investigate PR 37770. (errors from backend :-)).

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

17 years agoThis issue now has a CVE name
Mark J. Cox [Thu, 21 Jun 2007 07:41:02 +0000 (07:41 +0000)]
This issue now has a CVE name

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

17 years ago* Remove unused variables from set_define() function to fix a compiler warning.
Ruediger Pluem [Wed, 20 Jun 2007 19:32:49 +0000 (19:32 +0000)]
* Remove unused variables from set_define() function to fix a compiler warning.

Submitted by: Geoffrey Young <geoff modperlcookbook.org>
Reviewed by: rpluem

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

17 years ago* Update transformation
Ruediger Pluem [Wed, 20 Jun 2007 19:16:00 +0000 (19:16 +0000)]
* Update transformation

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

17 years agoFix CVE-2006-5752:
Joe Orton [Wed, 20 Jun 2007 17:29:24 +0000 (17:29 +0000)]
Fix CVE-2006-5752:

* modules/generators/mod_status.c (status_handler): Specify charset in
content-type to prevent browsers doing charset "detection", which
allows an XSS attack.  Use logitem-escaping on the request string to
make it charset-neutral.

Reported by: Stefan Esser <sesser hardened-php.net>

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

17 years ago* docs/manual/developer/output-filters.xml: Fix grammar.
Joe Orton [Wed, 20 Jun 2007 15:32:28 +0000 (15:32 +0000)]
* docs/manual/developer/output-filters.xml: Fix grammar.

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

17 years ago* .gdbinit: Add a few useful macros, and set defaults
Joe Orton [Wed, 20 Jun 2007 15:30:39 +0000 (15:30 +0000)]
* .gdbinit: Add a few useful macros, and set defaults
for signal handling appropriate for httpd debugging.

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

17 years agoTweak text for PR 39245 fix; handling of 1xx interim responses is
Joe Orton [Wed, 20 Jun 2007 15:27:08 +0000 (15:27 +0000)]
Tweak text for PR 39245 fix; handling of 1xx interim responses is
not affected by this change.

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

17 years agoPR 31978, submitted by Ryan Morgan, resubmitted by Tony Stevenson.
Jason S. Lingohr [Sun, 17 Jun 2007 07:21:08 +0000 (07:21 +0000)]
PR 31978, submitted by Ryan Morgan, resubmitted by Tony Stevenson.

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

17 years agoPID table impl: parent process keeps a local table store of
Jim Jagielski [Sat, 16 Jun 2007 21:29:24 +0000 (21:29 +0000)]
PID table impl: parent process keeps a local table store of
Apache child process PIDs and uses that to check validity
of what's in the scoreboard.

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

17 years agoRather than handling lingering closes inline, fall down to a following if block,...
Paul Querna [Wed, 13 Jun 2007 02:41:09 +0000 (02:41 +0000)]
Rather than handling lingering closes inline, fall down to a following if block, which handles them correctly.

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

17 years agoImprove mc_session_id2sz as suggested by Rüdiger.
Paul Querna [Wed, 13 Jun 2007 02:18:59 +0000 (02:18 +0000)]
Improve mc_session_id2sz as suggested by Rüdiger.

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

17 years agoMake default values for memcache config defines, rather than inline constants.
Paul Querna [Wed, 13 Jun 2007 02:10:04 +0000 (02:10 +0000)]
Make default values for memcache config defines, rather than inline constants.

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

17 years agoAdd the 'Define' command to the core. This does exactly the same thing as adding...
Paul Querna [Tue, 12 Jun 2007 22:24:42 +0000 (22:24 +0000)]
Add the 'Define' command to the core.  This does exactly the same thing as adding a -D FOO to your command line.

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

17 years agoAdding the clogging input filters patch was a minor MMN bump
Paul Querna [Tue, 12 Jun 2007 22:21:17 +0000 (22:21 +0000)]
Adding the clogging input filters patch was a minor MMN bump

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

17 years agoFixup style nitpicks:
Paul Querna [Tue, 12 Jun 2007 20:55:57 +0000 (20:55 +0000)]
Fixup style nitpicks:
 - Empty lines should not have spaces
 - Declare static functions in http_core.c at the top.

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

17 years agoAdd a clogging_input_filters variable to the conn_rec, enabling the Event MPM to...
Paul Querna [Tue, 12 Jun 2007 00:32:24 +0000 (00:32 +0000)]
Add a clogging_input_filters variable to the conn_rec, enabling the Event MPM to know when its running with an input filter that buffers its own data, like mod_ssl.

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

17 years agoFix a bug in the use of i2d_SSL_SESSION, since it increments the pointer of the buffe...
Paul Querna [Tue, 12 Jun 2007 00:29:17 +0000 (00:29 +0000)]
Fix a bug in the use of i2d_SSL_SESSION, since it increments the pointer of the buffer passed, we need to use ucaData rather than ucp to put it into memcache.

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

17 years agoI doubt adding a newline to the end of the file
Joshua Slive [Mon, 11 Jun 2007 18:53:14 +0000 (18:53 +0000)]
I doubt adding a newline to the end of the file
is going to hurt anyone.

PR: 42615

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

17 years agoArrange the proxy timeout behaviour.
Jean-Frederic Clere [Mon, 11 Jun 2007 12:40:37 +0000 (12:40 +0000)]
Arrange the proxy timeout behaviour.

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

17 years agoVarious out-of-date translation version diffs, and a .meta.
Jason S. Lingohr [Mon, 11 Jun 2007 06:22:41 +0000 (06:22 +0000)]
Various out-of-date translation version diffs, and a .meta.

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

17 years agoUpdate to include RFC 4346, TLS protocol version 1.1.
Jason S. Lingohr [Sun, 10 Jun 2007 04:57:36 +0000 (04:57 +0000)]
Update to include RFC 4346, TLS protocol version 1.1.

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

17 years agoPatch submitted by Tony Stevenson, modifications by myself.
Jason S. Lingohr [Sun, 10 Jun 2007 04:39:22 +0000 (04:39 +0000)]
Patch submitted by Tony Stevenson, modifications by myself.

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

17 years agoFix a typo, as per PR 40447.
Jason S. Lingohr [Sun, 10 Jun 2007 03:14:42 +0000 (03:14 +0000)]
Fix a typo, as per PR 40447.

Submitted by Tony Stevenson.

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

17 years agoFor the DBM SSL Session Cache, propogate down pools to use for allocations. In most...
Paul Querna [Fri, 8 Jun 2007 20:18:17 +0000 (20:18 +0000)]
For the DBM SSL Session Cache, propogate down pools to use for allocations.  In most cases, we can use the conn_rec::pool, but for ssl_callback_DelSessionCacheEntry, we still use the long lived configuration pool, but this change at least makes it easier to fix in the future.

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

17 years agoPropogate the conn_rec::pool down to ssl_scache_retrieve so that the memcache layer...
Paul Querna [Fri, 8 Jun 2007 20:04:34 +0000 (20:04 +0000)]
Propogate the conn_rec::pool down to ssl_scache_retrieve so that the memcache layer doesn't 'leak' into a long lived pool for temp allocations.

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

17 years agoFix error mesage for when a user trys to use memcache, but support is not available.
Paul Querna [Fri, 8 Jun 2007 16:00:14 +0000 (16:00 +0000)]
Fix error mesage for when a user trys to use memcache, but support is not available.

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

17 years agoIncrement the enum correctly.
Paul Querna [Fri, 8 Jun 2007 03:30:05 +0000 (03:30 +0000)]
Increment the enum correctly.

Noticed By: Ryan Phillips

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

17 years agoUse the absolute timeout, as provided by mod_ssl, rather than trying to calculate...
Paul Querna [Fri, 8 Jun 2007 03:17:41 +0000 (03:17 +0000)]
Use the absolute timeout, as provided by mod_ssl, rather than trying to calculate a relative timeout. (which did it wrong anyways).

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

17 years agoAdd support for distributed caching of SSL Sessions inside memcached, using apr_memca...
Paul Querna [Fri, 8 Jun 2007 02:48:04 +0000 (02:48 +0000)]
Add support for distributed caching of SSL Sessions inside memcached, using apr_memcache, which is present in APR-Util 1.3/trunk.

This was originally written at ApacheCon US 2005 (San Diego), and was sent to the list:
http://mail-archives.apache.org/mod_mbox/httpd-dev/200512.mbox/%3C439C6C07.9030904@force-elite.com%3E

This version is slightly cleaned up, and of course, uses the now bundled apr_memcache, rather than an external dependency.

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

17 years ago* Preset the form fields for route and redirect with the values of the active
Ruediger Pluem [Wed, 6 Jun 2007 20:02:56 +0000 (20:02 +0000)]
* Preset the form fields for route and redirect with the values of the active
  configuration in the scoreboard and not with the ones loaded from the
  configuration files.

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

17 years agoSECURITY: CVE-2007-1862 (cve.mitre.org)
Eric Covener [Fri, 1 Jun 2007 15:50:12 +0000 (15:50 +0000)]
SECURITY: CVE-2007-1862 (cve.mitre.org)
mod_mem_cache: Copy headers into longer lived storage; header names and
values could previously point to cleaned up storage

PR: 41551
Submitted by: Davi Arnaut <davi haxent.com.br>
Reviewed by: covener

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

17 years ago* Prevent running through the error stack by returning OK and setting r->status
Ruediger Pluem [Sun, 27 May 2007 13:57:46 +0000 (13:57 +0000)]
* Prevent running through the error stack by returning OK and setting r->status
  accordingly if ret is HTTP_NOT_MODIFIED as this breaks mod_cache validating a
  stale entity.

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

17 years ago* Also add a possible ETag header to r->headers_out. We need to have it there
Ruediger Pluem [Sun, 27 May 2007 11:26:04 +0000 (11:26 +0000)]
* Also add a possible ETag header to r->headers_out. We need to have it there
  for our later call to ap_meets_conditions a few lines above. Having it put
  in the merge table will fail as merge and r->err_headers_out get merged
  AFTER our call to ap_meets_conditions. Besides of this having multiple
  ETag headers (or a merged version of them) does not seem to make sense.

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

17 years agoPR#39710 - badly broken errordocuments for CGI
Nick Kew [Sat, 26 May 2007 18:50:18 +0000 (18:50 +0000)]
PR#39710 - badly broken errordocuments for CGI

We've just had another duplicate report of this on bugzilla.
We've got a simple patch, and people asking WTF is going on
with inaction.  Noone seems clear on why the patch shouldn't
be applied (http://marc.info/?l=apache-httpd-dev&m=117760311129386&w=2).

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

17 years agoAdds an example using multiple file extensions, to answer a
Rich Bowen [Fri, 25 May 2007 15:11:46 +0000 (15:11 +0000)]
Adds an example using multiple file extensions, to answer a
frequently-asked (IRC) question that came up yet again today.

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

17 years agoExplain that POST data should be sent as the correct MIME type.
Sander Temme [Thu, 24 May 2007 02:19:04 +0000 (02:19 +0000)]
Explain that POST data should be sent as the correct MIME type.
Submitted by Vincent Bray noodlet at gmail dot com,
edited and reviewed by sctemme

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

17 years agoapr_dbd_check_conn() just returns APR_SUCCESS or APR_EGENERAL, so we
Chris Darroch [Sat, 19 May 2007 05:01:44 +0000 (05:01 +0000)]
apr_dbd_check_conn() just returns APR_SUCCESS or APR_EGENERAL, so we
don't actually have a driver-specific value to pass to apr_dbd_error(),
but that's OK because most/all drivers just ignore this value anyway

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

17 years agomod_cache: Do not set Date or Expires when they are missing from the original
Justin Erenkrantz [Fri, 18 May 2007 22:42:59 +0000 (22:42 +0000)]
mod_cache: Do not set Date or Expires when they are missing from the original
response or are invalid.

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

17 years agomod_cache: Correctly handle HEAD requests on expired cache content. PR 41230.
Justin Erenkrantz [Fri, 18 May 2007 22:38:08 +0000 (22:38 +0000)]
mod_cache: Correctly handle HEAD requests on expired cache content.  PR 41230.

* modules/cache/mod_cache.c
  (cache_save_filter): Properly handle HEAD responses when we have a stale handle.

(This patch was revised by Justin/Ruediger.)

Submitted by: Niklas Edmundsson
Reviewed by: Justin, Ruediger

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

17 years agoDocument new directive
Jim Jagielski [Fri, 18 May 2007 12:43:55 +0000 (12:43 +0000)]
Document new directive

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

17 years agoBackported
Jim Jagielski [Fri, 18 May 2007 12:41:52 +0000 (12:41 +0000)]
Backported

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

17 years agoSync with 2.2.5 CHANGES
Justin Erenkrantz [Fri, 18 May 2007 06:15:11 +0000 (06:15 +0000)]
Sync with 2.2.5 CHANGES

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

17 years ago* Sync with 2.2.x CHANGES file
Ruediger Pluem [Thu, 17 May 2007 21:16:56 +0000 (21:16 +0000)]
* Sync with 2.2.x CHANGES file

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

17 years agomod_cache: Let Cache-Control max-age set the expiration of the cached
Justin Erenkrantz [Thu, 17 May 2007 18:25:13 +0000 (18:25 +0000)]
mod_cache: Let Cache-Control max-age set the expiration of the cached
representation if Expires is not set.

* modules/cache/mod_cache.c
  (cache_save_filter): If Cache-Control max-age is set and Expires isn't,
  let that value control our expiration.

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

17 years agomod_disk_cache: If the Vary'd content is stale, we can handle it via our
Justin Erenkrantz [Thu, 17 May 2007 18:17:23 +0000 (18:17 +0000)]
mod_disk_cache: If the Vary'd content is stale, we can handle it via our
freshness tests which will attempt to revalidate the content.

* modules/cache/mod_disk_cache.c
  (open_entity): If the root Vary index is stale, we don't need to throw away
  potentially stale content - we can try to refresh it.

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

17 years agomod_disk_cache: When renegotiating an already cached Vary'd response, do not
Justin Erenkrantz [Thu, 17 May 2007 16:20:06 +0000 (16:20 +0000)]
mod_disk_cache: When renegotiating an already cached Vary'd response, do not
let us later throw away the renegotiated content due to a name mismatch.

We do not need to update the ->name field just before writing the headers as
the computed ->name on open and create is sufficient.  Updating ->name here is
essentially a no-op - except in the case of Vary where the key has internally
changed (to account for the Vary prefix), but the original name has not.
However, writing the Vary'd-accounted key means that when we read the cache
next that we will error out and disregard the just renegotiated response and
fetch the content all over again - oops!

(This is largely a case where I think we may have overthought ourselves; hence
the explanation is here in the commit rather than in the file itself.)

* modules/cache/mod_disk_cache.c
  (store_headers): The originally opened ->name is sufficient.
* CHANGES: Combined with r538992, note that renegotiation for Vary's seem to
  work far better.

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

17 years agomod_disk_cache: When renegotiating an already cached Vary'd response, create
Justin Erenkrantz [Thu, 17 May 2007 16:10:29 +0000 (16:10 +0000)]
mod_disk_cache: When renegotiating an already cached Vary'd response, create
the refreshed .vary structure in the right directory.  Otherwise, we'll create
a new .vary layout underneath the already existing one - oops!

* modules/cache/mod_disk_cache.c
  (store_headers): Temporarily clear dobj->prefix if it is set to ensure that
  we create the .vary structure underneath the cache root.

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

17 years ago* Sync with 2.2.x CHANGES file
Ruediger Pluem [Thu, 17 May 2007 10:59:31 +0000 (10:59 +0000)]
* Sync with 2.2.x CHANGES file

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

17 years agoRFC 2616 13.2.1 calls out max-age as being a valid 'explicit expiration time',
Justin Erenkrantz [Thu, 17 May 2007 05:43:18 +0000 (05:43 +0000)]
RFC 2616 13.2.1 calls out max-age as being a valid 'explicit expiration time',
so per Sec. 13.9 permit queries with just max-age instead of only Expires.

* modules/cache/mod_cache.c
  (cache_save_filter): Be closer to RFC 2616's intent for query arguments.
* CHANGES: Update.

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

17 years agoDoccos update... sync up to current time.
Jim Jagielski [Sun, 13 May 2007 15:29:06 +0000 (15:29 +0000)]
Doccos update... sync up to current time.

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

17 years agoFold in ProxyPassMatch directive with docs. Support
Jim Jagielski [Sun, 13 May 2007 15:28:29 +0000 (15:28 +0000)]
Fold in ProxyPassMatch directive with docs. Support
full regex substitution but also allow for "simple"
cases (ala JkMount) to work as well.

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

17 years agoAdd regex pattern matching to ProxyPass, allowing,
Jim Jagielski [Sat, 12 May 2007 14:12:24 +0000 (14:12 +0000)]
Add regex pattern matching to ProxyPass, allowing,
for example:

   ProxyPass ~ \.gif balancer://imagecluster

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

17 years agoAdd detection for post XP operating systems.
Mladen Turk [Tue, 8 May 2007 04:45:54 +0000 (04:45 +0000)]
Add detection for post XP operating systems.
Think this can be safely backported to 2.2 and 2.0 branches

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

17 years ago* Sync with 2.2.x CHANGES file
Ruediger Pluem [Mon, 7 May 2007 15:37:36 +0000 (15:37 +0000)]
* Sync with 2.2.x CHANGES file

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

17 years ago- In AP_MODE_SPECULATIVE ap_core_input_filter returns APR_SUCCESS and an empty
Ruediger Pluem [Mon, 7 May 2007 14:20:09 +0000 (14:20 +0000)]
- In AP_MODE_SPECULATIVE ap_core_input_filter returns APR_SUCCESS and an empty
  brigade in the case that a non blocking read from the socket returned
  APR_EAGAIN. So getting an empty brigade also shows that no data is present
  in the input filter.
  While this reduces the number of false positives for "real data" in the input
  filter the behaviour is not as good as before 533820 because if there are
  only CRLF's in the input filter we do not flush, but we should. To fix this
  it seems that a simulation of AP_MODE_EATCRLF is needed inside of
  check_pipeline.
- Destroy brigade bb at the end of the function.

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

17 years ago* Prevent a segmentation fault if one of the Cache-Control headers
Ruediger Pluem [Sun, 6 May 2007 14:35:02 +0000 (14:35 +0000)]
* Prevent a segmentation fault if one of the Cache-Control headers
  s-maxage, max-age, min-fresh, max-stale has no value assigned.
  In this case ignore s-maxage, max-age, min-fresh. For max-stale
  it is valid to set no value. In this case set max-stale to 1 year
  to signal that the client is accepting a stale response of any age.

Submitted by: Niklas Edmundsson <nikke acc.umu.se>
Reviewed by: rpluem

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

17 years agothe problem with Event and mod_ssl was fixed with rev. 533820. I'm not
Greg Ames [Fri, 4 May 2007 20:12:46 +0000 (20:12 +0000)]
the problem with Event and mod_ssl was fixed with rev. 533820.  I'm not
aware of problems with other input filters that aren't addressed in that fix.

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

17 years agoAbstract out (kinda) MSG_PEEK. This way when we
Jim Jagielski [Fri, 4 May 2007 19:12:38 +0000 (19:12 +0000)]
Abstract out (kinda) MSG_PEEK. This way when we
actually update APR and apr_socket_recvfrom()
to know about APR_MSG_OOB, APR_MSG_PEEK, etc...
this code won't need to be adjusted. Also,
make nicer for 2.2 backport.

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

17 years agoAs discussed on docs@httpd, remove the FAQ and replace it with the contents
Joshua Slive [Fri, 4 May 2007 14:13:42 +0000 (14:13 +0000)]
As discussed on docs@httpd, remove the FAQ and replace it with the contents
of the old support.xml and a pointer to the wiki.

Of possible interest: I've also removed the link to the professional support
database, since it was returning error 500 for some time and nobody
seemed to care.

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

17 years ago* Add extern "C" linkage to several headers to make it easier to use
Ruediger Pluem [Fri, 4 May 2007 11:11:26 +0000 (11:11 +0000)]
* Add extern "C" linkage to several headers to make it easier to use
  them in C++ code.

PR: 42286
Submitted by: Davi Arnaut <davi haxent.com.br>
Reviewed by: rpluem

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

17 years agoEnglish Revision: 478131
Hiroaki Kawai [Fri, 4 May 2007 07:15:24 +0000 (07:15 +0000)]
English Revision: 478131

Submitted by: Takashi Sato
Reviewed by: Hiroaki Kawai

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

17 years agoUpdate the status of the access control directives
Bradley Nicholes [Wed, 2 May 2007 16:39:40 +0000 (16:39 +0000)]
Update the status of the access control directives

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

17 years agore-introduce ap_satisfies API back into core and modify how the access_checker, check...
Bradley Nicholes [Wed, 2 May 2007 16:31:39 +0000 (16:31 +0000)]
re-introduce ap_satisfies API back into core and modify how the access_checker, check_user_id and auth_checker hooks are called so that they respect the precedence that is set through the satisfy ALL/ANY directive. This also restores the directives order, allow, deny, satisfyas supported directives rather than being deprecated.  These directives still remain in mod_access_compat however.

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

17 years agoSync with recently backported patches
Jim Jagielski [Tue, 1 May 2007 13:26:06 +0000 (13:26 +0000)]
Sync with recently backported patches

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

17 years ago* Rework the error handling logic to make it more readable.
Ruediger Pluem [Tue, 1 May 2007 12:17:30 +0000 (12:17 +0000)]
* Rework the error handling logic to make it more readable.

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

17 years agocheck_pipeline: use AP_MODE_SPECULATIVE to check for data in the input filters
Greg Ames [Mon, 30 Apr 2007 18:16:06 +0000 (18:16 +0000)]
check_pipeline:  use AP_MODE_SPECULATIVE to check for data in the input filters
to accomodate mod_ssl's input filter.  AP_MODE_EATCRLF is essentially a no-op
in that filter.

this fixes missing imbedded graphics etc when using the Event MPM with mod_ssl
with HTTP pipelining enabled in the browser.  the pipelined requests after the
first were never read from mod_ssl's input filter.  it might reduce unneeded
flushes with other MPMs.

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

17 years agoEnglish Revision: 522942
Hiroaki Kawai [Sun, 29 Apr 2007 14:21:15 +0000 (14:21 +0000)]
English Revision: 522942

Submitted by: Takashi Sato
Reviewed by: Hiroaki Kawai

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

17 years agoTypo: slashed -> slashes
Rich Bowen [Sat, 28 Apr 2007 13:39:20 +0000 (13:39 +0000)]
Typo: slashed -> slashes

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

17 years agoAdd two new mime types, per the IANA registrations:
Greg Stein [Wed, 25 Apr 2007 01:09:35 +0000 (01:09 +0000)]
Add two new mime types, per the IANA registrations:

  http://www.iana.org/assignments/media-types/application/vnd.google-earth.kml+xml
  http://www.iana.org/assignments/media-types/application/vnd.google-earth.kmz

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

17 years ago`build all`
André Malo [Tue, 24 Apr 2007 22:22:49 +0000 (22:22 +0000)]
`build all`

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

17 years agoxml validation and drop the <pre>
André Malo [Tue, 24 Apr 2007 22:16:42 +0000 (22:16 +0000)]
xml validation and drop the <pre>

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

17 years ago`build extraclean all`
André Malo [Tue, 24 Apr 2007 13:58:07 +0000 (13:58 +0000)]
`build extraclean all`
`build convmap`

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

17 years agoProperty fixup
André Malo [Tue, 24 Apr 2007 13:52:20 +0000 (13:52 +0000)]
Property fixup

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

17 years agonewlines
André Malo [Tue, 24 Apr 2007 13:07:44 +0000 (13:07 +0000)]
newlines

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

17 years agoAdd forgotten '||true' to prevent 'make install-man' from returning an error if rsync...
Martin Kraemer [Tue, 24 Apr 2007 10:56:14 +0000 (10:56 +0000)]
Add forgotten '||true' to prevent 'make install-man' from returning an error if rsync is not present on the platform

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

17 years agolog the uri for some access-denied paths when r->filename is
Jeff Trawick [Tue, 17 Apr 2007 14:36:12 +0000 (14:36 +0000)]
log the uri for some access-denied paths when r->filename is
unset

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

17 years agocommit generated html file from changes in r527969
Jeff Trawick [Thu, 12 Apr 2007 15:10:12 +0000 (15:10 +0000)]
commit generated html file from changes in r527969

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

17 years agoHTTP proxy ProxyErrorOverride: Leave 1xx and 3xx responses alone. Only
Jeff Trawick [Thu, 12 Apr 2007 15:07:11 +0000 (15:07 +0000)]
HTTP proxy ProxyErrorOverride: Leave 1xx and 3xx responses alone.  Only
processing of error responses (4xx, 5xx) will be altered.

PR: 39245

This is based on a patch submitted by Bart van der Schans <schans hippo.nl>
and tweaked slightly by me based on discussions on dev@ since April 2006.
I think rpleum was the first to mention the 1xx issue.

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

17 years agoEncourage people to look at ./configure --help
Rich Bowen [Tue, 10 Apr 2007 13:11:30 +0000 (13:11 +0000)]
Encourage people to look at ./configure --help
Several people this week have seemed to think that this document should
list all the options. Perhaps that's not entirely unreasonable, but it
isn't going to happen any time soon.

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

17 years agosync with 2.2.x branch
Jeff Trawick [Mon, 9 Apr 2007 20:57:15 +0000 (20:57 +0000)]
sync with 2.2.x branch

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

17 years agohtdbm: Enable crypt support on platforms with crypt() but not
Jeff Trawick [Mon, 9 Apr 2007 19:49:59 +0000 (19:49 +0000)]
htdbm: Enable crypt support on platforms with crypt() but not
<crypt.h>, such as z/OS.

We assume that the ancient code in htpasswd has it right --
all but Windows, TPF, and NetWare have crypt().

Submitted by: David Jones <oscaremma gmail.com>
Reviewed by: wrowe, trawick

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

17 years agoCorrect behavior of HTTP request headers sent by ab in presence of -H command-
Sander Temme [Mon, 9 Apr 2007 18:50:28 +0000 (18:50 +0000)]
Correct behavior of HTTP request headers sent by ab in presence of -H command-
line overrides.  Previously, ab would concatenate a supplied -H User-Agent:
header to the existing one, and send duplicate headers if either -H Host: or
-H Accept: were specified on the command line.

Now, the default headers are not sent if they are overridden using the -H
command-line flag.

Submitted by:  Arvind Srinivasan arvind.srinivasan  sun.com
Reviewed by: sctemme
PR: 31268, 26554

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

17 years agomoved socket type string to build/NWGNUenvironment.inc.
Guenter Knauf [Sun, 8 Apr 2007 23:21:00 +0000 (23:21 +0000)]
moved socket type string to build/NWGNUenvironment.inc.

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

17 years agomoved a couple of options to the generated def file since -copy option seems broken;
Guenter Knauf [Sun, 8 Apr 2007 23:19:10 +0000 (23:19 +0000)]
moved a couple of options to the generated def file since -copy option seems broken;
this makes the def file also compatible to other NLM linkers.

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

17 years agoThe apr_port_t type is unsigned, but ab was using a signed format code in
Sander Temme [Sun, 8 Apr 2007 17:44:57 +0000 (17:44 +0000)]
The apr_port_t type is unsigned, but ab was using a signed format code in
its reports. PR 42070. Submitted by Takashi Sato serai  lans-tv.com,
reviewed by sctemme.

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

17 years agoanother fix to the linker copyright string.
Guenter Knauf [Sat, 7 Apr 2007 00:43:22 +0000 (00:43 +0000)]
another fix to the linker copyright string.

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

17 years agoMove the thread locking upcall initialization before the hardware library init,
Sander Temme [Thu, 5 Apr 2007 05:43:25 +0000 (05:43 +0000)]
Move the thread locking upcall initialization before the hardware library init,
so the hardware library can pick up the locking callbacks. Fixes PR 20951.
Tested on Linux with trunk and an nCipher nShield card, and on Solaris 10/Sparc
on 2.0.55 with an nCipher NetHSM.

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

17 years agoMake the hardcoded checks for platforms-without-crypt consistent.
Jeff Trawick [Wed, 4 Apr 2007 18:37:30 +0000 (18:37 +0000)]
Make the hardcoded checks for platforms-without-crypt consistent.
This apparently fixes some oddities on TPF.

Submitted by: David Jones <oscaremma gmail.com>
Reviewed by:  wrowe, trawick

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

17 years agoDocs transform.
Joshua Slive [Tue, 27 Mar 2007 15:05:37 +0000 (15:05 +0000)]
Docs transform.

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

17 years agoFix backward Order definitions.
Joshua Slive [Tue, 27 Mar 2007 15:04:27 +0000 (15:04 +0000)]
Fix backward Order definitions.

PR: 41826

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

17 years agoDetab
Sander Temme [Sat, 24 Mar 2007 18:22:35 +0000 (18:22 +0000)]
Detab

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

17 years agoPR#41829 - Torsten Förtsch
Nick Kew [Sat, 24 Mar 2007 12:58:40 +0000 (12:58 +0000)]
PR#41829 - Torsten Förtsch
Fix uninitialised var in server/request.c

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

17 years ago* server/core_filters.c (ap_core_output_filter): Fail quickly with
Joe Orton [Fri, 23 Mar 2007 11:46:10 +0000 (11:46 +0000)]
* server/core_filters.c (ap_core_output_filter): Fail quickly with
APR_ECONNABORTED if the c->aborted flag is already set.

PR: 39605

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

17 years agoadded access_compat_module to created httpd.conf.
Guenter Knauf [Thu, 22 Mar 2007 17:58:26 +0000 (17:58 +0000)]
added access_compat_module to created httpd.conf.

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

17 years agochanged to use xcopy directly instead of creating a copy batch.
Guenter Knauf [Thu, 22 Mar 2007 16:58:49 +0000 (16:58 +0000)]
changed to use xcopy directly instead of creating a copy batch.

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

17 years agofew minor cleanups.
Guenter Knauf [Thu, 22 Mar 2007 16:01:38 +0000 (16:01 +0000)]
few minor cleanups.

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

17 years agoremoved obsolete stuff which is done by APR makefiles.
Guenter Knauf [Thu, 22 Mar 2007 15:29:03 +0000 (15:29 +0000)]
removed obsolete stuff which is done by APR makefiles.

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

17 years agoremoved obsolete -prefix; minor cosmetic changes.
Guenter Knauf [Thu, 22 Mar 2007 13:45:54 +0000 (13:45 +0000)]
removed obsolete -prefix; minor cosmetic changes.

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

17 years agoadded proper error message for NetWare.
Guenter Knauf [Thu, 22 Mar 2007 11:58:20 +0000 (11:58 +0000)]
added proper error message for NetWare.

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