]> granicus.if.org Git - apache/log
apache
15 years agochange the callable functions in the mod_watchdog API
Jeff Trawick [Wed, 30 Sep 2009 20:00:37 +0000 (20:00 +0000)]
change the callable functions in the mod_watchdog API
to optional hooks to avoid module ordering or other symbol
resolution issues; affected:

  ap_watchdog_get_instance
  ap_watchdog_register_callback
  ap_watchdog_set_callback_interval

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

15 years agodon't override the user's choice (e.g., --enable-watchdog)
Jeff Trawick [Wed, 30 Sep 2009 19:26:52 +0000 (19:26 +0000)]
don't override the user's choice (e.g., --enable-watchdog)
when deciding how it is enabled by default

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

15 years ago* Fix a regression from r724717 by reintroducing SSL_CLIENT_S_DN,
Ruediger Pluem [Wed, 30 Sep 2009 19:19:10 +0000 (19:19 +0000)]
* Fix a regression from r724717 by reintroducing SSL_CLIENT_S_DN,
  SSL_CLIENT_I_DN, SSL_SERVER_S_DN, SSL_SERVER_I_DN back to the environment
  variables to be set by mod_ssl.

Submitted by: Peter Sylvester <peter.sylvester edelweb.fr>
Reviewed by: rpluem

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

15 years agoTry to have consistent interface regardless of slotmem or
Jim Jagielski [Wed, 30 Sep 2009 18:58:34 +0000 (18:58 +0000)]
Try to have consistent interface regardless of slotmem or
file-based.

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

15 years agoAdded mod_proxy_fcgi to NetWare build.
Guenter Knauf [Wed, 30 Sep 2009 18:44:50 +0000 (18:44 +0000)]
Added mod_proxy_fcgi to NetWare build.

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

15 years agotweak spelling/wording in mod_watchdog documentation
Jeff Trawick [Wed, 30 Sep 2009 18:21:36 +0000 (18:21 +0000)]
tweak spelling/wording in mod_watchdog documentation

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

15 years agoWhen connecting to no http protocol response will be NULL and httpd cores.
Jean-Frederic Clere [Wed, 30 Sep 2009 08:56:10 +0000 (08:56 +0000)]
When connecting to no http protocol response will be NULL and httpd cores.

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

15 years agoAdd port in the logic.
Jean-Frederic Clere [Wed, 30 Sep 2009 08:50:57 +0000 (08:50 +0000)]
Add port in the logic.

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

15 years agoSpelling fix in comment.
Daniel Earl Poirier [Tue, 29 Sep 2009 17:32:17 +0000 (17:32 +0000)]
Spelling fix in comment.

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

15 years agoMake comment agree with code.
Daniel Earl Poirier [Tue, 29 Sep 2009 17:27:56 +0000 (17:27 +0000)]
Make comment agree with code.

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

15 years agoWhen using Heartmonitor choose the back-end randomly for the list provider by mod_hea...
Jean-Frederic Clere [Tue, 29 Sep 2009 15:28:25 +0000 (15:28 +0000)]
When using Heartmonitor choose the back-end randomly for the list provider by mod_heartmonitor.

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

15 years agotypo.
Jean-Frederic Clere [Tue, 29 Sep 2009 14:16:50 +0000 (14:16 +0000)]
typo.

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

15 years agoAdd slotmem storage logic for multicast logic.
Jean-Frederic Clere [Tue, 29 Sep 2009 13:50:42 +0000 (13:50 +0000)]
Add slotmem storage logic for multicast logic.

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

15 years agoadded comment about the never reached return statement.
Guenter Knauf [Tue, 29 Sep 2009 12:08:28 +0000 (12:08 +0000)]
added comment about the never reached return statement.

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

15 years agoMake sure that --enable-maintainer-mode increase warnings/errors level.
Jean-Frederic Clere [Tue, 29 Sep 2009 07:34:33 +0000 (07:34 +0000)]
Make sure that --enable-maintainer-mode increase warnings/errors level.

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

15 years agowhen a request body is sent, just display "Total body sent"
Jeff Trawick [Mon, 28 Sep 2009 20:12:31 +0000 (20:12 +0000)]
when a request body is sent, just display "Total body sent"
in the summary instead of making up the past tense of an
HTTP method (POST-ed or PUT)

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

15 years ago* support/ab.c (output_results): Fix gcc warning on LP64 - field
Joe Orton [Mon, 28 Sep 2009 19:51:50 +0000 (19:51 +0000)]
* support/ab.c (output_results): Fix gcc warning on LP64 - field
  width passed via '*' must be an int.

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

15 years ago* include/httpd.h: Fix comment implying that LimitRequestLine
Joe Orton [Mon, 28 Sep 2009 08:56:36 +0000 (08:56 +0000)]
* include/httpd.h: Fix comment implying that LimitRequestLine
  and LimitRequestFieldsize cannot raise limits -- no longer the
  case.

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

15 years agofixed wrong 3rd parameter passed to apr_brigade_split_line().
Guenter Knauf [Sun, 27 Sep 2009 18:53:33 +0000 (18:53 +0000)]
fixed wrong 3rd parameter passed to apr_brigade_split_line().
Problem showed up with Sun Studio; mentioned by Jie Gao on the list.

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

15 years agorefactor the representation of HTTP method and whether to send
Jeff Trawick [Sun, 27 Sep 2009 12:54:50 +0000 (12:54 +0000)]
refactor the representation of HTTP method and whether to send
a body, fixing these insignificant bugs:

* method name displayed in a debug message was wrong in some
  cases
* specifying conflicting HTTP methods on the command-line
  displayed an invalid message in some cases

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

15 years agoUpdates.
Lucien Gentis [Sun, 27 Sep 2009 12:34:00 +0000 (12:34 +0000)]
Updates.

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

15 years agofixed compatibility to Openssl < 0.9.7g.
Guenter Knauf [Sun, 27 Sep 2009 02:54:07 +0000 (02:54 +0000)]
fixed compatibility to Openssl < 0.9.7g.

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

15 years agofixed compatibility to Openssl < 0.9.7g;
Guenter Knauf [Sun, 27 Sep 2009 01:53:14 +0000 (01:53 +0000)]
fixed compatibility to Openssl < 0.9.7g;
sync'd compatibility to Openssl >= 0.9.9 with 2.2.x branch.

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

15 years agosmall code cleanups for POST/PUT, especially to combine common code
Jeff Trawick [Sun, 27 Sep 2009 00:28:27 +0000 (00:28 +0000)]
small code cleanups for POST/PUT, especially to combine common code
exit if the file to POST/PUT can't be read

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

15 years ago* Use strcasecmp instead of strncasecmp as we want to be sure that the whole
Ruediger Pluem [Sun, 27 Sep 2009 00:16:49 +0000 (00:16 +0000)]
* Use strcasecmp instead of strncasecmp as we want to be sure that the whole
  word is None and not only the beginning.

Noted by Jeff Trawick

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

15 years agoAdd support for an "epoch" in the RPM spec file. This epoch is a discrete
Graham Leggett [Fri, 25 Sep 2009 21:02:33 +0000 (21:02 +0000)]
Add support for an "epoch" in the RPM spec file. This epoch is a discrete
number used to determine if one RPM is newer than another, which in turn
ensures that v1.2.10 is always interpreted as newer than v1.2.9.

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

15 years agoHmmm... forgot git commit/dcommit.
Jim Jagielski [Fri, 25 Sep 2009 12:11:51 +0000 (12:11 +0000)]
Hmmm... forgot git commit/dcommit.

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

15 years agoOops. forgot the declaration
Jim Jagielski [Fri, 25 Sep 2009 12:06:51 +0000 (12:06 +0000)]
Oops. forgot the declaration

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

15 years agoEnhance ap_hook_monitor to pass along a server_rec (in
Jim Jagielski [Fri, 25 Sep 2009 11:59:30 +0000 (11:59 +0000)]
Enhance ap_hook_monitor to pass along a server_rec (in
general the ap_server_conf) and tuck away some storage
in there which may be useful as an opaque data pointer.

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

15 years agoupdate transformation
André Malo [Fri, 25 Sep 2009 09:58:52 +0000 (09:58 +0000)]
update transformation

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

15 years agofix compat info for mod_proxy_scgi
André Malo [Fri, 25 Sep 2009 09:56:29 +0000 (09:56 +0000)]
fix compat info for mod_proxy_scgi

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

15 years agofixed property.
Guenter Knauf [Fri, 25 Sep 2009 02:31:53 +0000 (02:31 +0000)]
fixed property.

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

15 years agoFixed internal NLM name.
Guenter Knauf [Fri, 25 Sep 2009 01:23:15 +0000 (01:23 +0000)]
Fixed internal NLM name.

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

15 years agoAdded mod_proxy_scgi to NetWare build.
Guenter Knauf [Fri, 25 Sep 2009 00:58:56 +0000 (00:58 +0000)]
Added mod_proxy_scgi to NetWare build.

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

15 years agomod_cache: don't cache incomplete responses, per RFC 2616, 13.8.
Daniel Earl Poirier [Thu, 24 Sep 2009 14:25:19 +0000 (14:25 +0000)]
mod_cache: don't cache incomplete responses, per RFC 2616, 13.8.

PR: 15866

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

15 years agoFix a segfault in ab when run in verbose mode using https.
Daniel Earl Poirier [Wed, 23 Sep 2009 18:57:07 +0000 (18:57 +0000)]
Fix a segfault in ab when run in verbose mode using https.

PR: 46393
Submitted by: Stefan Fritsch <sf sfritsch.de>, Ryan Niebur
Reviewed by: poirier

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

15 years agoupdate transformation
André Malo [Sun, 20 Sep 2009 18:40:39 +0000 (18:40 +0000)]
update transformation

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

15 years agoremove useless line
André Malo [Sun, 20 Sep 2009 17:57:05 +0000 (17:57 +0000)]
remove useless line

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

15 years agoAdd ant task to html manual and man page generation:
Rainer Jung [Sat, 19 Sep 2009 15:40:42 +0000 (15:40 +0000)]
Add ant task to html manual and man page generation:
- check-man checks for the presence of the "man"
  directory and sets an ant property skip-man in
  case the directory is missing
- all the man age generating tasks first call
  check-man as a dependency, and then only run
  if skip-man is unset.

Thats useful for unbundled modules like mod_ftp
and mod_fcgid, which do not have a man directory.
Building their docs otherwise bombs.

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

15 years agomod_dav: Allow other modules to become providers and add resource types
Graham Leggett [Sat, 19 Sep 2009 11:20:24 +0000 (11:20 +0000)]
mod_dav: Allow other modules to become providers and add resource types
to the DAV response.
Submitted by: Jari Urpalainen <jari.urpalainen nokia.com>, Brian France <brian brianfrance.com>

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

15 years agoDetab.
Daniel Earl Poirier [Fri, 18 Sep 2009 16:26:55 +0000 (16:26 +0000)]
Detab.

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

15 years agoNew Turkish translation
Nilgun Belma Buguner [Fri, 18 Sep 2009 00:37:11 +0000 (00:37 +0000)]
New Turkish translation

Translated by: Umut Samuk <umut belgeler.org>
Reviewed by:  Nilgün Belma Bugüner <nilgun belgeler.org>

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

15 years agofix validation errors
Nilgun Belma Buguner [Fri, 18 Sep 2009 00:35:14 +0000 (00:35 +0000)]
fix validation errors

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

15 years agoupdate transformation
Nilgun Belma Buguner [Fri, 18 Sep 2009 00:34:32 +0000 (00:34 +0000)]
update transformation

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

15 years agoTreat gid's identically to uid's for purposes of numeric formatting.
William A. Rowe Jr [Thu, 17 Sep 2009 21:35:04 +0000 (21:35 +0000)]
Treat gid's identically to uid's for purposes of numeric formatting.

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

15 years agouse what we know
Jim Jagielski [Thu, 17 Sep 2009 19:58:40 +0000 (19:58 +0000)]
use what we know

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

15 years agokinda old
Jim Jagielski [Thu, 17 Sep 2009 14:09:37 +0000 (14:09 +0000)]
kinda old

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

15 years agoNote that RewriteLog doesn't work in .htaccess files.
Rich Bowen [Wed, 16 Sep 2009 20:11:41 +0000 (20:11 +0000)]
Note that RewriteLog doesn't work in .htaccess files.

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

15 years ago* prevent a fork bomb if the accept mutex is clobbered by exiting with
Greg Ames [Wed, 16 Sep 2009 18:07:09 +0000 (18:07 +0000)]
* prevent a fork bomb if the accept mutex is clobbered by exiting with
  APEXIT_CHILDSICK if the worker process hasn't served any requests
* move the accept mutex error leg into its own function to take advantage of
  common code and to keep rarely executed instructions out of the mainline
  instruction cache.

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

15 years ago* server/log.c: Update comment in piped_log structure, now it is
Joe Orton [Wed, 16 Sep 2009 14:45:39 +0000 (14:45 +0000)]
* server/log.c: Update comment in piped_log structure, now it is
  has been made opaque.

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

15 years agoJust a little additional verbiage for the FallbackResource directive.
Rich Bowen [Wed, 16 Sep 2009 13:51:53 +0000 (13:51 +0000)]
Just a little additional verbiage for the FallbackResource directive.

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

15 years ago* modules/ssl/ssl_util_ocsp.c, modules/ssl/ssl_engine_ocsp.c:
Joe Orton [Wed, 16 Sep 2009 12:47:33 +0000 (12:47 +0000)]
* modules/ssl/ssl_util_ocsp.c, modules/ssl/ssl_engine_ocsp.c:
  Move comment on I/O timeout to appropriate place, thanks to
  Steve Henson.

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

15 years ago* modules/ssl/ssl_util_ocsp.c (send_request,
Joe Orton [Wed, 16 Sep 2009 10:56:31 +0000 (10:56 +0000)]
* modules/ssl/ssl_util_ocsp.c (send_request,
  modssl_dispatch_ocsp_request): Take timeout as argument, as pass through.

* modules/ssl/ssl_engine_ocsp.c (verify_ocsp_status): Pass server timeout
  to modssl_dispatch_ocsp_request.

Submitted by: Dr Stephen Henson <shenson oss-institute.org>

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

15 years agoChange Fallback to FallbackResource after extensive discussion with
Nick Kew [Tue, 15 Sep 2009 21:41:05 +0000 (21:41 +0000)]
Change Fallback to FallbackResource after extensive discussion with
wrowe and DrBacchus.

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

15 years agosimplify reporting of the repeated argument error
Jeff Trawick [Tue, 15 Sep 2009 18:59:52 +0000 (18:59 +0000)]
simplify reporting of the repeated argument error

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

15 years agodefined apr_status_t rv one time at entry of ap_core_output_filter() instead of
Guenter Knauf [Tue, 15 Sep 2009 17:11:25 +0000 (17:11 +0000)]
defined apr_status_t rv one time at entry of ap_core_output_filter() instead of
multiple times within the code which caused compile break every now and then.

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

15 years agochanged build of proxy modules to use common mod_proxy.imp file.
Guenter Knauf [Tue, 15 Sep 2009 16:55:03 +0000 (16:55 +0000)]
changed build of proxy modules to use common mod_proxy.imp file.

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

15 years agoChange "DefaultHandler" to "Fallback" as discussed on list and
Nick Kew [Tue, 15 Sep 2009 16:10:21 +0000 (16:10 +0000)]
Change "DefaultHandler" to "Fallback" as discussed on list and
today on IRC, in the hope that everyone will be satisfied.
PR: 47184 + subsequent veto of original directive name

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

15 years agorespect const-ness of string argument to ap_expr_string()
Jeff Trawick [Tue, 15 Sep 2009 12:59:12 +0000 (12:59 +0000)]
respect const-ness of string argument to ap_expr_string()

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

15 years ago* Follow the standard CHANGES format for security changes.
Ruediger Pluem [Mon, 14 Sep 2009 21:30:32 +0000 (21:30 +0000)]
* Follow the standard CHANGES format for security changes.

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

15 years agoCorrect attribution for mod_dav options provider interface.
Graham Leggett [Mon, 14 Sep 2009 21:21:33 +0000 (21:21 +0000)]
Correct attribution for mod_dav options provider interface.

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

15 years ago* Replace brigade_move with apr_brigade_split_ex as spotted by pquerna.
Ruediger Pluem [Mon, 14 Sep 2009 21:03:31 +0000 (21:03 +0000)]
* Replace brigade_move with apr_brigade_split_ex as spotted by pquerna.

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

15 years agoAdd attribution and CVE notices.
Graham Leggett [Mon, 14 Sep 2009 20:55:40 +0000 (20:55 +0000)]
Add attribution and CVE notices.

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

15 years agomod_dav: Allow other modules to add things to the DAV or Allow headers
Graham Leggett [Mon, 14 Sep 2009 20:31:18 +0000 (20:31 +0000)]
mod_dav: Allow other modules to add things to the DAV or Allow headers
of an OPTIONS request.
Submitted by: Brian France <brian brianfrance.com>

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

15 years ago* Lower memory usage by reusing the brigade instead of constantly
Ruediger Pluem [Mon, 14 Sep 2009 19:46:36 +0000 (19:46 +0000)]
* Lower memory usage by reusing the brigade instead of constantly
  recerating one.

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

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

15 years ago* support/htdbm.c (htdbm_list): Fix compiler warning on x86_64.
Joe Orton [Mon, 14 Sep 2009 19:24:51 +0000 (19:24 +0000)]
* support/htdbm.c (htdbm_list): Fix compiler warning on x86_64.
  (the field width must always be passed as an int if using "%.*")

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

15 years ago* modules/proxy/mod_proxy_ftp.c (parse_epsv_reply): Remove redundant
Joe Orton [Mon, 14 Sep 2009 19:17:16 +0000 (19:17 +0000)]
* modules/proxy/mod_proxy_ftp.c (parse_epsv_reply): Remove redundant
  check for !p[0], thanks rpluem.  Also update to take const argument
  and fix comment, since the string is not modified in-place.

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

15 years agohtdbm: don't allocate more memory for every record we dump.
Daniel Earl Poirier [Mon, 14 Sep 2009 19:08:22 +0000 (19:08 +0000)]
htdbm: don't allocate more memory for every record we dump.
Thanks to Jeff Trawick for flagging this.
Also ensure a space before all dumped comments.

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

15 years agoMove declaration to remove a compiler warning.
Graham Leggett [Mon, 14 Sep 2009 19:06:36 +0000 (19:06 +0000)]
Move declaration to remove a compiler warning.

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

15 years agomod_mime: detect invalid use of MultiviewsMatch inside Location and
Daniel Earl Poirier [Mon, 14 Sep 2009 16:32:30 +0000 (16:32 +0000)]
mod_mime: detect invalid use of MultiviewsMatch inside Location and
LocationMatch sections.  Document that such usage is not valid.
PR47754.

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

15 years agoSecurity fix - this is presumed to fix CVE-2009-3094 (the disclosed
Joe Orton [Mon, 14 Sep 2009 14:16:14 +0000 (14:16 +0000)]
Security fix - this is presumed to fix CVE-2009-3094 (the disclosed
information was limited so this has not been confirmed):

* modules/proxy/mod_proxy_ftp.c (parse_epsv_reply): New function.
  (proxy_ftp_handler): Fix possible NULL pointer deference in
  apr_socket_close(NULL) on error paths.  Fix possible buffer overread
  in EPSV response parser; use parse_epsv_reply instead.  Thanks to
  Jeff Trawick and Stefan Fritsch for analysis of this issue.

Submitted by: Stefan Fritsch <sf fritsch.de>, jorton

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

15 years agoBring the LDAPCacheEntries and LDAPOpCacheEntries usage() in synch with
Eric Covener [Sun, 13 Sep 2009 23:54:23 +0000 (23:54 +0000)]
Bring the LDAPCacheEntries and LDAPOpCacheEntries usage() in synch with
the manual and the implementation (0 and -1 both disable the cache).

PR 40948

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

15 years agomod_request: Make sure the KeptBodySize directive rejects values
Graham Leggett [Sun, 13 Sep 2009 16:35:40 +0000 (16:35 +0000)]
mod_request: Make sure the KeptBodySize directive rejects values
that aren't valid numbers.

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

15 years agoRemove trailing whitespace from the mod_request module.
Graham Leggett [Sun, 13 Sep 2009 16:32:23 +0000 (16:32 +0000)]
Remove trailing whitespace from the mod_request module.

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

15 years agomod_session_crypto: Sanity check should the potentially encrypted
Graham Leggett [Sun, 13 Sep 2009 16:04:13 +0000 (16:04 +0000)]
mod_session_crypto: Sanity check should the potentially encrypted
session cookie be too short.

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

15 years agomod_session.c: Prevent a segfault when session is added but not
Graham Leggett [Sun, 13 Sep 2009 14:59:28 +0000 (14:59 +0000)]
mod_session.c: Prevent a segfault when session is added but not
configured.

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

15 years agoRemove stray trailing whitespace from mod_session.c.
Graham Leggett [Sun, 13 Sep 2009 14:56:07 +0000 (14:56 +0000)]
Remove stray trailing whitespace from mod_session.c.

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

15 years agoBring in support for an arbitrary list of mpms to the RPM spec file
Graham Leggett [Sun, 13 Sep 2009 14:28:27 +0000 (14:28 +0000)]
Bring in support for an arbitrary list of mpms to the RPM spec file
as per the fedora spec file.

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

15 years ago* Add missing , to make it compile again.
Ruediger Pluem [Sat, 12 Sep 2009 07:59:31 +0000 (07:59 +0000)]
* Add missing , to make it compile again.

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

15 years ago* Detab.
Ruediger Pluem [Sat, 12 Sep 2009 07:57:59 +0000 (07:57 +0000)]
* Detab.

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

15 years agohtcacheclean: 19 ways to fail, 1 error message. Fixed.
Graham Leggett [Fri, 11 Sep 2009 23:57:48 +0000 (23:57 +0000)]
htcacheclean: 19 ways to fail, 1 error message. Fixed.

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

15 years agoAdd an RPM init.d script to start the htcacheclean daemon, controlled
Graham Leggett [Fri, 11 Sep 2009 23:26:35 +0000 (23:26 +0000)]
Add an RPM init.d script to start the htcacheclean daemon, controlled
by the optional /etc/sysconfig/htcacheclean configuration.

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

15 years agoCatch the somewhat absurd combination of a 417 error where no Expect header
William A. Rowe Jr [Fri, 11 Sep 2009 21:55:46 +0000 (21:55 +0000)]
Catch the somewhat absurd combination of a 417 error where no Expect header
was present.

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

15 years agoSecurity fix - this is presumed to fix CVE-2009-3095 (the disclosed
Joe Orton [Fri, 11 Sep 2009 21:49:50 +0000 (21:49 +0000)]
Security fix - this is presumed to fix CVE-2009-3095 (the disclosed
information was limited so this has not been confirmed):

* modules/proxy/mod_proxy_ftp.c (proxy_ftp_handler): Fail if the
  decoded Basic credentials contain "special" characters.
  Thanks to Stefan Fritsch for analysis of this issue.

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

15 years agoFix the RPM init.d script to correctly take into account the pid file
Graham Leggett [Fri, 11 Sep 2009 18:29:38 +0000 (18:29 +0000)]
Fix the RPM init.d script to correctly take into account the pid file
when starting and stopping the server. This prevents the init script
from blowing away other instances of httpd that might be running on the
same machine when someone attempts to stop the server.

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

15 years agoFail server startup when mod_auth_digest is unable to
Daniel Earl Poirier [Thu, 10 Sep 2009 12:12:58 +0000 (12:12 +0000)]
Fail server startup when mod_auth_digest is unable to
provide the security checks configured.

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

15 years agohrmm
Jim Jagielski [Thu, 10 Sep 2009 11:42:34 +0000 (11:42 +0000)]
hrmm

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

15 years agodoccs
Jim Jagielski [Thu, 10 Sep 2009 11:41:27 +0000 (11:41 +0000)]
doccs

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

15 years agoveto-ed
Jim Jagielski [Thu, 10 Sep 2009 11:39:03 +0000 (11:39 +0000)]
veto-ed

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

15 years ago* More style fixes. No functional changes.
Ruediger Pluem [Thu, 10 Sep 2009 07:00:27 +0000 (07:00 +0000)]
* More style fixes. No functional changes.

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

15 years ago* Style fixes. No functional changes.
Ruediger Pluem [Thu, 10 Sep 2009 06:35:34 +0000 (06:35 +0000)]
* Style fixes. No functional changes.

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

15 years ago* Silence compiler warnings
Ruediger Pluem [Thu, 10 Sep 2009 06:19:27 +0000 (06:19 +0000)]
* Silence compiler warnings

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

15 years agomod_proxy_connect: The connect method doesn't work if the client is
Graham Leggett [Wed, 9 Sep 2009 23:56:29 +0000 (23:56 +0000)]
mod_proxy_connect: The connect method doesn't work if the client is
connecting to the apache proxy through an ssl socket. Fixed.
PR: 29744.
Submitted by: Brad Boyer, Mark Cave-Ayland, Julian Gilbey, Fabrice Durand,
David Gence, Tim Dodge, Per Gunnar Hans, Emmanuel Elango, Kevin Croft,
Rudolf Cardinal

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

15 years agoMake sure the NULL terminator of the array is consistent with the other
Graham Leggett [Wed, 9 Sep 2009 23:12:15 +0000 (23:12 +0000)]
Make sure the NULL terminator of the array is consistent with the other
elements in the array.

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

15 years agoUpdate transformations.
Graham Leggett [Wed, 9 Sep 2009 21:35:50 +0000 (21:35 +0000)]
Update transformations.

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

15 years ago<li> must be followed by a matching </li>.
Graham Leggett [Wed, 9 Sep 2009 21:34:42 +0000 (21:34 +0000)]
<li> must be followed by a matching </li>.

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

15 years agomod_ssl: The error message when SSLCertificateFile is missing should at
Graham Leggett [Wed, 9 Sep 2009 20:35:05 +0000 (20:35 +0000)]
mod_ssl: The error message when SSLCertificateFile is missing should at
least give the name or position of the problematic virtual host definition.
[Stefan Fritsch sf sfritsch.de]

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

15 years agomod_auth_digest: When qop is none, client doesn't send nonce count,
Daniel Earl Poirier [Wed, 9 Sep 2009 13:04:34 +0000 (13:04 +0000)]
mod_auth_digest: When qop is none, client doesn't send nonce count,
but module was segfaulting trying to check the nonce count anyway.

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

15 years agoNote SSL caviet and installer features in windows platform docs.
William A. Rowe Jr [Wed, 9 Sep 2009 12:49:16 +0000 (12:49 +0000)]
Note SSL caviet and installer features in windows platform docs.

Drop the symbols/ tree, nothing is installed within it.

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

15 years agoUpdate the ab.xml file with the addition of the -u option to ab to
Graham Leggett [Sun, 6 Sep 2009 19:36:45 +0000 (19:36 +0000)]
Update the ab.xml file with the addition of the -u option to ab to
support PUT requests.

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