]> granicus.if.org Git - apache/log
apache
22 years agoFixed a read from a deleted brigade in the new version of
Brian Pane [Sun, 27 Jan 2002 07:30:02 +0000 (07:30 +0000)]
Fixed a read from a deleted brigade in the new version of
ap_rgetline()...

In the "folding" case, there was an ap_get_brigade() call after
the brigade had been destroyed.  I noticed this while debugging
a memory leak that showed up while testing the httpd with ab.

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

22 years agoFixed segfault in "-i" mode of ab
Brian Pane [Sun, 27 Jan 2002 06:38:25 +0000 (06:38 +0000)]
Fixed segfault in "-i" mode of ab

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

22 years ago Been bad - forgot to keep my thoughts up to date.
William A. Rowe Jr [Sun, 27 Jan 2002 05:48:31 +0000 (05:48 +0000)]
  Been bad - forgot to keep my thoughts up to date.

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

22 years agooptimization: switched to ap_add_output_filter_handle() for installation of
Brian Pane [Sun, 27 Jan 2002 02:38:45 +0000 (02:38 +0000)]
optimization: switched to ap_add_output_filter_handle() for installation of
subreq filter

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

22 years agoPerformance improvement: incorporated the use of the new
Brian Pane [Sun, 27 Jan 2002 02:13:10 +0000 (02:13 +0000)]
Performance improvement: incorporated the use of the new
ap_add_input_filter_handle() and ap_add_output_filter_handle()
functions for core filters

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

22 years agoAdded new functions ap_add_input_filter_handle() and
Brian Pane [Sun, 27 Jan 2002 01:54:54 +0000 (01:54 +0000)]
Added new functions ap_add_input_filter_handle() and
ap_add_output_filter_handle()

There are many places in the core modules where we do
ap_add_input_filter() or ap_add_output_filter() on a
hardcoded filter name (e.g., "CORE" or "BYTERANGE").
This requires a string-to-filter mapping that wastes
CPU time.  (Even though the string lookup uses a trie
for speed, it still ranks as a big consumer of CPU time
because of the large number of filters added per request.)

The new ap_add_*_filter_handle() functions will allow
us to skip the string-to-filter mapping in cases where
the module adding the filter happens to have the
ap_filter_rec_t* for the registered filter (e.g., because
it's the same module that registered the filter in the
first place).

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

22 years agoavoid a palloc of zero bytes so memory debuggers don't barf
Jeff Trawick [Sat, 26 Jan 2002 23:05:10 +0000 (23:05 +0000)]
avoid a palloc of zero bytes so memory debuggers don't barf

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

22 years agoap_rgetline(): completely ignore an empty bucket... previously the logic
Jeff Trawick [Sat, 26 Jan 2002 23:01:31 +0000 (23:01 +0000)]
ap_rgetline(): completely ignore an empty bucket...  previously the logic
               generally worked but with a memory debug build it could
               crash since some memory debuggers don't like an alloc of
               zero bytes

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

22 years agoremove one showstopper and add the next
Greg Ames [Sat, 26 Jan 2002 20:25:27 +0000 (20:25 +0000)]
remove one showstopper and add the next

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

22 years agoap_sub_req_lookup_dirent: fix mod_negotiation loop with near infinite
Greg Ames [Sat, 26 Jan 2002 20:16:01 +0000 (20:16 +0000)]
ap_sub_req_lookup_dirent: fix mod_negotiation loop with near infinite
subrequests

this function has been creating bogus subrequest URIs when there is
path_info for a long time.  They didn't matter until fixup_dir started
using them for URI subrequests, which led to a loop with ever growing
bogus internal URIs and filenames.

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

22 years agoget mod_mem_cache to compile with compilers that bother to check for
Jeff Trawick [Sat, 26 Jan 2002 12:39:49 +0000 (12:39 +0000)]
get mod_mem_cache to compile with compilers that bother to check for

  Function argument assignment between types "int*" and "long*"

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

22 years agoAdded symbol prefixing to the export list
Bradley Nicholes [Fri, 25 Jan 2002 23:38:01 +0000 (23:38 +0000)]
Added symbol prefixing to the export list

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

22 years agoGrammar police coming through
Justin Erenkrantz [Fri, 25 Jan 2002 20:21:10 +0000 (20:21 +0000)]
Grammar police coming through

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

22 years agota da
Ian Holsman [Fri, 25 Jan 2002 20:11:30 +0000 (20:11 +0000)]
ta da

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

22 years agoI haven't created the optional function to specify the cache_key yet,
Ian Holsman [Fri, 25 Jan 2002 20:09:33 +0000 (20:09 +0000)]
I haven't created the optional function to specify the cache_key yet,
That will come after this patch.

ok.. brief summary of whats changed

* new Optional Directives
* CacheMemEntrySize -- max size of a individual entry in memory
cache
* CacheIgnoreNoLastMod - so we can cache mod-included files

* it tries to figure out the size of the request based on buckets if the
content-length header isn't set

* mem_cache now caches the subprocess_env & notes tables
* the CACHE_IN/OUT/CONDITIONAL run at FTYPE_CONTENT+1, so that
all other content filters run BEFORE the cache in.

note: the code is still experimental, and we need a bit more work
mainly...
* garbage collection
* cache stats/reporting
* manual removal of a key.

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

22 years agoaxe an unused variable
Jeff Trawick [Fri, 25 Jan 2002 12:04:56 +0000 (12:04 +0000)]
axe an unused variable

don't pass uninitialized rv to ap_log_error as the error code

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

22 years ago No. I don't like this patch. I like what it does [shared scoreboard
William A. Rowe Jr [Fri, 25 Jan 2002 07:21:40 +0000 (07:21 +0000)]
  No.  I don't like this patch.  I like what it does [shared scoreboard
  for Windows, finally] but not how it's implemented.

  However it works, and is equally crufty to what already exists for
  win32 listeners and other exposed data within scoreboard.c.

  To do this right, we need to drop all the external references to data
  within the scoreboard, and add an accessor for remaining bits (such as
  Win32's need for direct access to the apr_shm_t.)  And within Win32,
  we need to stack all this _within_ the pre-mpm hook.  But those are
  missions in and of themselves.

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

22 years agoEliminate needless variable that wasn't initialized anyway.
Justin Erenkrantz [Fri, 25 Jan 2002 05:39:21 +0000 (05:39 +0000)]
Eliminate needless variable that wasn't initialized anyway.

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

22 years agoAdd another status code to ignore in the error_log.
Justin Erenkrantz [Fri, 25 Jan 2002 02:38:52 +0000 (02:38 +0000)]
Add another status code to ignore in the error_log.
(I'm really tempted to ditch this log line altogether.)

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

22 years agoshowstoppers--;
Justin Erenkrantz [Fri, 25 Jan 2002 02:23:37 +0000 (02:23 +0000)]
showstoppers--;

APR knows when to let go of those pesty kids now.

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

22 years agoTurn the log verbosity WAY down by not logging TIMEUP and EOF errors in
Justin Erenkrantz [Fri, 25 Jan 2002 02:15:09 +0000 (02:15 +0000)]
Turn the log verbosity WAY down by not logging TIMEUP and EOF errors in
read_request_line as these are very common place with HTTP keepalive
timeouts.

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

22 years agoI Heard It Through The Grapevine...
Justin Erenkrantz [Fri, 25 Jan 2002 01:21:10 +0000 (01:21 +0000)]
I Heard It Through The Grapevine...

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

22 years agoSomehow, I lost this condition when I changed to account for ap_rgetline.
Justin Erenkrantz [Fri, 25 Jan 2002 01:20:00 +0000 (01:20 +0000)]
Somehow, I lost this condition when I changed to account for ap_rgetline.

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

22 years agoChange ap_get_brigade prototype to remove *readbytes in favor of readbytes.
Justin Erenkrantz [Fri, 25 Jan 2002 01:11:47 +0000 (01:11 +0000)]
Change ap_get_brigade prototype to remove *readbytes in favor of readbytes.
If you need the length, you should be using apr_brigade_length.  This is
much more consistent.  Of all the places that call ap_get_brigade, only
one (ap_http_filter) needs the length.  This makes it now possible to
pass constants down without assigning them to a temporary variable first.

Also:
- Change proxy_ftp to use EXHAUSTIVE mode (didn't catch its -1 before)
- Fix buglet in mod_ssl that would cause it to return too much data in
  some circumstances

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

22 years agoEnable the BrowserMatch for Microsoft's DAV client -- we know it is
Greg Stein [Fri, 25 Jan 2002 00:24:47 +0000 (00:24 +0000)]
Enable the BrowserMatch for Microsoft's DAV client -- we know it is
broken.

Add a match for the WebDrive client. It is similarly broken.

Sync up the NetWare and Windows .conf files a bit.

Submitted by: Sander Striker <striker@apache.org>, Greg Stein

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

22 years agoFix some serious, hard-core breakage :-( I don't even know how it
Greg Stein [Fri, 25 Jan 2002 00:17:31 +0000 (00:17 +0000)]
Fix some serious, hard-core breakage :-(  I don't even know how it
compiled and linked.

* there is no UNIX symbol, so go back to #ifndef WIN32. that other
  platforms can pile on as needed until we have a proper mechanism.

* reinstate the liveprop callbacks and the dav_hooks_liveprop_fs
  structure. since the latter structure is referred to elsewhere in
  the file, it better be defined.

* use a "feature" name of DAV_FS_HAS_EXECUTABLE rather than
  conditionally specifying the property. convert the tests over to
  that symbol.

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

22 years agoRewrite ap_rgetline to remove the need to have an "internal" brigade stored
Justin Erenkrantz [Thu, 24 Jan 2002 23:59:51 +0000 (23:59 +0000)]
Rewrite ap_rgetline to remove the need to have an "internal" brigade stored
in the core_module structure by using the AP_MODE_SPECULATIVE filter mode
to determine if MIME-continuation should occur.

Notes:
- ap_rgetline has a new prototype.
- ap_rgetline returns APR_ENOSPC when we are out of buffer space.

All direct callers of ap_rgetline are now adjusted to handle this new API.
ap_getline will mimic the old API for now.

Reviewed by: Ryan Morgan

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

22 years agoRemove mod_auth_db since we've received enough votes (Justin, Ian, and
Justin Erenkrantz [Thu, 24 Jan 2002 23:47:31 +0000 (23:47 +0000)]
Remove mod_auth_db since we've received enough votes (Justin, Ian, and
Lars) and ample warning has been posted to dev@httpd.

mod_auth_dbm should be able to take over all functionality of mod_auth_db
with the AuthDBMType directive.

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

22 years agoSome extra tweaks to the DAV code file/path handling (to continue the
Greg Stein [Thu, 24 Jan 2002 23:11:27 +0000 (23:11 +0000)]
Some extra tweaks to the DAV code file/path handling (to continue the
platforms fixes done by wrowe).

* dav_fs_get_parent_resource(): return NULL if we're at the root of
    the URL (Location) space.

* dav_fs_dir_file_name(): make it return an error, in case we're
    passed a bad path. adjusted callers [who just ignore it for now]

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

22 years agoNever got rolled, problems with daedalus' thundering herd poll (among
Aaron Bannert [Thu, 24 Jan 2002 17:14:55 +0000 (17:14 +0000)]
Never got rolled, problems with daedalus' thundering herd poll (among
others I can't remember) weren't resolved in time.

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

22 years ago The clean solution.
William A. Rowe Jr [Thu, 24 Jan 2002 17:04:42 +0000 (17:04 +0000)]
  The clean solution.

  Divorce dav_fs from the DAV_PROPID_FS_executable property at the
  very head of this module, and drop all references as soon as we
  determine that 'our property' isn't supported.

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

22 years ago If you only mean to ask one question, why ask a dozen?
William A. Rowe Jr [Thu, 24 Jan 2002 15:31:31 +0000 (15:31 +0000)]
  If you only mean to ask one question, why ask a dozen?

Submitted by: Greg Stein

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

22 years ago Omitted this argument and const'ness. All looks well now.
William A. Rowe Jr [Thu, 24 Jan 2002 15:27:46 +0000 (15:27 +0000)]
  Omitted this argument and const'ness.  All looks well now.

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

22 years ago Cause dav_fs_get_parent_resource to fail if the file path is entirely
William A. Rowe Jr [Thu, 24 Jan 2002 15:23:58 +0000 (15:23 +0000)]
  Cause dav_fs_get_parent_resource to fail if the file path is entirely
  invalid or incomplete, or if it is root [determined by the platform's
  apr implemention].  Identified by Greg Stein.

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

22 years ago A quick hack around Aaron's patch. Win32 'supports' anon shm, but
William A. Rowe Jr [Thu, 24 Jan 2002 07:47:10 +0000 (07:47 +0000)]
  A quick hack around Aaron's patch.  Win32 'supports' anon shm, but
  Apache's implementation requires fork().

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

22 years ago Improve error reporting a bit so we might start diagnosing any faults
William A. Rowe Jr [Thu, 24 Jan 2002 06:14:35 +0000 (06:14 +0000)]
  Improve error reporting a bit so we might start diagnosing any faults
  that might be introduced.

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

22 years agoKeep track of this so we don't forget about it. It's not a showstopper,
Aaron Bannert [Thu, 24 Jan 2002 05:02:26 +0000 (05:02 +0000)]
Keep track of this so we don't forget about it. It's not a showstopper,
but it is definately irratating. I'll look into it if nobody beats me
to it.

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

22 years agoI looked at this again with a clear head and I'm much more comfortable
Aaron Bannert [Thu, 24 Jan 2002 04:52:49 +0000 (04:52 +0000)]
I looked at this again with a clear head and I'm much more comfortable
with the current solution. Thank you please drive through.

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

22 years agoBring apache in line with the new apr_file_dup2() parameter type.
Aaron Bannert [Thu, 24 Jan 2002 04:31:01 +0000 (04:31 +0000)]
Bring apache in line with the new apr_file_dup2() parameter type.

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

22 years agoLooks like a bug to me.
Cliff Woolley [Wed, 23 Jan 2002 23:15:01 +0000 (23:15 +0000)]
Looks like a bug to me.

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

22 years agoset the variable before looking at it
Jeff Trawick [Wed, 23 Jan 2002 20:55:10 +0000 (20:55 +0000)]
set the variable before looking at it

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

22 years agoThis is a showstopper. Let's remember it.
Justin Erenkrantz [Wed, 23 Jan 2002 19:13:15 +0000 (19:13 +0000)]
This is a showstopper.  Let's remember it.

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

22 years ago Our kids need a little more time here, remember, it takes a bit for
William A. Rowe Jr [Wed, 23 Jan 2002 18:34:30 +0000 (18:34 +0000)]
  Our kids need a little more time here, remember, it takes a bit for
  the kernel to simply unwind 1920 threads.

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

22 years ago one blank line for code, one huge step for legibility
William A. Rowe Jr [Wed, 23 Jan 2002 18:31:51 +0000 (18:31 +0000)]
  one blank line for code, one huge step for legibility

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

22 years ago Eliminate a large number of Win32-isms. In large part, these can apply
William A. Rowe Jr [Wed, 23 Jan 2002 18:28:05 +0000 (18:28 +0000)]
  Eliminate a large number of Win32-isms.  In large part, these can apply
  to other one-off platforms such as OS2, and immediately impact a new port
  which played by all the APR rules.

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

22 years agoAdd message-ids to ease issue tracking
Justin Erenkrantz [Wed, 23 Jan 2002 18:16:45 +0000 (18:16 +0000)]
Add message-ids to ease issue tracking

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

22 years agoJust a style update before I work on this thing any more. Removed
Aaron Bannert [Wed, 23 Jan 2002 18:11:40 +0000 (18:11 +0000)]
Just a style update before I work on this thing any more. Removed
tabs and lined up parameters and indentation.

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

22 years agoScoreboard update comming soon.
Aaron Bannert [Wed, 23 Jan 2002 17:46:36 +0000 (17:46 +0000)]
Scoreboard update comming soon.

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

22 years agoCurrently pcre/config.h and pcre/internal.h are getting installed - it
Aaron Bannert [Wed, 23 Jan 2002 07:10:16 +0000 (07:10 +0000)]
Currently pcre/config.h and pcre/internal.h are getting installed - it
seems they aren't used, and adding a rogue config.h into the include
path can cause problems for a module which picks it up.

(Better late than never -- this patch was submitted Fri, 7 Dec 2001.)

Submitted by: Joe Orton <joe@manyfish.co.uk>
Reviewed by: Aaron Bannert

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

22 years agoAlthough this patch is technically correct, I'm not happy with
Aaron Bannert [Wed, 23 Jan 2002 06:51:18 +0000 (06:51 +0000)]
Although this patch is technically correct, I'm not happy with
the way it gets things done. OTOH, it is a simple enough change
to get things working correctly for now. I will come up with
the right way to do this in the next couple days.

This patch re-enables the use of anonymous shared memory in the
scoreboard on platforms that have it.

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

22 years agodav_xml_get_cdata() is an exported function, so mark it as such with
Greg Stein [Tue, 22 Jan 2002 19:00:22 +0000 (19:00 +0000)]
dav_xml_get_cdata() is an exported function, so mark it as such with
the DAV_DECLARE macro. [ Barry Pederson <barryp@yahoo.com> ]

Apache's handling of ports is broken. Temporarily disable the port
checking in the Destination: header. [ Greg Stein ]

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

22 years agoAvoid syntax error
Martin Kraemer [Tue, 22 Jan 2002 16:40:45 +0000 (16:40 +0000)]
Avoid syntax error

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

22 years ago- Add AP_MODE_SPECULATIVE support to mod_ssl
Justin Erenkrantz [Tue, 22 Jan 2002 06:33:35 +0000 (06:33 +0000)]
- Add AP_MODE_SPECULATIVE support to mod_ssl
- Protect mod_ssl from dealing with modes it doesn't recognize.

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

22 years agoIf we would exhaust the buffer entirely, set it to NULL rather than
Justin Erenkrantz [Tue, 22 Jan 2002 06:26:07 +0000 (06:26 +0000)]
If we would exhaust the buffer entirely, set it to NULL rather than
point at the end of the buffer with a length of 0.

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

22 years agoAdd Hebrew Language.
Ian Holsman [Tue, 22 Jan 2002 04:11:40 +0000 (04:11 +0000)]
Add Hebrew Language.
Shalom Zvi.

Submitted by: Zvi Har'El

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

22 years agoPatches applied to the 1.3 docs. See versions 1.36 - 1.39 of mod_include
Rich Bowen [Mon, 21 Jan 2002 03:21:26 +0000 (03:21 +0000)]
Patches applied to the 1.3 docs. See versions 1.36 - 1.39 of mod_include
in 1.3. Primarily clarification of exec cgi vs include virtual.

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

22 years agoSubmitted by: Daniel Lopez
Rich Bowen [Mon, 21 Jan 2002 02:14:50 +0000 (02:14 +0000)]
Submitted by: Daniel Lopez
LimitXMLRequestBody directive

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

22 years agoThese changes are to allow caching of subrequests via a quick_handler.
Ian Holsman [Mon, 21 Jan 2002 01:43:30 +0000 (01:43 +0000)]
These changes are to allow caching of subrequests via a quick_handler.

* Change SUBREQ_CORE so that it is a HTTP_HEADER (20) filter instead of a content filter (10)
  this allows subrequests to add content filters properly

* Change subreq handling of 'handle-include' so that it splits/passes the brigade before the subreq
  is created. (This allows quick_handler to push content back from this phase)

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

22 years agoWhen doing input filtering, get out the way of anything that we don't want
Justin Erenkrantz [Sun, 20 Jan 2002 18:53:31 +0000 (18:53 +0000)]
When doing input filtering, get out the way of anything that we don't want
to be explicitly involved in.

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

22 years agoMake core_input_filter use the new apr_brigade_split_line function.
Justin Erenkrantz [Sun, 20 Jan 2002 11:43:37 +0000 (11:43 +0000)]
Make core_input_filter use the new apr_brigade_split_line function.

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

22 years agoAdd AP_MODE_SPECULATIVE support to core_input_filter
Justin Erenkrantz [Sun, 20 Jan 2002 11:37:07 +0000 (11:37 +0000)]
Add AP_MODE_SPECULATIVE support to core_input_filter

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

22 years agoForgot to replace all german umlauts with the HTML entities.
Lars Eilebrecht [Sun, 20 Jan 2002 08:40:28 +0000 (08:40 +0000)]
Forgot to replace all german umlauts with the HTML entities.

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

22 years agoSome minor fixes to englisch new_features document.
Lars Eilebrecht [Sun, 20 Jan 2002 08:27:23 +0000 (08:27 +0000)]
Some minor fixes to englisch new_features document.

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

22 years agoUpdate german new_features document.
Lars Eilebrecht [Sun, 20 Jan 2002 08:26:46 +0000 (08:26 +0000)]
Update german new_features document.
Fixed some typos, markup errors and translations.

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

22 years agoAdd german variant of the 'new features' document (original version from Simon).
Lars Eilebrecht [Sun, 20 Jan 2002 06:56:06 +0000 (06:56 +0000)]
Add german variant of the 'new features' document (original version from Simon).

Submitted by: Simon Putz <simon.putz@t-online.de>

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

22 years agoRename BeOS MPM directive RequestsPerThread to MaxRequestsPerThread.
Lars Eilebrecht [Sun, 20 Jan 2002 06:49:20 +0000 (06:49 +0000)]
Rename BeOS MPM directive RequestsPerThread to MaxRequestsPerThread.

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

22 years agoIf the provider returns an error, then we should propagate it (rather
Greg Stein [Sun, 20 Jan 2002 03:17:12 +0000 (03:17 +0000)]
If the provider returns an error, then we should propagate it (rather
than override it with HTTP_INTERNAL_SERVER_ERROR).

The specific case observed was a provider issuing a redirect.

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

22 years agoGet rid of a dangling phrase that serves no real purpose.
Joshua Slive [Sat, 19 Jan 2002 17:44:08 +0000 (17:44 +0000)]
Get rid of a dangling phrase that serves no real purpose.

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

22 years agoThis example doesn't really do what it claims. Instead, lets make it simpler
Joshua Slive [Sat, 19 Jan 2002 17:39:48 +0000 (17:39 +0000)]
This example doesn't really do what it claims.  Instead, lets make it simpler
by discussing ONLY the .htaccess issue.  The other issue is covered by the
next example.

PR: 9523

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

22 years agoanother note on the mod_cgid leaky pipes
Jeff Trawick [Sat, 19 Jan 2002 15:31:31 +0000 (15:31 +0000)]
another note on the mod_cgid leaky pipes

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

22 years agoclean up a bunch of warnings
Jeff Trawick [Sat, 19 Jan 2002 12:16:48 +0000 (12:16 +0000)]
clean up a bunch of warnings

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

22 years agoRecord my suggestion.
Justin Erenkrantz [Sat, 19 Jan 2002 08:14:34 +0000 (08:14 +0000)]
Record my suggestion.

(I'm *not* volunteering, but I think that'd be the way to go.  It'd
require substantial changes to how we handle binary builds.)

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

22 years agoInput filtering prototype change: Socket blocking type should be
Justin Erenkrantz [Sat, 19 Jan 2002 07:45:18 +0000 (07:45 +0000)]
Input filtering prototype change: Socket blocking type should be
separate from the input filter mode type.

We also no longer look at readbytes to determine the method of
filter operation.  This makes the use of filters more obvious and
allows a wider range of options for input filters modes.

To start with, the new input filter modes are:

AP_MODE_READBYTES (no more than *readbytes returned)
AP_MODE_GETLINE (old *readbytes == 0 case)
AP_MODE_EATCRLF (old AP_MODE_PEEK)
AP_MODE_SPECULATIVE (will be used in a future ap_getline rewrite)
AP_MODE_EXHAUSTIVE (old *readbytes == -1 case)
AP_MODE_INIT (special case for NNTP over SSL)

The block parameter is an apr_read_type_e: APR_BLOCK_READ, APR_NONBLOCK_READ

This also allows cleanup of mod_ssl's handling in the getline case.

Reviewed by: Ryan Bloom (concept), Greg Stein (concept)

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

22 years agothe load spikes seem to be gone.
Greg Ames [Sat, 19 Jan 2002 05:56:20 +0000 (05:56 +0000)]
the load spikes seem to be gone.

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

22 years agoStyle changes only. (Remove tabs, etc, etc.)
Justin Erenkrantz [Sat, 19 Jan 2002 05:54:44 +0000 (05:54 +0000)]
Style changes only.  (Remove tabs, etc, etc.)

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

22 years agoadd htdbm to the Makefile.
Ian Holsman [Sat, 19 Jan 2002 05:44:04 +0000 (05:44 +0000)]
add htdbm to the Makefile.

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

22 years agonew var.
Ian Holsman [Sat, 19 Jan 2002 05:11:04 +0000 (05:11 +0000)]
new var.
APRUTIL_LDFLAGS

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

22 years agocall the plumber (or maybe the pilot)
Jeff Trawick [Sat, 19 Jan 2002 01:56:07 +0000 (01:56 +0000)]
call the plumber (or maybe the pilot)

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

22 years agoRemoved the multiple and reentrant flags that were being set by mistake
Bradley Nicholes [Fri, 18 Jan 2002 23:30:14 +0000 (23:30 +0000)]
Removed the multiple and reentrant flags that were being set by mistake

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

22 years agoFixed the build subproject for htpasswd and htdigest
Bradley Nicholes [Fri, 18 Jan 2002 23:29:23 +0000 (23:29 +0000)]
Fixed the build subproject for htpasswd and htdigest

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

22 years agoUpdates to allow the utilities to run on NetWare
Bradley Nicholes [Fri, 18 Jan 2002 23:28:20 +0000 (23:28 +0000)]
Updates to allow the utilities to run on NetWare

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

22 years agomove OpenSSL specific SSL_{get,set}_state macros to the #ifdef'd group of
Doug MacEachern [Fri, 18 Jan 2002 23:26:46 +0000 (23:26 +0000)]
move OpenSSL specific SSL_{get,set}_state macros to the #ifdef'd group of
macros for OpenSSL in mod_ssl.h

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

22 years agoUpdated the command line keyword to Apache2 and also modified the
Bradley Nicholes [Fri, 18 Jan 2002 23:26:07 +0000 (23:26 +0000)]
Updated the command line keyword to Apache2 and also modified the
shutdown code for unloading the NLM

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

22 years agodon't poll if there is only a single listening socket
Greg Ames [Fri, 18 Jan 2002 22:31:50 +0000 (22:31 +0000)]
don't poll if there is only a single listening socket

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

22 years agoFix a segfault in mod_include which was found by Sander Striker using
Jeff Trawick [Fri, 18 Jan 2002 21:38:12 +0000 (21:38 +0000)]
Fix a segfault in mod_include which was found by Sander Striker using
an APR_POOL_DEBUG/ElectricFence build.

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

22 years agofix a typo in a recent entry
Jeff Trawick [Fri, 18 Jan 2002 21:35:22 +0000 (21:35 +0000)]
fix a typo in a recent entry

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

22 years agoPer Ian's change, add the APRUTIL_EXPORT_INCLUDES vars to our environment.
Justin Erenkrantz [Fri, 18 Jan 2002 18:16:54 +0000 (18:16 +0000)]
Per Ian's change, add the APRUTIL_EXPORT_INCLUDES vars to our environment.

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

22 years agoMake sure we use the same version of Make for building suexec as we do
Ryan Bloom [Fri, 18 Jan 2002 17:57:31 +0000 (17:57 +0000)]
Make sure we use the same version of Make for building suexec as we do
for building the rest of the package.

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

22 years ago Shush
William A. Rowe Jr [Fri, 18 Jan 2002 04:53:09 +0000 (04:53 +0000)]
  Shush

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

22 years ago Footnote on this chapter. A cold and bitter Chicago night tonight.
William A. Rowe Jr [Fri, 18 Jan 2002 04:50:47 +0000 (04:50 +0000)]
  Footnote on this chapter.  A cold and bitter Chicago night tonight.

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

22 years agomake note of load spike problem on daedalus.
Greg Ames [Fri, 18 Jan 2002 03:30:38 +0000 (03:30 +0000)]
make note of load spike problem on daedalus.

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

22 years agoAs long as the spelling police are on the prowl, I figured I might as well
Cliff Woolley [Fri, 18 Jan 2002 00:14:43 +0000 (00:14 +0000)]
As long as the spelling police are on the prowl, I figured I might as well
pitch in.

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

22 years agofix for SSLv2 requests
Doug MacEachern [Fri, 18 Jan 2002 00:13:25 +0000 (00:13 +0000)]
fix for SSLv2 requests

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

22 years ago Provide the win32 worker process a null (but valid) stdout pipe, and
William A. Rowe Jr [Fri, 18 Jan 2002 00:11:16 +0000 (00:11 +0000)]
  Provide the win32 worker process a null (but valid) stdout pipe, and
  redirect child startup errors to the main server error log.
  Corresponds to the change in Apache 1.3.23

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

22 years agoSpelling and grammar janitor coming through.
Justin Erenkrantz [Thu, 17 Jan 2002 22:59:48 +0000 (22:59 +0000)]
Spelling and grammar janitor coming through.
(Clean up the comment so that mortal beings can parse it.)

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

22 years agoOn HPUX 11.x, the 'ENOBUFS, No buffer space available'
Bill Stoddard [Thu, 17 Jan 2002 22:35:09 +0000 (22:35 +0000)]
On HPUX 11.x, the 'ENOBUFS, No buffer space available'
error occures because the accept() cannot complete.
You will not see ENOBUFS at 10.20 because the kernel
hides any occurrence from being returned from user space.
ENOBUFS at 11.0 TCP/IP is quite possible, and could
occur intermittently. As a work-around, we are going to
ingnore ENOBUFS.

Submitted by: madhusudan_mathihalli@hp.com
Reviewed by: Bill Stoddard

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

22 years agoget the declaration of strcasecmp() on AIX
Jeff Trawick [Thu, 17 Jan 2002 22:28:08 +0000 (22:28 +0000)]
get the declaration of strcasecmp() on AIX

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

22 years ago Allow the user to get detailed debugging information without a full
William A. Rowe Jr [Thu, 17 Jan 2002 20:15:12 +0000 (20:15 +0000)]
  Allow the user to get detailed debugging information without a full
  recompile [absolutely necessary on Win32 and other platforms that
  really don't support administrator-compilation.]

  -e level  follows the LogLevel options.

  The only question, should -e override the compiled-in default for
  the creation of the server_rec?  No strong feeling either way, here.

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

22 years ago Subset of another, have piped_log_cleanup_for_exec handle
William A. Rowe Jr [Thu, 17 Jan 2002 18:13:51 +0000 (18:13 +0000)]
  Subset of another, have piped_log_cleanup_for_exec handle
  the dirtywork common to piped_log_cleanup

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

22 years ago Clean up several typesaftey (signedness and size) emits.
William A. Rowe Jr [Thu, 17 Jan 2002 15:51:41 +0000 (15:51 +0000)]
  Clean up several typesaftey (signedness and size) emits.

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