]> granicus.if.org Git - apache/log
apache
17 years agoDetab
Sander Temme [Sat, 24 Mar 2007 18:22:35 +0000 (18:22 +0000)]
Detab

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

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

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

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

PR: 39605

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

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

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

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

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

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

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

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

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

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

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

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

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

17 years agoadded mod_sedfilter; minor cosmetic changes.
Guenter Knauf [Wed, 21 Mar 2007 23:56:29 +0000 (23:56 +0000)]
added mod_sedfilter; minor cosmetic changes.

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

17 years agoremoved obsolete -prefix; minor cosmetic changes.
Guenter Knauf [Wed, 21 Mar 2007 23:53:31 +0000 (23:53 +0000)]
removed obsolete -prefix; minor cosmetic changes.

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

17 years agoremoved obsolete -prefix; minor cosmetic changes.
Guenter Knauf [Wed, 21 Mar 2007 23:33:35 +0000 (23:33 +0000)]
removed obsolete -prefix; minor cosmetic changes.

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

17 years ago* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_version): constify
Joe Orton [Wed, 21 Mar 2007 11:08:14 +0000 (11:08 +0000)]
* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_version): constify
where possible.

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

17 years agoMatch the comment to the rules - rules mention dir1 and dir2, comment
Rich Bowen [Wed, 21 Mar 2007 10:56:05 +0000 (10:56 +0000)]
Match the comment to the rules - rules mention dir1 and dir2, comment
refers to custom/ and pub/

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

17 years agoHardly seems worth noting, but since it's an FAQ in the first place...
William A. Rowe Jr [Wed, 21 Mar 2007 03:50:49 +0000 (03:50 +0000)]
Hardly seems worth noting, but since it's an FAQ in the first place...

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

17 years agoToo many users are baffled by this message. Some days even the devs are ;-)
William A. Rowe Jr [Wed, 21 Mar 2007 03:46:50 +0000 (03:46 +0000)]
Too many users are baffled by this message.  Some days even the devs are ;-)

Votes to backport to 2.2 and 2.0?

New resulting message is

bin/httpd -f /dev/null -C "LoadModule ftp_module ../apache22/modules/mod_ftp.so"

Syntax error in -C/-c directive:
API module structure 'ftp_module' in file /usr/local/apache22/modules/mod_ftp.so
is garbled - expected signature 41503230 but saw 41503232 - perhaps this is not
an Apache module DSO, or was compiled for a different Apache version?

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

17 years ago*) adds compile-time/run time SSL-C version support
William A. Rowe Jr [Wed, 21 Mar 2007 01:55:29 +0000 (01:55 +0000)]
*) adds compile-time/run time SSL-C version support
*) simplify a ton of overly-verbose legacy code
*) split the compiled-against v.s. runtime library
*) precache the results of the version string touchup

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

17 years agoEven though we don't let our bb grow too large, still
Jim Jagielski [Tue, 20 Mar 2007 15:48:23 +0000 (15:48 +0000)]
Even though we don't let our bb grow too large, still
honor flush buckets anyway... Note: maybe now we
should use something a little larger that AP_MIN_BYTES_TO_WRITE??

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

17 years agoUse macros for common code paths... this cleans it up
Jim Jagielski [Tue, 20 Mar 2007 14:36:57 +0000 (14:36 +0000)]
Use macros for common code paths... this cleans it up
a bit and prevents people from worrying about
whether these 2 parts are so different or not.

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

17 years agoAnd note its existance on the dev doc page
Jim Jagielski [Mon, 19 Mar 2007 20:19:49 +0000 (20:19 +0000)]
And note its existance on the dev doc page

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

17 years agoUpdate the doccos, mainly to start folding in
Jim Jagielski [Mon, 19 Mar 2007 20:15:36 +0000 (20:15 +0000)]
Update the doccos, mainly to start folding in
the o-f developer guideline.

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

17 years agoUpdate build system to know about sedfilter
Jim Jagielski [Mon, 19 Mar 2007 20:09:00 +0000 (20:09 +0000)]
Update build system to know about sedfilter

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

17 years agoSome minor tweaks... return quickly if given an
Jim Jagielski [Mon, 19 Mar 2007 20:04:56 +0000 (20:04 +0000)]
Some minor tweaks... return quickly if given an
empty bb, ensure EOS is the last bucket we handle
and if our chunked passing fails, then we need
to report that immediately.

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

17 years agoAdd comment to avoid confusion and questions :)
Jim Jagielski [Mon, 19 Mar 2007 15:22:58 +0000 (15:22 +0000)]
Add comment to avoid confusion and questions :)

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

17 years agoNote what the actually "valid" usage for apr_brigade_destroy
Jim Jagielski [Mon, 19 Mar 2007 15:03:17 +0000 (15:03 +0000)]
Note what the actually "valid" usage for apr_brigade_destroy
is, but still urge people to avoid it.

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

17 years agoUpdates based on feedback from Ruediger and Jeff:
Joe Orton [Mon, 19 Mar 2007 14:39:39 +0000 (14:39 +0000)]
Updates based on feedback from Ruediger and Jeff:

- correct use of "up" and "down" w.r.t. filter chain
- various grammar fixes
- recommend use of apr_brigade_cleanup() in the brigade structure section
- fix use of APR_BRIGADE_INSERT_HEAD in an example
- expand section on use of ap_save_brigade()
- simplify rule regarding fixed processing fixed # of buckets

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

17 years ago- add initial version of output filters guide (as sent to dev@)
Joe Orton [Mon, 19 Mar 2007 14:15:07 +0000 (14:15 +0000)]
- add initial version of output filters guide (as sent to dev@)

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

17 years agoMake sure that we are not resending if we have received something from Tomcat.
Jean-Frederic Clere [Fri, 16 Mar 2007 11:26:33 +0000 (11:26 +0000)]
Make sure that we are not resending if we have received something from Tomcat.

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

17 years agoInitial import: mod_sedfilter.c (was mod_sed_filter.c) as
Jim Jagielski [Thu, 15 Mar 2007 23:29:23 +0000 (23:29 +0000)]
Initial import: mod_sedfilter.c (was mod_sed_filter.c) as
per discussion on dev@httpd.

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

17 years agoRemove the hardcoded size limit parameter for ldap_search_ext_s
Bradley Nicholes [Tue, 13 Mar 2007 17:53:22 +0000 (17:53 +0000)]
Remove the hardcoded size limit parameter for ldap_search_ext_s
and replace it with an APR_ defined value that is set according
to the LDAP SDK being used.

Submitted by: David Jones <oscaremma gmail com>

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

17 years ago* modules/http/http_etag.c (etag_uint64_to_hex): Fix maximum shift
Joe Orton [Tue, 13 Mar 2007 11:58:12 +0000 (11:58 +0000)]
* modules/http/http_etag.c (etag_uint64_to_hex): Fix maximum shift
size, thanks to Ruediger.

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

17 years agoGenerate etags consistently across 32-bit and 64-bit platforms:
Joe Orton [Mon, 12 Mar 2007 15:05:50 +0000 (15:05 +0000)]
Generate etags consistently across 32-bit and 64-bit platforms:

* modules/http/http_etag.c (etag_uint64_to_hex): Renamed from
etag_ulong_to_hex; take an apr_uint64_t argument.
(ap_make_etag): Adjust to use new function and macro names.
Pass arguments directly to etag_uint64_to_hex without casting
down to unsigned long.

PR: 40064

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

17 years ago* server/mpm_common.c (dummy_connection): Use "OPTIONS *" for request
Joe Orton [Mon, 12 Mar 2007 14:49:07 +0000 (14:49 +0000)]
* server/mpm_common.c (dummy_connection): Use "OPTIONS *" for request
on dummy connection.

PR: 41796

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

17 years agoAdd the case_flt experimental modules to the NetWare build
Bradley Nicholes [Fri, 9 Mar 2007 00:19:31 +0000 (00:19 +0000)]
Add the case_flt experimental modules to the NetWare build

Submitted by: Guenter Knauf <fuankg apache.org>

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

17 years agoab: Add -r option to continue after socket receive errors.
Jeff Trawick [Thu, 8 Mar 2007 21:00:07 +0000 (21:00 +0000)]
ab: Add -r option to continue after socket receive errors.

Submitted by: Filip Hanik <devlist hanik.com>
Reviewed by: trawick

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

17 years ago* support/logresolve.c (main): Simplify to avoid conditionals in handling
Joe Orton [Wed, 7 Mar 2007 13:44:15 +0000 (13:44 +0000)]
* support/logresolve.c (main): Simplify to avoid conditionals in handling
of lines without spaces: ensure a newline is printed for the cache-hit
path and fix a crash in apr_file_printf for the cache-miss path.

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

17 years agoThere's a link to stuff about Y2K, but the actual content about Y2K was
Rich Bowen [Wed, 7 Mar 2007 03:35:41 +0000 (03:35 +0000)]
There's a link to stuff about Y2K, but the actual content about Y2K was
removed quite a while back.

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

17 years agoQuote any file system path that may have spaces when expanded
Sander Temme [Wed, 7 Mar 2007 01:13:46 +0000 (01:13 +0000)]
Quote any file system path that may have spaces when expanded

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

17 years agoTidying up - mostly outdated translations
Noirin Plunkett [Tue, 6 Mar 2007 19:48:30 +0000 (19:48 +0000)]
Tidying up - mostly outdated translations

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

17 years agoUpdating to reflect current defaults
Noirin Plunkett [Tue, 6 Mar 2007 19:37:50 +0000 (19:37 +0000)]
Updating to reflect current defaults

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

17 years agoHTML files changed by adding docs for BalancerMember directive
Noirin Plunkett [Tue, 6 Mar 2007 19:12:12 +0000 (19:12 +0000)]
HTML files changed by adding docs for BalancerMember directive

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

17 years agoTidying up
Noirin Plunkett [Tue, 6 Mar 2007 19:11:05 +0000 (19:11 +0000)]
Tidying up

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

17 years agoDocumenting the sooper-sekrit BalancerMember directive
Noirin Plunkett [Tue, 6 Mar 2007 18:57:07 +0000 (18:57 +0000)]
Documenting the sooper-sekrit BalancerMember directive

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

17 years agoFix near-identical potential NULL pointer dereferences, as found by
Colm MacCarthaigh [Tue, 6 Mar 2007 02:00:18 +0000 (02:00 +0000)]
Fix near-identical potential NULL pointer dereferences, as found by
Jorton and corrected in r514915

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

17 years agoPrevent format specifier busting.
Colm MacCarthaigh [Tue, 6 Mar 2007 01:56:17 +0000 (01:56 +0000)]
Prevent format specifier busting.

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

17 years agoCorrect a spurious access to whatever memory is at location "1" in the
Colm MacCarthaigh [Tue, 6 Mar 2007 01:54:20 +0000 (01:54 +0000)]
Correct a spurious access to whatever memory is at location "1" in the
cirumstance where a log line is of the form "nn.nn.nn.nn ".

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

17 years agocorrect some indentation, no functional changes
Colm MacCarthaigh [Tue, 6 Mar 2007 01:40:23 +0000 (01:40 +0000)]
correct some indentation, no functional changes

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

17 years ago* support/logresolve.c (main): Fix potential NULL pointer dereference,
Joe Orton [Mon, 5 Mar 2007 23:21:31 +0000 (23:21 +0000)]
* support/logresolve.c (main): Fix potential NULL pointer dereference,
found by Coverity analysis tool.

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

17 years agofix a minor typo
Chris Darroch [Wed, 28 Feb 2007 17:12:06 +0000 (17:12 +0000)]
fix a minor typo

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

17 years ago* modules/proxy/ajp_msg.c (ajp_msg_dump, ajp_msg_check_header,
Joe Orton [Thu, 22 Feb 2007 14:12:14 +0000 (14:12 +0000)]
* modules/proxy/ajp_msg.c (ajp_msg_dump, ajp_msg_check_header,
asj_msg_copy): Fix format string warnings on x86_64.

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

17 years agoNote PR 11540 closed here and in httpd-2.2
Jim Jagielski [Tue, 20 Feb 2007 17:07:12 +0000 (17:07 +0000)]
Note PR 11540 closed here and in httpd-2.2

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

17 years agomod_ldap: Fix the search limit parameter to ldap_search_ext_s()
Jeff Trawick [Mon, 19 Feb 2007 16:24:33 +0000 (16:24 +0000)]
mod_ldap: Fix the search limit parameter to ldap_search_ext_s()
for SDKs that define LDAP_NO_LIMIT to something other than -1.

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

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

17 years agoAdded PR 41302 reference to mod_dbd patch r503931.
Chris Darroch [Fri, 16 Feb 2007 23:09:00 +0000 (23:09 +0000)]
Added PR 41302 reference to mod_dbd patch r503931.

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

17 years agoReturn METHOD_NOT_ALLOWED, not FORBIDDEN, to a TRACE request when
Nick Kew [Wed, 14 Feb 2007 13:34:38 +0000 (13:34 +0000)]
Return METHOD_NOT_ALLOWED, not FORBIDDEN, to a TRACE request when
TraceEnable is Off.  This agrees with our documentation, and with
our Allow: header in response to OPTIONS.

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

17 years agoPatch for PR#11540 (submitted by Stuart Children)
Nick Kew [Wed, 14 Feb 2007 12:56:49 +0000 (12:56 +0000)]
Patch for PR#11540 (submitted by Stuart Children)

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

17 years agoUse the specified IPv4 prefix for documentation and examples (192.0.2.0/24)
Colm MacCarthaigh [Wed, 14 Feb 2007 01:34:25 +0000 (01:34 +0000)]
Use the specified IPv4 prefix for documentation and examples (192.0.2.0/24)
from RFC3330 rather than non-reserved public internet addresses and some
RFC1918 addresses.

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

17 years ago* Save the key we generate during our first run of cache_generate_key_default
Ruediger Pluem [Mon, 12 Feb 2007 20:29:04 +0000 (20:29 +0000)]
* Save the key we generate during our first run of cache_generate_key_default
  on each request in the request_config. During consecutive runs of
  cache_generate_key_default during processing the request we restore it
  from there as we might not be able to generate the same key again as
  the ingredients used to compose the key might have changed and we constantly
  must use a key that could be generated during the quick handler phase.

PR: 41475

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

17 years agoSimple patch to permit syntax such as...
William A. Rowe Jr [Sat, 10 Feb 2007 18:41:22 +0000 (18:41 +0000)]
Simple patch to permit syntax such as...

  bin/apachectl start -X

or similar, based on evaluating only the first arg as an apxs 'command',
and permitting additional args in httpd-style syntax.

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

17 years agofix spelling error in a comment
Jeff Trawick [Thu, 8 Feb 2007 20:33:06 +0000 (20:33 +0000)]
fix spelling error in a comment

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

17 years agoDocs update. Sync with transforms
Jim Jagielski [Thu, 8 Feb 2007 13:54:19 +0000 (13:54 +0000)]
Docs update. Sync with transforms

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

17 years agoChange common but incorrect usage of 'depreciated'
Jim Jagielski [Thu, 8 Feb 2007 13:46:14 +0000 (13:46 +0000)]
Change common but incorrect usage of 'depreciated'
for 'deprecated'

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

17 years agoFurther refinement for PR41056 / PR 19954 (mostly-fixed in r480135.)
Jim Jagielski [Wed, 7 Feb 2007 14:26:37 +0000 (14:26 +0000)]
Further refinement for PR41056 / PR 19954 (mostly-fixed in r480135.)
We assume that a successful read but an empty brigade
is NOT cause for EAGAIN. Testing may or may not
confirm this assumption, in which case that test
may be required as well.

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

17 years ago* Add CacheIgnoreQueryString directive to cache requests with a query string
Ruediger Pluem [Tue, 6 Feb 2007 15:55:50 +0000 (15:55 +0000)]
* Add CacheIgnoreQueryString directive to cache requests with a query string
  even if no expiration time is specified. Futhermore the query string will not
  be used for key generation such that requests to the same URI path, but with
  different query strings are mapped to the same cache entity. Turning this
  setting to ON violates RFC 2616/13.9 and thus it is turned off by default.

PR: 41484
Submitted by: Fredrik Widlund <fredrik.widlund qbrick.com>
Reviewed by: rpluem

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

17 years agoIntroduce configuration groups to allow inheritance by virtual hosts of
Chris Darroch [Tue, 6 Feb 2007 00:25:15 +0000 (00:25 +0000)]
Introduce configuration groups to allow inheritance by virtual hosts of
database configurations from the main server.  The post_config hook function
determines the minimal set of distinct configurations necessary so that
database connection pools are shared between virtual hosts whenever possible.

The SQL statements which should be prepared for each database connection
are now stored in a hash for each virtual host during the configuration
phase, and these hashes are merged in the normal manner using
apr_hash_overlay() with that of the main server.  This allows for statements
to be de-registered by DBDPrepareSQL, if desired.  The post_config hook
function then compares the statements registered for each virtual host
when determining if a separate configuration group is required.  The
changes in r424798, r432560, r432562, and r466641, which still have problems
with configuration inheritance, are therefore no longer necessary.

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

17 years ago* Add missing Changelog entry for PR41056 / PR 19954. This was fixed in r480135.
Ruediger Pluem [Mon, 5 Feb 2007 20:46:01 +0000 (20:46 +0000)]
* Add missing Changelog entry for PR41056 / PR 19954. This was fixed in r480135.

PR: 41056 / 19954
Submitted by: jfclere, jim
Reviewed by: jim

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

17 years agoUpdate the hash table of active script pids even on paths where a
Jeff Trawick [Sun, 4 Feb 2007 00:57:03 +0000 (00:57 +0000)]
Update the hash table of active script pids even on paths where a
script process wasn't created (storing 0 for the pid in that case).
Otherwise, the remembered pid is that of the last successful script
execution for this hash key.

Prior to this patch, the wrong process could be terminated in
rare circumstances:

- A CGI process with pid 10101 is forked for connection 99.

- After the CGI exits and some time elapses, some other process gets
  pid 10101. (Connection 99 hasn't handled another CGI request yet.)

- The next time connection 99 has a CGI process, the fork()
  or other early setup fails, so no CGI process is created.

- The remembered pid for connection 99 is still 10101.  It
  gets terminated (subject to permissions).

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

17 years agobomb the BOM
Jim Jagielski [Fri, 2 Feb 2007 23:45:25 +0000 (23:45 +0000)]
bomb the BOM

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

17 years agoThis time from the top, with three part harmony AND feeling...
Graham Leggett [Thu, 1 Feb 2007 21:28:34 +0000 (21:28 +0000)]
This time from the top, with three part harmony AND feeling...

Revert the read-while-caching and large-file-crash fixes for mod_disk_cache,
ready to start again.

Reverted: r450105 r450188 r462571 r462601 r462696 r467655 r467684 r468044
r468373 r468409 r470455

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

17 years agoapxs: Enhance -q flag to print all known variables and their values
Sander Temme [Thu, 1 Feb 2007 19:31:41 +0000 (19:31 +0000)]
apxs: Enhance -q flag to print all known variables and their values
      when invoked without variable name(s).

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

17 years agoImplement a BASEDIR build environment variable to allow the NetWare build to relocate...
Bradley Nicholes [Wed, 31 Jan 2007 23:55:44 +0000 (23:55 +0000)]
Implement a BASEDIR build environment variable to allow the NetWare build to relocate the install files

Submitted by: Guenter Knauf <fuankg apache org>

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

17 years ago* server/listen.c (ap_apply_accept_filter): Bump TCP_DEFER_ACCEPT
Joe Orton [Tue, 30 Jan 2007 10:12:45 +0000 (10:12 +0000)]
* server/listen.c (ap_apply_accept_filter): Bump TCP_DEFER_ACCEPT
argument to 30 units-of-unspecified-nature.

Submitted by: Dean Gaudet <dean arctic.org>

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

17 years agosync with 2.2.x branch
Jeff Trawick [Mon, 29 Jan 2007 17:55:04 +0000 (17:55 +0000)]
sync with 2.2.x branch

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

17 years ago* Nitpicking: Get the comment right.
Ruediger Pluem [Sun, 28 Jan 2007 21:51:43 +0000 (21:51 +0000)]
* Nitpicking: Get the comment right.

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

17 years agoUnix MPMs: Catch SIGFPE so that exception hooks and CoreDumpDirectory
Jeff Trawick [Sun, 28 Jan 2007 21:14:40 +0000 (21:14 +0000)]
Unix MPMs: Catch SIGFPE so that exception hooks and CoreDumpDirectory
can work after that terminating signal.

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

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

17 years ago* Fix a off-by-one error in parse_format_tag in the case that the last character
Ruediger Pluem [Wed, 24 Jan 2007 21:08:44 +0000 (21:08 +0000)]
* Fix a off-by-one error in parse_format_tag in the case that the last character
  of the string to which *sa points is a %. In this case the while loop in
  parse_format_string would call parse_format_tag with a pointer to a memory
  region that starts one byte after the string to which s in parse_format_string
  points to.

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

17 years agoPoint out that if another authorization method is used
Bradley Nicholes [Wed, 24 Jan 2007 03:46:24 +0000 (03:46 +0000)]
Point out that if another authorization method is used
with mod_authnz_ldap, AuthzLDAPAuthoritative must be
set to off.

submitted by: Darren Spruell <phatbuckett gmail.com>

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

17 years agoSet the SSLMutex to default on the NetWare platform and make sure that the file locat...
Bradley Nicholes [Mon, 22 Jan 2007 16:06:47 +0000 (16:06 +0000)]
Set the SSLMutex to default on the NetWare platform and make sure that the file locations are being set properly.

Submitted by: Guenter Knauf <fuankg apache.org>

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

17 years agoWe now create memory sub-pools for each DB connection and close DB
Chris Darroch [Tue, 16 Jan 2007 19:36:26 +0000 (19:36 +0000)]
We now create memory sub-pools for each DB connection and close DB
connections in a pool cleanup function.  This simplifies the ap_dbd_acquire()
and ap_dbd_cacquire() functions, and also stops us from leaking ap_dbd_t
structures when using reslists.

We ensure that prepared statements are destroyed before their DB connection
is closed, in case any drivers would have problems cleaning up prepared
statements after the DB connection is closed.

The combination of reslists and memory pool cleanup functions was causing
segfaults when child processes exited, as reported in PR 39985.  To prevent
this, we register dbd_destroy() as a cleanup that will execute prior to
the internal cleanup function registered by apr_reslist_create().  When the
reslist's memory pool is destroyed, dbd_destroy() informs dbd_destruct() not
to do anything when subsequently called by the reslist's internal cleanup
function.

We avoid the use of s->process->pool (the global pool) since it isn't
destroyed by exiting child processes in most multi-process MPMs.

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

17 years agoRe-add "proxy-sendextracrlf" first introduced in r157478 and silently removed
Justin Erenkrantz [Sat, 13 Jan 2007 01:02:46 +0000 (01:02 +0000)]
Re-add "proxy-sendextracrlf" first introduced in r157478 and silently removed
in r219224.

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

17 years agoMake buildmark.c compilation consistent, especially for VC8
William A. Rowe Jr [Fri, 12 Jan 2007 10:53:22 +0000 (10:53 +0000)]
Make buildmark.c compilation consistent, especially for VC8

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

17 years agoSolved.
William A. Rowe Jr [Thu, 11 Jan 2007 05:48:21 +0000 (05:48 +0000)]
Solved.

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

17 years agoEmbed the .manifest files of all httpd binaries as a post-build
William A. Rowe Jr [Thu, 11 Jan 2007 05:37:20 +0000 (05:37 +0000)]
Embed the .manifest files of all httpd binaries as a post-build
operation.  This ensures the exported (Studio 97 generated) .mak
files create a usable Apache directly from the VC 8 (Studio 2005)
command line environment.

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

17 years agoAdd openssl.cnf since openssl will not run without one (explicitly
William A. Rowe Jr [Thu, 11 Jan 2007 00:25:35 +0000 (00:25 +0000)]
Add openssl.cnf since openssl will not run without one (explicitly
specifying this .cnf is required, either with the cmd line arg or
the envvar.)

Spell out the correct versions of openssl/apache.

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

17 years ago* configure.in: Substitute MOD_SO_ENABLED variable.
Joe Orton [Wed, 10 Jan 2007 10:50:35 +0000 (10:50 +0000)]
* configure.in: Substitute MOD_SO_ENABLED variable.

* support/apxs.in: Use it to eliminate run-time check for whether
httpd has mod_so built-in.

Submitted by: David M. Lee <dmlee crossroads.com>
PR: 40653

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

17 years agoOh my - how stale :)
William A. Rowe Jr [Wed, 10 Jan 2007 05:28:27 +0000 (05:28 +0000)]
Oh my - how stale :)

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

17 years agoFix bogus lineends.
William A. Rowe Jr [Tue, 9 Jan 2007 07:06:31 +0000 (07:06 +0000)]
Fix bogus lineends.

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

17 years agoA slightly more effective message, keep hammering AcceptEx so there is no confusion.
William A. Rowe Jr [Tue, 9 Jan 2007 05:29:58 +0000 (05:29 +0000)]
A slightly more effective message, keep hammering AcceptEx so there is no confusion.

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

17 years agoSomeone clearly never read the style guide :-/ Reformatting only.
William A. Rowe Jr [Tue, 9 Jan 2007 05:29:27 +0000 (05:29 +0000)]
Someone clearly never read the style guide :-/  Reformatting only.

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

17 years ago Update CHANGES, add attributions for assistance
William A. Rowe Jr [Sat, 6 Jan 2007 03:08:42 +0000 (03:08 +0000)]
  Update CHANGES, add attributions for assistance

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

17 years ago* configure.in: Bump autoconf version requirement (matching APR).
Joe Orton [Thu, 4 Jan 2007 10:33:45 +0000 (10:33 +0000)]
* configure.in: Bump autoconf version requirement (matching APR).

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

17 years agoFix several strict compiler warnings for both the threaded
Chris Darroch [Thu, 4 Jan 2007 03:12:48 +0000 (03:12 +0000)]
Fix several strict compiler warnings for both the threaded
and non-threaded versions.

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

17 years agoGet rid of the global trace_add in favor of specific trace functions tailored to...
Sander Temme [Thu, 4 Jan 2007 01:07:45 +0000 (01:07 +0000)]
Get rid of the global trace_add in favor of specific trace functions tailored to the server run phase and callback context. Add the final trace function (for no context) and start moving the EXAMPLE_LOG_EACH stuff to ap_log_perror instead of directly writing to stdout.

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

17 years ago Correctly evaluate the HTTPS condition string.
William A. Rowe Jr [Wed, 3 Jan 2007 23:03:20 +0000 (23:03 +0000)]
  Correctly evaluate the HTTPS condition string.

PR: 40573
Submitted by: Matt Eaton <asf divinehawk.com>

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

17 years ago Where any response is sent, return OK from the handler. Where there
William A. Rowe Jr [Wed, 3 Jan 2007 22:53:43 +0000 (22:53 +0000)]
  Where any response is sent, return OK from the handler.  Where there
  is no response (but a status code) return the code.  This patch adds
  a great number of debugging emits for failed ap_pass_brigade calls,
  to help diagnose failure cases, and disambiguates OK from APR_SUCCESS.

PR: 40470
Submitted by: wrowe, Matt Eaton <asf divinehawk.com>

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

17 years agoCreate pmain pool and run modules' child_init hooks when entering
Chris Darroch [Tue, 2 Jan 2007 20:13:57 +0000 (20:13 +0000)]
Create pmain pool and run modules' child_init hooks when entering
ap_mpm_run(), then destroy pmain when exiting ap_mpm_run().
The expected call to ap_run_child_init() appears to have been removed
in r89640.  However, that call should presumably still be made once per
process, as in other single-process MPMs like the netware MPM.

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

17 years agoDestroy pmain pool when exiting ap_mpm_run() so that cleanups
Chris Darroch [Tue, 2 Jan 2007 19:40:34 +0000 (19:40 +0000)]
Destroy pmain pool when exiting ap_mpm_run() so that cleanups
registered in modules' child_init hooks are performed (e.g.,
mod_log_config and mod_dbd).

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

17 years agoHandle error conditions in dbd_construct() properly. Simplify
Chris Darroch [Tue, 2 Jan 2007 18:26:00 +0000 (18:26 +0000)]
Handle error conditions in dbd_construct() properly.  Simplify
ap_dbd_open() and use correct arguments to apr_dbd_error() when
non-threaded.  Register correct cleanup data in non-threaded
ap_dbd_acquire() and ap_dbd_cacquire().  Clean up configuration data
and merge function.  Use ap_log_error() wherever possible.

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

17 years agoRename functions and variables for consistency, and move some functions
Chris Darroch [Tue, 2 Jan 2007 01:19:21 +0000 (01:19 +0000)]
Rename functions and variables for consistency, and move some functions
around for readability, prior to forthcoming functional changes.

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

17 years agoChange the default depth and length of directories for mod_disk_cache to a depth...
Paul Querna [Sun, 31 Dec 2006 02:17:39 +0000 (02:17 +0000)]
Change the default depth and length of directories for mod_disk_cache to a depth of 2, and a length of 2.
Suggested By: noirin

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

17 years ago* If APR_FINFO_NAME is added to the list of wanted information, apr_stat
Ruediger Pluem [Sat, 30 Dec 2006 20:07:14 +0000 (20:07 +0000)]
* If APR_FINFO_NAME is added to the list of wanted information, apr_stat
  always returns APR_INCOMPLETE on Unix platforms in the case that the
  call to the native stat / lstat did not fail. So we can safely assume
  that the stat / lstat call has been successful in this case.

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