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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  * Use transient instead of pool buckets.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* include/ap_mmn.h: Minor MMN bump.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Submitted by: jorton
Reviewed by: rpluem

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

16 years agofixed var declaration in the middle of code.
Guenter Knauf [Thu, 29 Nov 2007 12:56:52 +0000 (12:56 +0000)]
fixed var declaration in the middle of code.

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

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