]> granicus.if.org Git - apache/log
apache
19 years agoDescribe the new syntax:
Martin Kraemer [Fri, 22 Jul 2005 12:36:25 +0000 (12:36 +0000)]
Describe the new syntax:
  SetenvIf OID("2.16.840.1.113730.1.13") "(.*)" NetscapeComment=$1

Ehhmm.... How do I make html from this again?

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

19 years agoAllow extraction of the values of SSL certificate extensions into
Martin Kraemer [Fri, 22 Jul 2005 12:11:55 +0000 (12:11 +0000)]
Allow extraction of the values of SSL certificate extensions into
environment variables, so that their value can be used by any
module that is aware of environment variables, as in:

  SetEnvIf OID("2.16.840.1.113730.1.13") "(.*) Generated (Certificate)" ca=$1
sets
  ca=TinyCA
if the cert was issued by TinyCA.

Similarly,
  SetenvIf OID("2.16.840.1.113730.1.13") "(.*)" NetscapeComment=$1
will set $NetscapeComment to the whole string.

It is technically allowed to have multiple instances of an extension
field, all with the same oid. In this case, the environment variable
will be set to the list of all fields, separated by commas.

The [PATCH] uses a cross-module call from mod_setenvif to
mod_ssl (the latter may also be missing: in this case the
variable will never be set). It calls a common function
in the ssl module that is also used for the SSLRequire
directive's test.

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

19 years agobuild.
Paul Querna [Fri, 22 Jul 2005 10:00:46 +0000 (10:00 +0000)]
build.

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

19 years agoUse -o for output of dbm files.
Paul Querna [Fri, 22 Jul 2005 09:58:00 +0000 (09:58 +0000)]
Use -o for output of dbm files.

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

19 years agoChanged cmpstri to strcasecmp as per Justin's note.
Rich Bowen [Thu, 21 Jul 2005 13:46:31 +0000 (13:46 +0000)]
Changed cmpstri to strcasecmp as per Justin's note.

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

19 years agoRemove some rather confusing phrasing regarding mod_proxy and how to
Rich Bowen [Thu, 21 Jul 2005 13:34:11 +0000 (13:34 +0000)]
Remove some rather confusing phrasing regarding mod_proxy and how to
determine if it is installed.

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

19 years agoDocument change to mod_ssl's SSLRequire directive, bump version to 2.3.0 as already...
Martin Kraemer [Thu, 21 Jul 2005 11:58:44 +0000 (11:58 +0000)]
Document change to mod_ssl's SSLRequire directive, bump version to 2.3.0 as already done in the ap_release.h header

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

19 years agoOpps. Use the correct member of the structure.
Paul Querna [Thu, 21 Jul 2005 11:40:30 +0000 (11:40 +0000)]
Opps. Use the correct member of the structure.

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

19 years agoCorrectly restore the HTTP status from the cache handler.
Paul Querna [Thu, 21 Jul 2005 11:37:07 +0000 (11:37 +0000)]
Correctly restore the HTTP status from the cache handler.

Submitted by: Hansjoerg Pehofer

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

19 years agoUsing the user nobody (or similar accounts on other systems like
Wilfredo Sanchez [Thu, 21 Jul 2005 10:46:31 +0000 (10:46 +0000)]
Using the user nobody (or similar accounts on other systems like
nouser) violates the purpose of that user.  User nobody exists
specifically as a user that no process runs as and that owns no files
on disk.  Same for nogroup.

The user and group daemon are the generic system services user and
group.  Use those instead.

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

19 years agoQuick hack to store varied contents under the same path, making it
Paul Querna [Wed, 20 Jul 2005 16:56:23 +0000 (16:56 +0000)]
Quick hack to store varied contents under the same path, making it
easier for admins to manage the cache.

Still requires modifications to htcacheclean to work.

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

19 years agoCollaborative work: (Thanks, dreid!)
Martin Kraemer [Wed, 20 Jul 2005 16:42:58 +0000 (16:42 +0000)]
Collaborative work: (Thanks, dreid!)
Implement OID checking for mod_ssl. This code allows for checking of arbitrary client
certificate extensions by OID, in a syntax like:
   SSLRequire "BaDCA Generated Certificate" in Oid("2.16.840.1.113730.1.13") \
          || "committers"                   in Oid("1.3.6.1.4.1.18060.1")
Note the following:
* A given OID can occur multiple times in one cert, with different values. Therefore
  the OID function compares the left-hand string against each of the OID values,
  until a complete match is found. If none patches, the result is FALSE
* The left hand side can be another expression, so can be a reference to a variable
  or an file() invocation etc.
* The OID is also just a reference to a string, or function, or whatever.
* My manual description is very short. Someone else please help improve the description

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

19 years agoThe arguments to require are case-sensitive, so that "Require User" and
Rich Bowen [Wed, 20 Jul 2005 16:23:35 +0000 (16:23 +0000)]
The arguments to require are case-sensitive, so that "Require User" and
"Require Valid-User" don't work. This makes those comparisons
case-insensitive.

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

19 years agoNow you can run mod_deflate before mod_cache, and cache it.
Paul Querna [Wed, 20 Jul 2005 14:35:21 +0000 (14:35 +0000)]
Now you can run mod_deflate before mod_cache, and cache it.

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

19 years agore-indent.
Paul Querna [Wed, 20 Jul 2005 14:28:54 +0000 (14:28 +0000)]
re-indent.

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

19 years agoCheck an alternative return value for when a file or directory does not exist. Previ...
Paul Querna [Wed, 20 Jul 2005 11:20:33 +0000 (11:20 +0000)]
Check an alternative return value for when a file or directory does not exist.  Previously this would return a forbidden on the documentation website for any URL ending in .html.

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

19 years ago* support/httxt2dbm.c: Include stdlib.h to pick up atexit() prototype.
Joe Orton [Wed, 20 Jul 2005 06:08:47 +0000 (06:08 +0000)]
* support/httxt2dbm.c: Include stdlib.h to pick up atexit() prototype.

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

19 years ago`build bootstrap`
André Malo [Tue, 19 Jul 2005 17:11:44 +0000 (17:11 +0000)]
`build bootstrap`
`build all`

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

19 years ago* modules/http/http_filters.c (ap_send_http_trace): Silence gcc
Joe Orton [Tue, 19 Jul 2005 14:34:28 +0000 (14:34 +0000)]
* modules/http/http_filters.c (ap_send_http_trace): Silence gcc
variable-may-be-used-uninitialized warnings.

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

19 years agoUpdate Japanese translation.
Hiroaki Kawai [Tue, 19 Jul 2005 14:04:30 +0000 (14:04 +0000)]
Update Japanese translation.
fix typo.

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

19 years agouse utf-8 for our CHANGES. We have problems to add international names
André Malo [Tue, 19 Jul 2005 12:23:32 +0000 (12:23 +0000)]
use utf-8 for our CHANGES. We have problems to add international names
otherwise.

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

19 years agoUpdate Japanese translation.
Hiroaki Kawai [Tue, 19 Jul 2005 11:33:50 +0000 (11:33 +0000)]
Update Japanese translation.

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

19 years agoUpdate Japanese translation.
Hiroaki Kawai [Tue, 19 Jul 2005 10:50:15 +0000 (10:50 +0000)]
Update Japanese translation.

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

19 years agoUpdate Japanese translation.
Hiroaki Kawai [Tue, 19 Jul 2005 10:38:23 +0000 (10:38 +0000)]
Update Japanese translation.

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

19 years agoFix typo.
Hiroaki Kawai [Tue, 19 Jul 2005 10:14:17 +0000 (10:14 +0000)]
Fix typo.

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

19 years ago* fix properties
André Malo [Tue, 19 Jul 2005 09:49:16 +0000 (09:49 +0000)]
* fix properties
* `build all`

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

19 years agoFix typo and recover missing sentences.
Hiroaki Kawai [Mon, 18 Jul 2005 16:58:39 +0000 (16:58 +0000)]
Fix typo and recover missing sentences.

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

19 years ago Yet another snafu in body handling. We need to clearly avoid any
William A. Rowe Jr [Mon, 18 Jul 2005 16:48:25 +0000 (16:48 +0000)]
  Yet another snafu in body handling.  We need to clearly avoid any
  ap_get_brigade or request body processing in every *subrequest*
  proxy action.  The new code introduced more chaos because we read
  the request body irrespective of any bogus header handling bugs.

  This requires a goto, and yes, that sucks :)  But this is one of those
  oddball cases where jumping away makes more sense than tons of indented
  code, IMHO.  And if you count the number of goto's I've committed to
  httpd, you know I avoid them like the plague.

  I woulda' suggestd to jorton to take a flying carnal act, except that
  each time he points me back to the 2.0 patch, I catch another entirely
  bogus choice within the old/new httpd-2.x request body code :)

  I've bumped the 2.0 patch to correspond; see
  http://people.apache.org/~wrowe/httpd-2.0-proxy-request-4.patch

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

19 years agomove trunk to 2.3.0-dev.
Paul Querna [Mon, 18 Jul 2005 15:52:19 +0000 (15:52 +0000)]
move trunk to 2.3.0-dev.

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

19 years agoPicking a nit
Rich Bowen [Mon, 18 Jul 2005 14:49:02 +0000 (14:49 +0000)]
Picking a nit

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

19 years agoFix typo.
Hiroaki Kawai [Mon, 18 Jul 2005 13:10:34 +0000 (13:10 +0000)]
Fix typo.

Submitted by: Daniel Lopez <daniel@rawbyte.com>

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

19 years agoc/major bump/minor bump/
Ian Holsman [Mon, 18 Jul 2005 00:59:59 +0000 (00:59 +0000)]
c/major bump/minor bump/

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

19 years ago Fix broken while () {} loops (lingering code from the old logic),
William A. Rowe Jr [Mon, 18 Jul 2005 00:16:52 +0000 (00:16 +0000)]
  Fix broken while () {} loops (lingering code from the old logic),
  closes an infinite loop in the most recent version.  Init the cl_val
  to prevent failure of zero length bodies in the most recent version.

  Use 'request body' instead of 'data' to describe any errors.

  Finally, loop around ap_get_brigade to grab multiple chunks that still
  fall below our MAX_MEM_SPOOL threshold, since the chunk decoding from
  the client will pass up just one small chunk per ap_get_brigade call.

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

19 years agoDocumentation for the new httxt2dbm utility.
Rich Bowen [Mon, 18 Jul 2005 00:11:13 +0000 (00:11 +0000)]
Documentation for the new httxt2dbm utility.

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

19 years agoAdd Serbian error message translation
André Malo [Sun, 17 Jul 2005 10:21:57 +0000 (10:21 +0000)]
Add Serbian error message translation

Translated by: Nikola Smolenski <smolensk eunet.yu>
Reviewed by: Danilo Šegan <danilo gnome.org>

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

19 years agoThis patch adds a new hook (request_status) that gets ran in proxy_handler
Ian Holsman [Sun, 17 Jul 2005 05:12:10 +0000 (05:12 +0000)]
This patch adds a new hook (request_status) that gets ran in proxy_handler
just before the final return.  This gives modules an opportunity to do
something based on the proxy status.

A couple of examples where this is useful:

-You are using a caching module and would rather return stale content rather
than an error to the client if the origin is down.

-you proxy some subrequests (using SSI - mod_include) and do not want SSI
errors when the backend is down. If you would normally return
HTTP_BAD_GATEWAY, you may have a module that serves some other content.

new hook -- so mmn bump.. i made it a major one, hope thats ok

Patch From Brian Akins <Brian.Akins turner.com>

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

19 years agoupdate transformation
André Malo [Sat, 16 Jul 2005 11:46:15 +0000 (11:46 +0000)]
update transformation

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

19 years ago Backported a few already
William A. Rowe Jr [Fri, 15 Jul 2005 18:32:54 +0000 (18:32 +0000)]
  Backported a few already

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

19 years ago On Roy's suggestion; why wait to try to clear out the input
William A. Rowe Jr [Fri, 15 Jul 2005 17:39:27 +0000 (17:39 +0000)]
  On Roy's suggestion; why wait to try to clear out the input
  stream if it is smaller than MAX_MEM_SPOOL?  Do this upfront
  before dispatching to a body handler.

  This means changing each of the three body pumps to presume
  a preexisting input_brigade was already loaded, so turn around
  their loop conditions.

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

19 years ago Fix a style problem; b is ambigous (is it a brigade or bucket?)
William A. Rowe Jr [Fri, 15 Jul 2005 17:37:56 +0000 (17:37 +0000)]
  Fix a style problem; b is ambigous (is it a brigade or bucket?)
  bb is far less ambigous.

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

19 years ago leaving force-proxy-request-1.0 for broken clients, revert my
William A. Rowe Jr [Fri, 15 Jul 2005 17:32:14 +0000 (17:32 +0000)]
  leaving force-proxy-request-1.0 for broken clients, revert my
  patch for forcing an HTTP/1.0 proxy request, if the client
  request is HTTP/1.0, per Roy.

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

19 years ago Missed an edge case; once we know the C-L didn't match, it's
William A. Rowe Jr [Thu, 14 Jul 2005 16:17:56 +0000 (16:17 +0000)]
  Missed an edge case; once we know the C-L didn't match, it's
  time to shut down the body already.  Finish reading from the
  client but do nothing else, returning an error.

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

19 years ago How can I fix thee? let me count the ways...
William A. Rowe Jr [Thu, 14 Jul 2005 03:42:22 +0000 (03:42 +0000)]
  How can I fix thee?  let me count the ways...

  * pass a chunked body always (no-body requests don't go chunked).

  * validate that the C-L counted body length doesn't change.

  * follow RFC 2616 for C-L / T-E in the request body C-L / T-E
    election logic.

  * do not forward HTTP/1.0 requests as HTTP/1.1, unless the admin
    configures force-proxy-request-1.1

  * conn was illegible, use 2.0's p_conn.

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

19 years ago Fix two fat-fingered typos from commit 216156. Code matches previous
William A. Rowe Jr [Wed, 13 Jul 2005 14:06:24 +0000 (14:06 +0000)]
  Fix two fat-fingered typos from commit 216156.  Code matches previous
  behavior now; time to start fixing.

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

19 years ago send_request_body and indentation made it very difficult to follow
William A. Rowe Jr [Wed, 13 Jul 2005 13:59:32 +0000 (13:59 +0000)]
  send_request_body and indentation made it very difficult to follow
  all the mistakes in this code.  Fold send_request_body into reindent
  to make the pattern clear and skip some extra string handling.
  Little functional change, that comes next.

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

19 years ago End abuse of apr_strnat[case]cmp - it isn't str[case]cmp.
William A. Rowe Jr [Wed, 13 Jul 2005 04:43:59 +0000 (04:43 +0000)]
  End abuse of apr_strnat[case]cmp - it isn't str[case]cmp.

  Unsure if apr_strnatcasecmp(conf_ip, uri_ip) was intentional, on the
  off chance that the left or right hand ip string happens to contain
  leading zeros.

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

19 years agoUpdate transformation.
Jason S. Lingohr [Sat, 9 Jul 2005 10:53:38 +0000 (10:53 +0000)]
Update transformation.

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

19 years agoMinor changes.
Jason S. Lingohr [Sat, 9 Jul 2005 10:50:09 +0000 (10:50 +0000)]
Minor changes.

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

19 years ago Added TraceEnable, and note Request Splitting/Response Splitting.
William A. Rowe Jr [Fri, 8 Jul 2005 22:53:08 +0000 (22:53 +0000)]
  Added TraceEnable, and note Request Splitting/Response Splitting.

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

19 years ago The cookie is AP22 by unanimous consent.
William A. Rowe Jr [Fri, 8 Jul 2005 20:15:14 +0000 (20:15 +0000)]
  The cookie is AP22 by unanimous consent.

  This is because 2.1.x dies the day 2.2.0 is branched.  There will
  be no updates to 2.1 as we continue to maintain 2.2.

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

19 years agoDon't talk about request smuggling in the response handling fix.
Joe Orton [Fri, 8 Jul 2005 18:16:49 +0000 (18:16 +0000)]
Don't talk about request smuggling in the response handling fix.

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

19 years ago Fix a ton of wrong/silly indention, and clarify the fix-notes
William A. Rowe Jr [Fri, 8 Jul 2005 16:25:54 +0000 (16:25 +0000)]
  Fix a ton of wrong/silly indention, and clarify the fix-notes

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

19 years agoFix the CHANGES to reflect when things were really fixed. Also remove the security...
Paul Querna [Fri, 8 Jul 2005 16:06:22 +0000 (16:06 +0000)]
Fix the CHANGES to reflect when things were really fixed. Also remove the security tag from the proxy change, as suggested by Joe.

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

19 years agoGood suggestion from a private Email. name changes.
Jim Jagielski [Fri, 8 Jul 2005 15:58:46 +0000 (15:58 +0000)]
Good suggestion from a private Email. name changes.

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

19 years ago No UCHAR, per Joe
William A. Rowe Jr [Fri, 8 Jul 2005 15:52:02 +0000 (15:52 +0000)]
  No UCHAR, per Joe

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

19 years agoFix case where buggy OpenSSL internal cache continually grows.
Jim Jagielski [Fri, 8 Jul 2005 15:41:14 +0000 (15:41 +0000)]
Fix case where buggy OpenSSL internal cache continually grows.
So don't bother to store it, but still force OpenSSL
to provide a Session ID.

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

19 years agoFold in latest SSL doc changes
Jim Jagielski [Fri, 8 Jul 2005 15:17:28 +0000 (15:17 +0000)]
Fold in latest SSL doc changes

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

19 years ago Joe strongly objected to this outgoing style; use this incoming
William A. Rowe Jr [Fri, 8 Jul 2005 14:38:50 +0000 (14:38 +0000)]
  Joe strongly objected to this outgoing style; use this incoming
  style for const modifiers so the reader can still follow that
  the data is [const] unsigned char *

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

19 years agoThe request smuggling issue did get assigned CAN-2005-2088.
Paul Querna [Fri, 8 Jul 2005 09:35:56 +0000 (09:35 +0000)]
The request smuggling issue did get assigned CAN-2005-2088.

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

19 years ago The macro is simply not worth it; each of these various occurances
William A. Rowe Jr [Thu, 7 Jul 2005 23:47:05 +0000 (23:47 +0000)]
  The macro is simply not worth it; each of these various occurances
  differ as openssl has modified pointer constness from bump to bump.

  This needs testing on Netware, it builds clean on 0.9.6m, 0.9.7d,
  0.9.7g, and 0.9.8-final on Win32.

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

19 years ago Add notation of Georg's patch to capture SSL_COMPRESS_METHOD.
William A. Rowe Jr [Thu, 7 Jul 2005 21:55:11 +0000 (21:55 +0000)]
  Add notation of Georg's patch to capture SSL_COMPRESS_METHOD.

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

19 years agoAdd the NetWare makefile for the httxt2dbm utility
Bradley Nicholes [Thu, 7 Jul 2005 15:35:43 +0000 (15:35 +0000)]
Add the NetWare makefile for the httxt2dbm utility

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

19 years agoAdd the httxt2dbm utility to create DBM files for RewriteMap. This replaces the...
Paul Querna [Wed, 6 Jul 2005 23:15:34 +0000 (23:15 +0000)]
Add the httxt2dbm utility to create DBM files for RewriteMap.  This replaces the txt2dbm script in the manual, and allows the use of any available DBM format.

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

19 years ago Wrap this type in a macro since it seems to be bouncing from
William A. Rowe Jr [Wed, 6 Jul 2005 22:25:37 +0000 (22:25 +0000)]
  Wrap this type in a macro since it seems to be bouncing from
  0.9.7g to 0.9.7h in const'ness.

PR: 34520

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

19 years ago Add SSL_COMPRESS_METHOD variable (included in +StdEnvVars) to note
William A. Rowe Jr [Wed, 6 Jul 2005 15:16:28 +0000 (15:16 +0000)]
  Add SSL_COMPRESS_METHOD variable (included in +StdEnvVars) to note
  the negotiated compression.

Reviewed by: wrowe, Maxime Petazzoni
Submitted by: Georg v. Zezschwitz <gvz 2scale.de>

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

19 years ago Dev Studio automatically adds the intermediate and final directory
William A. Rowe Jr [Wed, 6 Jul 2005 15:02:33 +0000 (15:02 +0000)]
  Dev Studio automatically adds the intermediate and final directory
  paths to each custom build target.  However, the time stamps of these
  directories will trigger a rebuild in bison where sources haven't
  changed.  These targets are not necessary, as these generated files
  reside in the current directory (which, obviously, already exists.)

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

19 years ago Accomodate API changes to OpenSSL 0.9.8 (now in beta).
William A. Rowe Jr [Wed, 6 Jul 2005 14:33:10 +0000 (14:33 +0000)]
  Accomodate API changes to OpenSSL 0.9.8 (now in beta).

Submitted by: Georg v. Zezschwitz <gvz@2scale.de>

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

19 years ago This test for TraceEnable cases cannot be buried within the max-forwards
William A. Rowe Jr [Wed, 6 Jul 2005 04:10:50 +0000 (04:10 +0000)]
  This test for TraceEnable cases cannot be buried within the max-forwards
  logic cases.

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

19 years agouse struct assignment instead of memcpy so the compiler can decide whether to inline...
Brian Pane [Sun, 3 Jul 2005 21:21:46 +0000 (21:21 +0000)]
use struct assignment instead of memcpy so the compiler can decide whether to inline the copy loop or call memcpy

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

19 years agoFixed complaints about unpackaged files within the RPM build
Graham Leggett [Sun, 3 Jul 2005 19:37:46 +0000 (19:37 +0000)]
Fixed complaints about unpackaged files within the RPM build
after changes to the config files.

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

19 years agofix typo.
Hiroaki Kawai [Sun, 3 Jul 2005 12:24:28 +0000 (12:24 +0000)]
fix typo.
Submitted by: kano@na.rim.or.jp
Reviewed by: kawai

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

19 years ago Plug AllowTrace extended|on|off into proxy and http core.
William A. Rowe Jr [Fri, 1 Jul 2005 19:59:59 +0000 (19:59 +0000)]
  Plug AllowTrace extended|on|off into proxy and http core.

  It still is not 'correct' until REQUEST_CHUNKED_PASS is reimplemented
  and passes some chunk headers, since we aren't echoing the entire
  request.  But it gets me further on testing 1.3 -> 2.0 -> 2.1 -> 2.0 -> 1.3
  proxy behaviors.

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

19 years ago Initially a no-op. Add trace_enable configuration. The http and proxy
William A. Rowe Jr [Fri, 1 Jul 2005 19:39:26 +0000 (19:39 +0000)]
  Initially a no-op.  Add trace_enable configuration.  The http and proxy
  flavors of interpreting this flag are yet to be committed.

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

19 years ago Whoops - two things at once. Document MAGIC_COOKIE "AP21"
William A. Rowe Jr [Fri, 1 Jul 2005 17:51:09 +0000 (17:51 +0000)]
  Whoops - two things at once.  Document MAGIC_COOKIE "AP21"

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

19 years ago Change Apache httpd 2.1 signature to "AP21" as this flavor
William A. Rowe Jr [Fri, 1 Jul 2005 17:50:01 +0000 (17:50 +0000)]
  Change Apache httpd 2.1 signature to "AP21" as this flavor
  is binary-incompatible to any "AP20" module.

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

19 years agoThe event MPM now works on Solaris 10. It is fast too.
Paul Querna [Thu, 30 Jun 2005 20:42:43 +0000 (20:42 +0000)]
The event MPM now works on Solaris 10. It is fast too.

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

19 years ago* server/mpm_common.c (dummy_connection): Fix length argument passed
Joe Orton [Thu, 30 Jun 2005 09:10:25 +0000 (09:10 +0000)]
* server/mpm_common.c (dummy_connection): Fix length argument passed
to apr_socket_send.  Remove redundant _shutdown call.

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

19 years ago2.1.6 got released.
Paul Querna [Thu, 30 Jun 2005 05:36:26 +0000 (05:36 +0000)]
2.1.6 got released.

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

19 years ago`build all`
André Malo [Wed, 29 Jun 2005 22:19:59 +0000 (22:19 +0000)]
`build all`

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

19 years agoadjust revision references
André Malo [Wed, 29 Jun 2005 22:16:17 +0000 (22:16 +0000)]
adjust revision references

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

19 years agofix xml validation error and wrong directive reference
André Malo [Wed, 29 Jun 2005 22:01:30 +0000 (22:01 +0000)]
fix xml validation error and wrong directive reference

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

19 years agofix line endings
André Malo [Wed, 29 Jun 2005 21:52:08 +0000 (21:52 +0000)]
fix line endings

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

19 years agoSubmitted and reviewed by Vincent Deffontaines, alain B and Jean-François El Fouly.
Jean-Frederic Clere [Wed, 29 Jun 2005 08:54:09 +0000 (08:54 +0000)]
Submitted and reviewed by Vincent Deffontaines, alain B and Jean-François El Fouly.

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

19 years agoArgh. Style Fix. Habits are hard to kill.
Paul Querna [Mon, 27 Jun 2005 19:30:23 +0000 (19:30 +0000)]
Argh. Style Fix. Habits are hard to kill.

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

19 years ago*) server/mpm_common.c: Send a simple HTTP 1.0 request to every listener socket,...
Paul Querna [Mon, 27 Jun 2005 18:40:56 +0000 (18:40 +0000)]
*) server/mpm_common.c: Send a simple HTTP 1.0 request to every listener socket, instead of just closing the socket.  This fixes shutdown of the Worker MPM on FreeBSD, when Accept Filters are enabled.

In the future, we need a method to send a simple request for all protocols.  Currently this is very specific to HTTP and FreeBSD's Accept Filter.

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

19 years agotypo: submitted by Daniel Lopez (daniel at rawbyte dot com)
Jean-Frederic Clere [Mon, 27 Jun 2005 12:49:40 +0000 (12:49 +0000)]
typo: submitted by Daniel Lopez (daniel at rawbyte dot com)

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

19 years agoAdd more detail to the RewriteMap rnd: example, as well as rewriting
Rich Bowen [Sun, 26 Jun 2005 23:35:05 +0000 (23:35 +0000)]
Add more detail to the RewriteMap rnd: example, as well as rewriting
some of the text that makes this feature seem less useful than it
actually is.

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

19 years ago More cleanup, organization to make README easier to follow.
William A. Rowe Jr [Fri, 24 Jun 2005 16:52:54 +0000 (16:52 +0000)]
  More cleanup, organization to make README easier to follow.

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

19 years ago Rearrange some deck chairs, just reformatting, axing unmaintained
William A. Rowe Jr [Fri, 24 Jun 2005 16:37:33 +0000 (16:37 +0000)]
  Rearrange some deck chairs, just reformatting, axing unmaintained
  'Binaries' section.

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

19 years agoAdd redirect-carefully for Dreamweaver MX.
Joe Orton [Fri, 24 Jun 2005 08:45:09 +0000 (08:45 +0000)]
Add redirect-carefully for Dreamweaver MX.

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

19 years agoMove on to 2.1.7-dev.
Paul Querna [Fri, 24 Jun 2005 07:37:04 +0000 (07:37 +0000)]
Move on to 2.1.7-dev.

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

19 years ago- Prepare for 2.1.6 tag.
Paul Querna [Fri, 24 Jun 2005 07:34:36 +0000 (07:34 +0000)]
- Prepare for 2.1.6 tag.

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

19 years ago- If the Protocol has not been set, do not crash. Long term, we need to ensure that...
Paul Querna [Fri, 24 Jun 2005 07:33:02 +0000 (07:33 +0000)]
- If the Protocol has not been set, do not crash.  Long term, we need to ensure that the protocol is set in all cases, and in all MPMs.

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

19 years agoFix htdbm password validation for records which included comments.
Jeff Trawick [Thu, 23 Jun 2005 20:45:17 +0000 (20:45 +0000)]
Fix htdbm password validation for records which included comments.

Submitted by: Eric Covener <covener gmail.com>
Reviewed by:  trawick

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

19 years agoAdd some comments
Wilfredo Sanchez [Thu, 23 Jun 2005 20:39:01 +0000 (20:39 +0000)]
Add some comments

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

19 years agoproxy HTTP: If a response contains both Transfer-Encoding and a
Jeff Trawick [Thu, 23 Jun 2005 19:20:29 +0000 (19:20 +0000)]
proxy HTTP: If a response contains both Transfer-Encoding and a
Content-Length, remove the Content-Length and don't reuse the
connection, stopping some HTTP Request smuggling attacks.

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

19 years agoAdd references to Apachetutor in developer docs
Nick Kew [Thu, 23 Jun 2005 13:52:57 +0000 (13:52 +0000)]
Add references to Apachetutor in developer docs

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

19 years ago* modules/aaa/mod_auth_digest.c: Another gcc 4 "structure field may be
Joe Orton [Thu, 23 Jun 2005 10:27:27 +0000 (10:27 +0000)]
* modules/aaa/mod_auth_digest.c: Another gcc 4 "structure field may be
used uninitialized" warning; fix validation of digest-uri for CONNECT
requests:

(copy_uri_components): Copy the hostinfo field.
(authenticate_digest_user): Don't pass NULL (or, previously, a random
pointer) to strcmp if a digest-uri is provided which doesn't match the
request-uri in a CONNECT request.

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

19 years ago* server/protocol.c (ap_read_request): Remove the Content-Length
Joe Orton [Thu, 23 Jun 2005 09:36:16 +0000 (09:36 +0000)]
* server/protocol.c (ap_read_request): Remove the Content-Length
header if any Transfer-Encoding header is present, regardless of
value.

Reviewed by: Paul Querna, Jeff Trawick

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

19 years ago* modules/proxy/mod_proxy_balancer.c (proxy_balancer_pre_request): Fix
Joe Orton [Thu, 23 Jun 2005 09:10:09 +0000 (09:10 +0000)]
* modules/proxy/mod_proxy_balancer.c (proxy_balancer_pre_request): Fix
another valid variable-may-be-used-uninitialized warning from GCC 4
(in the !balancer->sticky case, find_session_route returns NULL
without setting route).

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