]> granicus.if.org Git - apache/log
apache
16 years agoSince we don't support chained filters, and can't expect to while the
Nick Kew [Thu, 29 Nov 2007 11:50:11 +0000 (11:50 +0000)]
Since we don't support chained filters, and can't expect to while the
filter_init problem remains, we should make it clear to users at startup time.

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

16 years agomod_ssl: Add support for OCSP validation of client certificates:
Joe Orton [Thu, 29 Nov 2007 11:18:40 +0000 (11:18 +0000)]
mod_ssl: Add support for OCSP validation of client certificates:

* modules/ssl/ssl_engine_config.c (modssl_ctx_init,
  modssl_ctx_cfg_merge): Initialize and merge OCSP config options.
  (ssl_cmd_SSLOCSPOverrideResponder, ssl_cmd_SSLOCSPDefaultResponder,
  ssl_cmd_SSLOCSPEnable): Add functions.

* modules/ssl/mod_ssl.c (ssl_config_cmds): Add config options.

* modules/ssl/ssl_private.h: Add prototypes, config options to
  modssl_ctx_t.

* modules/ssl/ssl_util_ocsp.c: New file, utility interface for
  dispatching OCSP requests.

* modules/ssl/ssl_engine_ocsp.c: New file, interface for performing
  OCSP validation.

* modules/ssl/ssl_engine_kernel.c (ssl_callback_SSLVerify): Perform
  OCSP validation if configured, and the cert is so-far verified to be
  trusted.  Fail if OCSP validation is configured an the optional-no-ca
  check tripped.

* modules/ssl/config.m4: Check for OCSP support, build new files.

* modules/ssl/mod_ssl.dsp: Build new files.

* modules/ssl/ssl_toolkit_compat.h: Include headers for OCSP
  interfaces.

PR: 41123
Submitted by: Marc Stern <marc.stern approach.be>, Joe Orton
Reviewed by: Steve Henson <steve openssl.org>

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

16 years ago* Remove unneeded include of unistd.h. getpid is not used any longer since
Ruediger Pluem [Thu, 29 Nov 2007 08:18:31 +0000 (08:18 +0000)]
* Remove unneeded include of unistd.h. getpid is not used any longer since
  r394065.

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

16 years agoPerform all per-LDAP-backend related memory allocations in a standalone pool,
Eric Covener [Wed, 28 Nov 2007 22:19:00 +0000 (22:19 +0000)]
Perform all per-LDAP-backend related memory allocations in a standalone pool,
provide a local method to completely remove an LDAP backend connection so
we can someday manage/dispose of extra connections in a reasonable way.

Clarify some commentary around the existing murky close/cleanup API
methods.

Minor bump for new members appended to util_ldap_connection_t, which is not
allocated by consumers of the API.

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

16 years ago* No functional change: Style. Fix linebreaks to make code more readable.
Ruediger Pluem [Wed, 28 Nov 2007 21:17:03 +0000 (21:17 +0000)]
* No functional change: Style. Fix linebreaks to make code more readable.

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

16 years ago* Remove unused variable and thus remove compiler warning
Ruediger Pluem [Wed, 28 Nov 2007 20:53:30 +0000 (20:53 +0000)]
* Remove unused variable and thus remove compiler warning

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

16 years ago* No need for an else block here because we do a return above.
Ruediger Pluem [Wed, 28 Nov 2007 20:52:37 +0000 (20:52 +0000)]
* No need for an else block here because we do a return above.

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

16 years agoTypo fix
Nick Kew [Wed, 28 Nov 2007 20:37:08 +0000 (20:37 +0000)]
Typo fix

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

16 years agoFix patch to PR#43882 as pointed out by trawick
Nick Kew [Wed, 28 Nov 2007 16:50:28 +0000 (16:50 +0000)]
Fix patch to PR#43882 as pointed out by trawick

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

16 years agoStage 3 of refactoring. This reverses a couple of if checks so that the code is
Paul J. Reder [Wed, 28 Nov 2007 01:43:57 +0000 (01:43 +0000)]
Stage 3 of refactoring. This reverses a couple of if checks so that the code is
easier to follow. The default svn diff looks ugle due to the spacing change. A
cleaner diff ignoring spacing changes can be found at:
http://people.apache.org/~rederpj/util_ldap_ignoring_spacing.diff

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

16 years agoRefactoring stage 2. This commit moves a large chunk of utility code out to its own...
Paul J. Reder [Tue, 27 Nov 2007 23:06:44 +0000 (23:06 +0000)]
Refactoring stage 2. This commit moves a large chunk of utility code out to its own function
to make reading and maintaining the actual subgroup function easier. This should just be
shuffling code around and shouldn't result in any semantic changes.

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

16 years ago* modules/ssl/ssl_engine_log.c (ssl_log_cxerror): Log the certificate
Joe Orton [Tue, 27 Nov 2007 16:57:12 +0000 (16:57 +0000)]
* modules/ssl/ssl_engine_log.c (ssl_log_cxerror): Log the certificate
  serial number along with the subject and issuer names.

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

16 years ago* mod_substitute is now below filters and no longer in experimental.
Ruediger Pluem [Tue, 27 Nov 2007 15:18:34 +0000 (15:18 +0000)]
* mod_substitute is now below filters and no longer in experimental.

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

16 years agomove mod_substitute from exp to filters
Jim Jagielski [Tue, 27 Nov 2007 14:30:51 +0000 (14:30 +0000)]
move mod_substitute from exp to filters

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

16 years agoAltered some comments and minor formatting of log calls in prep for a refactoring...
Paul J. Reder [Tue, 27 Nov 2007 03:01:25 +0000 (03:01 +0000)]
Altered some comments and minor formatting of log calls in prep for a refactoring of this routine.
I wanted the diffs to be human readable and understandable. This should just be formatting and
shouldn't alter any semantics.

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

16 years agomod_filter: don't segfault on (unsupported) chained FilterProviders.
Nick Kew [Mon, 26 Nov 2007 14:56:12 +0000 (14:56 +0000)]
mod_filter: don't segfault on (unsupported) chained FilterProviders.
PR 43956

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

16 years agobackported - 598272
Jim Jagielski [Mon, 26 Nov 2007 13:50:56 +0000 (13:50 +0000)]
backported - 598272

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

16 years agoenable to build with OpenSSL 0.9.9
Guenter Knauf [Sun, 25 Nov 2007 17:51:28 +0000 (17:51 +0000)]
enable to build with OpenSSL 0.9.9

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

16 years agoupdate transformation
Astrid Malo [Sun, 25 Nov 2007 14:54:04 +0000 (14:54 +0000)]
update transformation

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

16 years agoanother typo found by Lucien GENTIS
Astrid Malo [Sun, 25 Nov 2007 14:52:51 +0000 (14:52 +0000)]
another typo found by Lucien GENTIS

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

16 years agoupdate transformation
Astrid Malo [Sun, 25 Nov 2007 00:45:25 +0000 (00:45 +0000)]
update transformation

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

16 years agotypos
Astrid Malo [Sun, 25 Nov 2007 00:18:27 +0000 (00:18 +0000)]
typos
found by Lucien GENTIS

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

16 years agoUpdate transformations
Vincent Bray [Fri, 23 Nov 2007 21:41:12 +0000 (21:41 +0000)]
Update transformations

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

16 years agoMinor grammar fix
Vincent Bray [Fri, 23 Nov 2007 21:40:02 +0000 (21:40 +0000)]
Minor grammar fix

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

16 years ago* modules/ssl/ssl_engine_log.c (ssl_log_cxerror): New function,
Joe Orton [Fri, 23 Nov 2007 12:13:59 +0000 (12:13 +0000)]
* modules/ssl/ssl_engine_log.c (ssl_log_cxerror): New function,
factored out from ssl_callback_SSLVerify.

* modules/ssl/ssl_private: Add prototype.

* modules/ssl/ssl_engine_kernel.c (ssl_callback_SSLVerify): Use it.

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

16 years agoFix up the NetWare build due to the rearranging of the examples and experimental...
Bradley Nicholes [Wed, 21 Nov 2007 21:01:09 +0000 (21:01 +0000)]
Fix up the NetWare build due to the rearranging of the examples and experimental directories.

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

16 years ago* modules/ssl/ssl_engine_log.c (ssl_log_ssl_error): Improve SSL error
Joe Orton [Wed, 21 Nov 2007 13:35:59 +0000 (13:35 +0000)]
* modules/ssl/ssl_engine_log.c (ssl_log_ssl_error): Improve SSL error
  log messages: retrieve and log the "data" string where available,
  drop the redundant error number (always included in the error string
  anyway), and clearly delineate both the "data" and "annotation" from
  the error string itself.

PR: 43889
Submitted by: Dr Stephen Henson <steve openssl.org>, jorton

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

16 years agocorrect the order of filesize and offset descriptions
Jeff Trawick [Wed, 21 Nov 2007 00:00:12 +0000 (00:00 +0000)]
correct the order of filesize and offset descriptions
according to the current syntax diagram

try to clear up occasional confusion about the
timestamps used in filenames when rotation is based
on a time interval

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

16 years agogenerated rotatelogs docs
Jeff Trawick [Tue, 20 Nov 2007 21:36:36 +0000 (21:36 +0000)]
generated rotatelogs docs

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

16 years agoupdate rotatelogs docs to reflect the support for -l/UTC-offset
Jeff Trawick [Tue, 20 Nov 2007 21:36:12 +0000 (21:36 +0000)]
update rotatelogs docs to reflect the support for -l/UTC-offset
with size-based rotation

move examples to a formal section in the customary order

add an example of logging at midnight with the date in the
filename

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

16 years agoRemove mistaken fix. Just checking if peer review was working... you passed. :)
Paul J. Reder [Tue, 20 Nov 2007 20:39:53 +0000 (20:39 +0000)]
Remove mistaken fix. Just checking if peer review was working... you passed. :)

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

16 years agoAllow local timestamps to be used when rotating based on file size.
Jeff Trawick [Tue, 20 Nov 2007 19:38:13 +0000 (19:38 +0000)]
Allow local timestamps to be used when rotating based on file size.

IOW, accept and respect either -l or UTC offset when rotating
based on file size.

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

16 years agolatest docco xform updates
Jim Jagielski [Tue, 20 Nov 2007 15:15:05 +0000 (15:15 +0000)]
latest docco xform updates

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

16 years agoNow in 2.2.7
Jim Jagielski [Tue, 20 Nov 2007 15:13:09 +0000 (15:13 +0000)]
Now in 2.2.7

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

16 years agoimprove command-line parsing
Jeff Trawick [Tue, 20 Nov 2007 14:46:52 +0000 (14:46 +0000)]
improve command-line parsing

example invocations now flagged as invalid:
  specifying UTC offset with size-based rotation
  specifying -l with size-based rotation
  specifying both -l and UTC offset

range checking of integer parameters not attempted; basic data type issues may need
to be addressed first such as the use of unsigned int for max file size

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

16 years ago* Convert request time to seconds before before storing it in unique_id_rec
Ruediger Pluem [Mon, 19 Nov 2007 21:08:19 +0000 (21:08 +0000)]
* Convert request time to seconds before before storing it in unique_id_rec
  struct.

PR: 37064
Submitted by: Kobayashi <kobayashi firstserver.co.jp>
Reviewed by: rpluem

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

16 years agos/mod_example/mod_example_hooks/
William A. Rowe Jr [Mon, 19 Nov 2007 18:47:23 +0000 (18:47 +0000)]
s/mod_example/mod_example_hooks/

and move mod_example_hooks, mod_case_filter[_in] to modules/examples/

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

16 years ago* Move the Example modules to the newly created examples subdirectory
Sander Temme [Sun, 18 Nov 2007 15:41:03 +0000 (15:41 +0000)]
* Move the Example modules to the newly created examples subdirectory
* Hopefully correctly fudge the NWGNU make files
* Add mod_example_ipc (without NWGNU stuff or dsp)

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

16 years agoUpdate transformations
Vincent Bray [Sat, 17 Nov 2007 15:17:23 +0000 (15:17 +0000)]
Update transformations

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

16 years ago'youare' typo (submitted by Luciene Gentis)
Vincent Bray [Sat, 17 Nov 2007 15:16:31 +0000 (15:16 +0000)]
'youare' typo (submitted by Luciene Gentis)

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

16 years agoSafer fix to PR43882 than in r595672.
Nick Kew [Sat, 17 Nov 2007 14:36:58 +0000 (14:36 +0000)]
Safer fix to PR43882 than in r595672.

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

16 years agoA quick fix to avoid potential memory issues.
Paul J. Reder [Fri, 16 Nov 2007 23:14:56 +0000 (23:14 +0000)]
A quick fix to avoid potential memory issues.

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

16 years agor595672 was incomplete. We need to be sure we reject multiple-encodings.
Nick Kew [Fri, 16 Nov 2007 14:27:11 +0000 (14:27 +0000)]
r595672 was incomplete.  We need to be sure we reject multiple-encodings.

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

16 years agobackported in 595675
Eric Covener [Fri, 16 Nov 2007 14:23:23 +0000 (14:23 +0000)]
backported in 595675

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

16 years agoDeal with unrecognised Transfer-Encoding headers.
Nick Kew [Fri, 16 Nov 2007 14:20:03 +0000 (14:20 +0000)]
Deal with unrecognised Transfer-Encoding headers.
PR#43882 (Björn Höhrmann)

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

16 years agobackported to 2.2.x in r595664
Eric Covener [Fri, 16 Nov 2007 14:04:13 +0000 (14:04 +0000)]
backported to 2.2.x in r595664

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

16 years agono logic changes
Jeff Trawick [Fri, 16 Nov 2007 12:41:23 +0000 (12:41 +0000)]
no logic changes
just minor style fixes

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

16 years agoFinish up
Jeff Trawick [Fri, 16 Nov 2007 12:36:25 +0000 (12:36 +0000)]
Finish up
  http://svn.apache.org/viewvc?view=rev&revision=102066
  http://svn.apache.org/viewvc?view=rev&revision=102205
from almost 4 years ago by removing abandoned logic from
the fixup hook.

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

16 years agobackported
Jim Jagielski [Thu, 15 Nov 2007 22:09:14 +0000 (22:09 +0000)]
backported

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

16 years agoAdded documentation related to the nested group support that I added a while ago.
Paul J. Reder [Thu, 15 Nov 2007 19:48:24 +0000 (19:48 +0000)]
Added documentation related to the nested group support that I added a while ago.

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

16 years ago- add note on security impact of suppress-error-charset for broken
Joe Orton [Thu, 15 Nov 2007 12:25:14 +0000 (12:25 +0000)]
- add note on security impact of suppress-error-charset for broken
browsers

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

16 years agoUmm, oops. r595022 shouldn't have ended up in trunk.
Justin Erenkrantz [Wed, 14 Nov 2007 19:52:22 +0000 (19:52 +0000)]
Umm, oops.  r595022 shouldn't have ended up in trunk.

Bad subversion - it crashed when commiting on a switched wc and committed to
the wrong path!

/me hits self on behalf of all SVN devs

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

16 years agoAmsterdam sandbox: add serf input/output filters that replace the core filters.
Justin Erenkrantz [Wed, 14 Nov 2007 19:49:05 +0000 (19:49 +0000)]
Amsterdam sandbox: add serf input/output filters that replace the core filters.

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

16 years agoAnd move mod_lbmethod_rr.c to that example dir so people
Jim Jagielski [Wed, 14 Nov 2007 16:34:31 +0000 (16:34 +0000)]
And move mod_lbmethod_rr.c  to that example dir so people
don't get confused

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

16 years agoCreate location for "example" module(s)
Jim Jagielski [Wed, 14 Nov 2007 16:33:31 +0000 (16:33 +0000)]
Create location for "example" module(s)

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

16 years agoSome fixes before we move this to an example's dir, but
Jim Jagielski [Wed, 14 Nov 2007 16:25:00 +0000 (16:25 +0000)]
Some fixes before we move this to an example's dir, but
remove the unneeded CORE_PRIVATE and bypass inf loop,
but *still* this is not intended to be a module to
*use* but rather as an example that yes, you can add
lbmethods via sub-module prvider.

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

16 years agoupdate transformation
André Malo [Wed, 14 Nov 2007 14:30:17 +0000 (14:30 +0000)]
update transformation

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

16 years agofix external references to perldoc
André Malo [Wed, 14 Nov 2007 14:27:20 +0000 (14:27 +0000)]
fix external references to perldoc

PR: 43856

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

16 years agoupdate transformation
André Malo [Wed, 14 Nov 2007 14:23:35 +0000 (14:23 +0000)]
update transformation

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

16 years agovalidate the document
André Malo [Wed, 14 Nov 2007 14:14:34 +0000 (14:14 +0000)]
validate the document

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

16 years agoupdate transformation
André Malo [Wed, 14 Nov 2007 14:08:04 +0000 (14:08 +0000)]
update transformation

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

16 years agono content changes
Jeff Trawick [Wed, 14 Nov 2007 12:27:50 +0000 (12:27 +0000)]
no content changes

move the xml doc for KeptBodySize to its rightful, alphabetical
location

(the transformed version was already alphabetized)

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

16 years agocore: Avoid some unexpected connection closes by telling the client
Jeff Trawick [Wed, 14 Nov 2007 11:53:30 +0000 (11:53 +0000)]
core: Avoid some unexpected connection closes by telling the client
that the connection is not persistent if the MPM process handling
the request is already exiting when the response header is built.

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

16 years agoAdd extremely butt-ugly sub-mod that exists simply to show how
Jim Jagielski [Tue, 13 Nov 2007 21:55:05 +0000 (21:55 +0000)]
Add extremely butt-ugly sub-mod that exists simply to show how
to use providers in sub-mods to extend lbmethods in mod_proxy...

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

16 years agoIgnore ctags/etags output, some small Doxygen fixes
Sander Temme [Tue, 13 Nov 2007 18:41:17 +0000 (18:41 +0000)]
Ignore ctags/etags output, some small Doxygen fixes

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

16 years agoMake life happy for people who don't have serf but
Jim Jagielski [Tue, 13 Nov 2007 17:16:40 +0000 (17:16 +0000)]
Make life happy for people who don't have serf but
still use most... yeah, this means you need to explicitly
add mod_serf... no, this isn't a comment on how cool
mod_serf is :)

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

16 years agoAdd mod_serf, a reverse proxy module, which uses serf[1] as its http client library.
Paul Querna [Tue, 13 Nov 2007 04:20:50 +0000 (04:20 +0000)]
Add mod_serf, a reverse proxy module, which uses serf[1] as its http client library.

To enable, pass something like this to configure:
   --enable-serf --with-serf=/usr/local/serf/0.1.2
To try it out, put something like this in your httpd.conf:
<Location />
    SerfPass http://httpd.apache.org/
</Location>

LocationMatch and all related directives can also be used, magical eh?

[1] - http://code.google.com/p/serf/

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

16 years agofix to http://svn.apache.org/viewvc?rev=591499&view=rev to properly copy into
Eric Covener [Sun, 11 Nov 2007 16:14:24 +0000 (16:14 +0000)]
fix to http://svn.apache.org/viewvc?rev=591499&view=rev to properly copy into
char ***retvals when AuthLDAPUrl has extra attributes specified

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

16 years agoRe-work the explanation in commentary and debug logging of
Jeff Trawick [Sun, 11 Nov 2007 14:32:58 +0000 (14:32 +0000)]
Re-work the explanation in commentary and debug logging of
when modules and scripts may be harmed by transformation of
the request body.

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

16 years ago* Generate valid XHTML output by adding the xhtml namespace.
Ruediger Pluem [Sat, 10 Nov 2007 22:15:34 +0000 (22:15 +0000)]
* Generate valid XHTML output by adding the xhtml namespace.

PR: 43649
Submitted by: Jose Kahan <jose w3.org>
Reviewed by: rpluem

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

16 years agowhile technically uldap_connection_cleanup() does leave an entry in the
Eric Covener [Thu, 8 Nov 2007 20:01:04 +0000 (20:01 +0000)]
while technically uldap_connection_cleanup() does leave an entry in the
connection list, it is fully disconnected before it's put back.  My previous
commentary did more harm then good.

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

16 years agoremove trunk CHANGES entry for item backported to 2.2.x
Jeff Trawick [Thu, 8 Nov 2007 14:55:14 +0000 (14:55 +0000)]
remove trunk CHANGES entry for item backported to 2.2.x

     mod_charset_lite: Don't crash when the request has no associated
     filename.

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

16 years agoUpdate docs transformations
Graham Leggett [Wed, 7 Nov 2007 23:32:22 +0000 (23:32 +0000)]
Update docs transformations

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

16 years agocore: Add the option to keep aside a request body up to a certain
Graham Leggett [Wed, 7 Nov 2007 23:31:03 +0000 (23:31 +0000)]
core: Add the option to keep aside a request body up to a certain
size that would otherwise be discarded, to be consumed by filters
such as mod_include. When enabled for a directory, POST requests
to shtml files can be passed through to embedded scripts as POST
requests, rather being downgraded to GET requests.

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

16 years agoStop registering a cleanup on each LDAP connection created, this cleanup was
Eric Covener [Wed, 7 Nov 2007 14:43:26 +0000 (14:43 +0000)]
Stop registering a cleanup on each LDAP connection created, this cleanup was
never called because it's registered against pconf in the child. LDAP
connections are created in the child and not shared between children, so no
action should be required at child exit

Additionally, clarify comments around uldap_connection_cleanup()

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

16 years agomod_charset_lite: Don't crash when the request has no associated
Jeff Trawick [Wed, 7 Nov 2007 10:53:18 +0000 (10:53 +0000)]
mod_charset_lite: Don't crash when the request has no associated
filename.

(r->filename unset)

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

16 years ago* modules/ssl/ssl_engine_io.c (ssl_io_filter_handshake): Renamed from
Joe Orton [Tue, 6 Nov 2007 20:49:09 +0000 (20:49 +0000)]
* modules/ssl/ssl_engine_io.c (ssl_io_filter_handshake): Renamed from
ssl_io_filter_connect since the function performs a handshake in
either client or server mode, not a "connect".  No functional change.
(both callers updated)

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

16 years ago* modules/ssl/ssl_engine_kernel.c (ssl_hook_Fixup): Don't send Upgrade
Joe Orton [Tue, 6 Nov 2007 15:34:35 +0000 (15:34 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_hook_Fixup): Don't send Upgrade
for a subrequest.  When it *is* sent, list it in a Connection: header
as required by 2616.

PR: 32486

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

16 years agomod_ssl: Fix forever-broken TLS upgrade support; perform the upgrade
Joe Orton [Tue, 6 Nov 2007 15:02:32 +0000 (15:02 +0000)]
mod_ssl: Fix forever-broken TLS upgrade support; perform the upgrade
in the post_read_request hook rather than in a filter, and fix the
filter insertion issue:

* modules/ssl/ssl_engine_kernel.c (upgrade_connection): New function,
mostly moved from ssl_io_filter_Upgrade.
(ssl_hook_ReadReq): Call upgrade_connection to upgrade to TLS if
required.

* modules/ssl/ssl_engine_io.c (ssl_io_filter_Upgrade): Remove
function.
(ssl_io_input_add_filter, ssl_io_filter_init): Take a request_rec
pointer and pass to ap_add_*_filter to ensure the filter chain
is modified correctly; remove it from the filter afterwards.
(ssl_io_filter_register): Drop UPGRADE_FILTER registration.

* modules/ssl/mod_ssl.c (ssl_init_ssl_connection): Take a request_rec
pointer, pass to ssl_io_filter_init.
(ssl_hook_pre_connection): Pass NULL request_rec pointer to above.
(ssl_hook_Insert_Filter): Remove function.
(ssl_register_hooks): Drop insert_filter hook.

* modules/ssl/ssl_private.h: Update prototypes.

PR: 41231

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

16 years ago* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Remove obsolete
Joe Orton [Mon, 5 Nov 2007 11:01:45 +0000 (11:01 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Remove obsolete
reference to the "SSL logfile".

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

16 years ago* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Use ap_log_rerror
Joe Orton [Mon, 5 Nov 2007 10:51:45 +0000 (10:51 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Use ap_log_rerror
  in place of ap_log_error throughout.
  (ssl_callback_SSLVerify): Use ap_log_cerror in place of ap_log_error
  throughout.

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

16 years ago* Add a minor bump as a result of r590122 and r591760:
Ruediger Pluem [Mon, 5 Nov 2007 09:10:03 +0000 (09:10 +0000)]
* Add a minor bump as a result of r590122 and r591760:
  ap_time_process_request() is now part of the public scoreboard API.

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

16 years ago* Use the same declaration for ap_time_process_request as in the header file.
Ruediger Pluem [Sun, 4 Nov 2007 11:20:11 +0000 (11:20 +0000)]
* Use the same declaration for ap_time_process_request as in the header file.

PR: 43789
Submitted by: Tom Donovan <Tom.Donovan acm.org>
Reviewed by: rpluem

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

16 years agospurious 401s with message "DN has not been defined" when cache expiration happens...
Eric Covener [Fri, 2 Nov 2007 22:33:36 +0000 (22:33 +0000)]
spurious 401s with message "DN has not been defined" when cache expiration happens in another thread

PR 43786

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

16 years agofix pool misuse around mod_ldap's connection cache, previously pconf
Eric Covener [Fri, 2 Nov 2007 21:58:57 +0000 (21:58 +0000)]
fix pool misuse around mod_ldap's connection cache, previously pconf
could be used during request processing

(the apr_ldap_foo only need a pool for temporary data anyway)

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

16 years agoFix handling of buffered request body for per-location SSL
Joe Orton [Fri, 2 Nov 2007 16:45:46 +0000 (16:45 +0000)]
Fix handling of buffered request body for per-location SSL
renegotiation when an internal redirect occurs:

* modules/ssl/ssl_engine_io.c (ssl_io_buffer_fill): Remove
protocol-level filters before inserting the buffering filter.
(ssl_io_filter_buffer): Return an EOS if invoked with an empty
brigade; do not remove the filter after exhausting the buffer.
(ssl_io_filter_buffer): Increase the type of the buffer filter to be
AP_FTYPE_PROTOCOL.

PR: 43738

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

16 years ago* modules/ssl/ssl_engine_vars.c (ssl_var_register): Take a pool
Joe Orton [Fri, 2 Nov 2007 16:12:42 +0000 (16:12 +0000)]
* modules/ssl/ssl_engine_vars.c (ssl_var_register): Take a pool
argument; determine library version strings once at startup.
(ssl_var_lookup_ssl_version): Drop 'pp' argument; use new global
variables rather than modifying process-global state in a function
which must be thread-safe.  (all callers changed)

* modules/ssl/mod_ssl.c (ssl_register_hooks): Pass pool to
  ssl_var_register.

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

16 years agoFixed up as per PR#28310, will back-port to /2.2/
Tony Stevenson [Fri, 2 Nov 2007 15:39:20 +0000 (15:39 +0000)]
Fixed up as per PR#28310, will back-port to /2.2/

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

16 years agoremove UTF-8. Submitted by Vincent Deffontaines (vincent at gryzor dot com).
Jean-Frederic Clere [Thu, 1 Nov 2007 14:20:47 +0000 (14:20 +0000)]
remove UTF-8. Submitted by Vincent Deffontaines (vincent at gryzor dot com).

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

16 years agoUpdate docco transforms
Jim Jagielski [Wed, 31 Oct 2007 12:28:12 +0000 (12:28 +0000)]
Update docco transforms

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

16 years agoAdd in SeeRequestTail directive, to handle the shortcoming
Jim Jagielski [Wed, 31 Oct 2007 12:19:54 +0000 (12:19 +0000)]
Add in SeeRequestTail directive, to handle the shortcoming
of only storing 63 bytes of the request, when the requests
are longer than that and only vary towards the end; eg:

   GET /disk1/storage/apache/htdocs/images/image-store1/food/fruits/seeded/apples.jpg
   GET /disk1/storage/apache/htdocs/images/image-store1/food/fruits/seeded/pears.jpg
   GET /disk1/storage/apache/htdocs/images/image-store1/food/fruits/seeded/plums.jpg

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

16 years agoThe function ap_time_process_request() needs to be declared appropriately if it is...
Bradley Nicholes [Tue, 30 Oct 2007 15:46:06 +0000 (15:46 +0000)]
The function ap_time_process_request() needs to be declared appropriately if it is going to be used externally (now being called by mod_echo)

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

16 years agoOtherwise it doesn't compile on HP-UX when using cc.
Jean-Frederic Clere [Tue, 30 Oct 2007 11:21:11 +0000 (11:21 +0000)]
Otherwise it doesn't compile on HP-UX when using cc.

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

16 years agoAfter a stop or restart signal, the old listening sockets
Martin Kraemer [Mon, 29 Oct 2007 17:38:11 +0000 (17:38 +0000)]
After a stop or restart signal, the old listening sockets
are closed. "Some platforms" drop out of the accept() with
an EBADF after the sockets have been closed. Such an
error should not clutter the logs.

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

16 years agoAs of r589618, these have been backported
Jim Jagielski [Mon, 29 Oct 2007 13:14:51 +0000 (13:14 +0000)]
As of r589618, these have been backported

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

16 years agoPrevent 1-byte overflow on 8192 boundary (see PR 43310)
Jim Jagielski [Mon, 29 Oct 2007 01:25:16 +0000 (01:25 +0000)]
Prevent 1-byte overflow on 8192 boundary (see PR 43310)

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

16 years agoUpdate the patch for environment variable interpolation in
Nick Kew [Sun, 28 Oct 2007 15:49:03 +0000 (15:49 +0000)]
Update the patch for environment variable interpolation in
ProxyPass/Reverse/etc directives: r421686, r422178, r421686, r421725
That patch stalled on wrowe's veto.  This update introduces a new
"interpolate" keyword to all directives affected, so should meet
his concerns by adding explicit per-directive control (disabled
by default).

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

16 years agoUpdate r573831 to avoid duplicating URL-escaping code.
Nick Kew [Sun, 28 Oct 2007 12:44:19 +0000 (12:44 +0000)]
Update r573831 to avoid duplicating URL-escaping code.
Ref. http://www.mail-archive.com/dev@httpd.apache.org/msg38532.html

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

16 years agoFix possible crash at startup in case of nonexistent DocumentRoot.
Nick Kew [Sat, 27 Oct 2007 18:51:23 +0000 (18:51 +0000)]
Fix possible crash at startup in case of nonexistent DocumentRoot.
PR#39722

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

16 years agoAdd option not to send&clear response headers in ap_send_interim_response.
Nick Kew [Fri, 26 Oct 2007 23:56:06 +0000 (23:56 +0000)]
Add option not to send&clear response headers in ap_send_interim_response.
We'll need this option to fix PR#43711, and ap_send_interim_response
is fortunately too new an API to have made it into anything stable.

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