]>
granicus.if.org Git - apache/log
William A. Rowe Jr [Thu, 10 Jan 2002 00:28:00 +0000 (00:28 +0000)]
This patch eliminated from the _SHARED_ segment of the scoreboard all
pointer math. This is required for portable scoreboards.
vhost becomes the 'vhost name string' so it now survives ap_generation
clicks. next was apparently never used.
This patch also accounts for the changes to the apr_shm api, and gives
Win32 the magic of a shared scoreboard.
Breakage aplenty on non-win32 platforms, I suspect, but this radical
surgery, and culling of unused functions, was really, really needed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92791
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Thu, 10 Jan 2002 00:09:04 +0000 (00:09 +0000)]
get SSLRandomSeed exec: working by passing the proper arguments to apr_proc_create()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92789
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 9 Jan 2002 22:21:34 +0000 (22:21 +0000)]
call ssl_mutex_kill() during module cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92788
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 9 Jan 2002 19:24:32 +0000 (19:24 +0000)]
get SSLPassPhraseDialog exec: working by passing the proper arguments
to apr_proc_create()
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92786
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 9 Jan 2002 16:00:54 +0000 (16:00 +0000)]
Consistency
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92783
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Tue, 8 Jan 2002 23:42:11 +0000 (23:42 +0000)]
Welcome to 2.0.31
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92782
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Tue, 8 Jan 2002 23:34:58 +0000 (23:34 +0000)]
About to tag 2.0.30
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92780
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 8 Jan 2002 22:46:34 +0000 (22:46 +0000)]
Updated the build documentation for NetWare to match the current build
process
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92779
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 8 Jan 2002 21:54:40 +0000 (21:54 +0000)]
Changed the project file to use the NDK (NovellNDK) environment variable
to locate the LibC SDK headers and libraries. Also added the Mod_Rewrite
and Mod_Auth_DBM targets to the main build project.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92778
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 8 Jan 2002 21:46:18 +0000 (21:46 +0000)]
Fixed the export list generation for NetWare to make sure that only real APIs
are being exported
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92777
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 8 Jan 2002 21:32:50 +0000 (21:32 +0000)]
Added a stub for ap_os_create_privileged_process() for NetWare
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92776
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 8 Jan 2002 21:16:08 +0000 (21:16 +0000)]
Code updates to allow Mod_Rewrite and Mod_Auth_DBM to build on NetWare
Submitted by: G�nter Knauf <gk@gknw.de>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92775
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 8 Jan 2002 21:09:02 +0000 (21:09 +0000)]
Added the #ifdef's to the prototypes to match the corresponding source code
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92774
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Tue, 8 Jan 2002 17:07:19 +0000 (17:07 +0000)]
Restore the apr_pool_clear calls to main.c in case we have
third-parties who are overriding the open_logs hook, in which case
they'd miss the plog being cleared.
Submitted by: Justin <jerenkrantz@apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92771
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Tue, 8 Jan 2002 16:37:52 +0000 (16:37 +0000)]
Update the FreeBSD saga...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92770
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Tue, 8 Jan 2002 16:30:16 +0000 (16:30 +0000)]
This small patch modifies the log's to use plog instead of pconf.
Basically pconf is cleared at different times from plog, and this
has the effect of leaving stderr closed when going into the next
stage of the config. This also had the effect of allowing FreeBSD
with threads to create a pipe with stderr's fd at one end, and this
resulted in problems with the signal polling and high cpu usage.
In addition, move the clearing of plog from main.c to core.c where
it seems more appropriate.
This solves the first and main problem that FreeBSD has with the
threaded MPM's.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92769
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Tue, 8 Jan 2002 06:26:10 +0000 (06:26 +0000)]
Add the ability to pass flags to both apr_file_open and apr_mktemp.
The reason for this, is that it is very possible to want a temp
file that isn't deleted when the file is closed. It also makes sense
to have the flags in the apr_file_t if possible.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92766
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Tue, 8 Jan 2002 00:31:19 +0000 (00:31 +0000)]
Cold and dark here...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92765
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Mon, 7 Jan 2002 22:36:15 +0000 (22:36 +0000)]
Fix how mod_dav examines methods in the request -- use the method number
from the request. To do this, we also need to register all of the new/custom
methods that mod_dav recognizes.
Note: this fixes a bug where a method (e.g. REPORT) would appear in a
Limit(Except) directive and Apache would register the method. The method
number in the request would then be something *other* than M_INVALID, which
threw off mod_dav's tests.
Submitted by: Sander Striker <striker@apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92764
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Mon, 7 Jan 2002 18:10:54 +0000 (18:10 +0000)]
Stylistic nitpicking before I go to work on this.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92763
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 7 Jan 2002 16:03:25 +0000 (16:03 +0000)]
fix a typo in an error message
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92762
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Mon, 7 Jan 2002 12:44:47 +0000 (12:44 +0000)]
Reflect actual filename in .var file
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92761
13f79535 -47bb-0310-9956-
ffa450edef68
Lars Eilebrecht [Mon, 7 Jan 2002 05:37:29 +0000 (05:37 +0000)]
- We just check for "pthread" in mpm_common.c not "proc_pthread"
(like in Apache 1.3).
- Fix name tag for AcceptMutex.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92760
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Sun, 6 Jan 2002 23:39:50 +0000 (23:39 +0000)]
The -L and -R flags are linker flags not libraries. We need to add them to
the correct variable (LDFLAGS) so we can fix 'em up later on.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92759
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 6 Jan 2002 21:03:51 +0000 (21:03 +0000)]
Rearranged the log_request_time() code to eliminate the allocation
of an 8KB buffer on the stack when not using a custom time format
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92758
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sun, 6 Jan 2002 17:39:52 +0000 (17:39 +0000)]
need to use $(top_srcdir) when installing build/instdso.sh
else make install does not work when when configured with a --srcdir
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92753
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 6 Jan 2002 08:01:34 +0000 (08:01 +0000)]
Bypass a strdup and an 8KB local variable in the common case where
the logger is using the default time format
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92752
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 6 Jan 2002 06:53:25 +0000 (06:53 +0000)]
Cleaned up a couple of ap_ssi_parse_string calls that I missed
in the last commit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92748
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 6 Jan 2002 06:41:30 +0000 (06:41 +0000)]
Eliminated various large (8KB) string buffers from the stack in
mod_include by adding support for a power-of-two pool-based allocator
in ap_ssi_parse_string(). (The default operation of this function
is backward-compatible, to support the other modules that call it.)
This change should help reduce memory usage for servers delivering
shtml pages.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92747
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Sun, 6 Jan 2002 01:19:49 +0000 (01:19 +0000)]
This issue has turned into a FAQ.
Start tracking it in STATUS so we can point people to this if they ask
about this again.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92744
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Sun, 6 Jan 2002 00:44:22 +0000 (00:44 +0000)]
Fix a typo in mod_deflate's m4 config section.
Submitted by: albert chin (china@thewrittenword.com)
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92743
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Sun, 6 Jan 2002 00:22:10 +0000 (00:22 +0000)]
Note this for the record. I have no idea if/when I'll have the time to
implement this.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92742
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Fri, 4 Jan 2002 22:25:09 +0000 (22:25 +0000)]
Reworked the accept() loop to avoid an extra call to select() just to
determine if there is work to do. Made the calls to accept() non-blocking.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92737
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Fri, 4 Jan 2002 18:44:56 +0000 (18:44 +0000)]
Changed to 4 byte packing
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92736
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 4 Jan 2002 18:32:48 +0000 (18:32 +0000)]
for proxy CONNECT handling:
don't hard-code the address family of the target; respect
what the resolver told us
get a new socket each time we try to connect to one of the
target addresses as reported by the resolver; you can't
portably attempt to connect more than once on the same
socket
this is the same fix committed to proxy http support yesterday
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92735
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Fri, 4 Jan 2002 17:58:36 +0000 (17:58 +0000)]
cache now can cache things for minutes.
add remove_entity function to type on mem_cache (so we can remove items from the cache)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92734
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Fri, 4 Jan 2002 08:43:47 +0000 (08:43 +0000)]
2.0.29 isn't going to be rolled.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92732
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Fri, 4 Jan 2002 06:01:23 +0000 (06:01 +0000)]
split mem_cache out of mod_cache (ala mod_proxy & proxy_http)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92731
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 4 Jan 2002 01:47:55 +0000 (01:47 +0000)]
Fix a couple of mod_proxy problems forwarding HTTP connections:
(1) PR #9190 It failed to connect to IPv6 hosts.
(2) It failed to connect when the first IP address returned by
the resolver was unreachable but a secondary IP address was.
PR: 9190 (partly)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92727
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Thu, 3 Jan 2002 20:47:30 +0000 (20:47 +0000)]
Keep my comments to myself.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92725
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 3 Jan 2002 20:42:08 +0000 (20:42 +0000)]
get the declarations for strncasecmp() on AIX
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92724
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Thu, 3 Jan 2002 20:38:04 +0000 (20:38 +0000)]
Use ap_getline() in favor of ap_proxy_string_read() in ap_proxy_http_process_response().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92723
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Thu, 3 Jan 2002 19:20:54 +0000 (19:20 +0000)]
Fix seg fault in HTTP_IN when trying to handle the LimitRequestBody
directive when reading a proxy response. We should bypass LimitRequestBody
activities when handling a response from the proxied server.
I don't think this will circumvent requestbody checking on a large request
coming into the server that is destined to be proxied. (not tested though).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92722
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 3 Jan 2002 14:20:51 +0000 (14:20 +0000)]
Fix the module identifier as shown in the docs for some
modules.
PR: #9338
Submitted by: James Watson <ap2bug@sowega.org>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92716
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Thu, 3 Jan 2002 09:53:37 +0000 (09:53 +0000)]
You know, I got an A in my "Principles of Operating Systems" class
last quarter. Ain't worth a cent now.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92715
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Thu, 3 Jan 2002 02:06:32 +0000 (02:06 +0000)]
OS/2: Allow but ignore unix config directives so the default config files
don't have to be munged further.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92713
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Wed, 2 Jan 2002 23:29:13 +0000 (23:29 +0000)]
MMN = Things that go bump in the night.
(limit_req_body is now an apr_off_t)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92712
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Wed, 2 Jan 2002 23:27:57 +0000 (23:27 +0000)]
Making sure that the global variables have been initialized to avoid linker
problems at least on NetWare
Submitted by: Pavel Novy
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92711
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 2 Jan 2002 21:58:43 +0000 (21:58 +0000)]
Merge a singular path for dir_walk to parse, if we have an r->filename
which is an APR_DIR, and path_info contents. Also, al la Mr. Pane,
optimize our canonical_filename by simply noting the length of the
identity match, and refresh canonical_filename when we are finished.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92707
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 2 Jan 2002 21:34:50 +0000 (21:34 +0000)]
Eliminate a duplicate absolute path test, and NEVER serve a request
for an APR_DIR file from the cache when we have path_info, it is a
contradition (APR_DIR always forces dir_walk to gather the next segment
from path_info, even if it is APR_NOFILE, until we have no path_info.)
So we can't use a predetermined filename/path_info combo, ever, if the
filename resolves to an APR_DIR.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92706
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Wed, 2 Jan 2002 19:34:47 +0000 (19:34 +0000)]
Threads on FreeBSD are not my friend.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92705
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Wed, 2 Jan 2002 19:12:40 +0000 (19:12 +0000)]
Change the return code from APR_TIMEUP to APR_ECONNABORTED, which seems
to be a bit more descriptive. Move the check to inside the inner while()
loop and add an additional check for eos. If we get an EOS bucket, there
is no point in going further. Hopefully this will fix the last seg fault
in the function.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92704
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Wed, 2 Jan 2002 08:14:47 +0000 (08:14 +0000)]
showstoppers--;
This appears to be due to an API change in LWP 5.61. A fix has been
committed to httpd-test. (Works on Linux with prefork and worker now.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92703
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Wed, 2 Jan 2002 08:13:33 +0000 (08:13 +0000)]
Add note about worker MPM weirdness observed on FreeBSD and Cygwin.
Does anyone else see this?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92702
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Wed, 2 Jan 2002 08:05:15 +0000 (08:05 +0000)]
showstoppers--;
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92701
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Wed, 2 Jan 2002 07:56:25 +0000 (07:56 +0000)]
Fix LimitRequestBody directive by moving the relevant code from
ap_*_client_block to ap_http_filter (aka HTTP_IN). This is the
only appropriate place for limit checking to occur (otherwise,
chunked input is not correctly limited).
Also changed the type of limit_req_body to apr_off_t to match the
other types inside of HTTP_IN. Also made the strtol call for
limit_req_body a bit more robust.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92700
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Wed, 2 Jan 2002 05:29:08 +0000 (05:29 +0000)]
Remove a needless immortal bucket creation. We can just leave the
brigade as-is.
Suggested by: Cliff
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92698
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Tue, 1 Jan 2002 20:36:18 +0000 (20:36 +0000)]
Generalized the recent prep_walk_cache optimizations to allow other
modules to register "notes" within the array of working data in
the core_request_config
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92697
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 1 Jan 2002 19:09:05 +0000 (19:09 +0000)]
Need a null language_priority array for an either/or choice in the
conf merge. This does so. The merges should be significantly quicker.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92696
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 1 Jan 2002 19:01:39 +0000 (19:01 +0000)]
Thanks Mr. Trawick, backtraces can be very enlightening.
This fixes two bugs, the segfault when researching index numbers,
and another. We don't hint anywhere that LanguagePriority is a
cumulative setting, in fact the syntax doesn't suggest so either.
Merges are always slow, there is no reason to make this even slower.
So the patch has the LanguagePriority directive override any existing
LanguagePriority list from an earlier container.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92695
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 31 Dec 2001 21:58:42 +0000 (21:58 +0000)]
Time to commit... before I get lost in the changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92694
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 31 Dec 2001 21:03:12 +0000 (21:03 +0000)]
Fix mod_proxy seg fault when the proxied server returns
an HTTP/0.9 response or a bogus status line.
Submitted by: Adam Sussman
Reviewed by: Bill Stoddard
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92693
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 31 Dec 2001 20:53:28 +0000 (20:53 +0000)]
Prevent mod_proxy from truncating one character off the
end of the status line returned from the proxied server.
Note that buffer is NULL terminated by the call to
ap_proxy_string_read() so there is no need to terminate it
again.
Submitted by: Adam Sussman
Reviewed by: Bill Stoddard
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92692
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 31 Dec 2001 20:46:22 +0000 (20:46 +0000)]
Change the call to be blocking to eliminate a loop caused when the upstream
host does not send any bytes back our way.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92691
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 31 Dec 2001 20:43:59 +0000 (20:43 +0000)]
Eliminate loop in ap_proxy_string_read(). Need to be able to handle
getting an empty brigade from ap_get_brigade(). Also made sure that
we always call ap_get_brigade() in readline mode.
Submitted/Reviewed by: Adam Sussman & Bill Stoddard
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92690
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Mon, 31 Dec 2001 08:18:32 +0000 (08:18 +0000)]
Performance fix for prep_walk_cache():
Moved the directory/location/file-walk caches from the
request's pool userdata hash table to the core_request_config
struct.
This change removes about 60% of the processing time from
prep_walk_cache().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92684
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 31 Dec 2001 06:47:28 +0000 (06:47 +0000)]
Saw this bug several hours ago, but it slipped my mind. We no longer
skip over the leading '/' character, since the token_re already strips
the / delimiters.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92683
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 31 Dec 2001 06:43:30 +0000 (06:43 +0000)]
Return the correct $n result (assign the val, not the var!)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92682
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 31 Dec 2001 06:04:45 +0000 (06:04 +0000)]
To provide more flexibility in handling quotes, allow the backtick quote
for SSI tag arguments (e.g. <!--#echo val=`foo` -->). This helps with
arguments containing both single and double quotes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92678
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 31 Dec 2001 06:01:09 +0000 (06:01 +0000)]
We never test for success in memory allocation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92677
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 31 Dec 2001 05:58:59 +0000 (05:58 +0000)]
Ever tried to extract some value of QUERY_STRING from within SSI?
Now you can :) Provides $0..$9 results for any regex evaluation,
and strengthens the expr parser for regex expressions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92676
13f79535 -47bb-0310-9956-
ffa450edef68
kevlo [Mon, 31 Dec 2001 02:29:12 +0000 (02:29 +0000)]
HostNameLookups -> HostnameLookups
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92675
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sun, 30 Dec 2001 19:30:57 +0000 (19:30 +0000)]
Remove ConnectionStatus directive. No longer in code.
Submitted by: Daniel Lopez <daniel@rawbyte.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92674
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sun, 30 Dec 2001 18:10:36 +0000 (18:10 +0000)]
Rewriteguide typos.
PR: 9315
Submitted by: "John Briggs" <john_briggs@telstra.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92673
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sun, 30 Dec 2001 16:08:57 +0000 (16:08 +0000)]
I really can't spell negotiation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92671
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sun, 30 Dec 2001 16:07:09 +0000 (16:07 +0000)]
Now that we are releasing betas, we should have compatibility information in here.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92670
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sun, 30 Dec 2001 15:58:32 +0000 (15:58 +0000)]
Some new features updates.
Still lots missing from here, I'm sure. If you've added a new feature
since 1.3, please check to see if it is here. (And the same thing
for the "upgrading" doc.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92669
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sun, 30 Dec 2001 15:47:12 +0000 (15:47 +0000)]
Add the missing SSI... directives to the main directive index.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92668
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sun, 30 Dec 2001 15:45:05 +0000 (15:45 +0000)]
Cleanup the ForceLanguagePriority docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92667
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sun, 30 Dec 2001 15:34:13 +0000 (15:34 +0000)]
Cleanup new directives in mod_include.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92666
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sun, 30 Dec 2001 15:17:48 +0000 (15:17 +0000)]
A little cleanup on the AuthDBMType Directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92665
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 30 Dec 2001 14:30:44 +0000 (14:30 +0000)]
get rid of an unused variable
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92664
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Sun, 30 Dec 2001 14:05:55 +0000 (14:05 +0000)]
OS/2: Supply the configured libraries to the linker when building loadable
modules. This allows things like mod_deflate to build (needs -lz).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92663
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Sun, 30 Dec 2001 13:39:42 +0000 (13:39 +0000)]
Update OS/2 MPM to allow for run-time configurable scoreboard size.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92662
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Sun, 30 Dec 2001 13:27:48 +0000 (13:27 +0000)]
Make calc_scoreboard_size() and init_scoreboard() usable from MPMs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92661
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Sun, 30 Dec 2001 06:51:21 +0000 (06:51 +0000)]
allow mod_include to handle different start/end tags instead of the default
<!-- --> ones.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92660
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Sun, 30 Dec 2001 06:41:14 +0000 (06:41 +0000)]
document SSIErrorMsg & SSITimeFmt directives
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92659
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 30 Dec 2001 05:25:26 +0000 (05:25 +0000)]
Bad committer! Well, fix everyone else's tabs while I'm in here.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92658
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 30 Dec 2001 05:23:36 +0000 (05:23 +0000)]
Gotta have an error doc to serve, even if it's not their favorite
language.
From the http://www.ethnologue.com/ survey of languages, their data
is, in descending order [in millions, by primary and pri+sec speakers]
EN 341 508
ES 322 417
DE 100 128
FR 77 128
So that's the order I chose, and why.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92657
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 30 Dec 2001 04:40:40 +0000 (04:40 +0000)]
New directive, new docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92656
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 30 Dec 2001 04:14:20 +0000 (04:14 +0000)]
Introduce the ForceLanguagePriority options;
Prefer will circumvent a Multiple Choices by electing the first matching
language from the LanaguagePriority list.
Fallback will circumvent a None Acceptable by electing the first
language found from the LanaguagePriority list.
This breaks [expectedly] the negotiation tests. They need review.
My test results will be posted to dev.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92655
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 30 Dec 2001 01:24:14 +0000 (01:24 +0000)]
Use r->content_type instead of r->handler to screen out non-html
requests when doing the xbithack check (thanks to wrowe for the
suggestion)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92654
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 29 Dec 2001 23:16:24 +0000 (23:16 +0000)]
handle the disappearance of apr_lock_create_np() and
apr_proc_mutex_create_np() and the new parameter to
apr_lock_create() and apr_proc_mutex_create()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92653
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sat, 29 Dec 2001 21:34:04 +0000 (21:34 +0000)]
Fix to make xbithack work again
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92652
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Sat, 29 Dec 2001 20:32:52 +0000 (20:32 +0000)]
Detabify some functions. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92651
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 29 Dec 2001 19:55:46 +0000 (19:55 +0000)]
tiny cleanup to remove bogus SCOREBOARD_SIZE define
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92650
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 29 Dec 2001 17:44:18 +0000 (17:44 +0000)]
Improvements to docs [always good]
Submitted by: Daniel Lopez <daniel@rawbyte.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92649
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 29 Dec 2001 17:36:17 +0000 (17:36 +0000)]
mpm_common.c did all this dirty work - cleans up a duplicate symbol error
from the OSX.1 build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92648
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Sat, 29 Dec 2001 09:42:44 +0000 (09:42 +0000)]
Add a missing hook run.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92647
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 29 Dec 2001 05:02:10 +0000 (05:02 +0000)]
Close a real GP fault. This is the _wrong_solution_, but stops the
segfaults against very odd RAND_seed errors given garbage in.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92646
13f79535 -47bb-0310-9956-
ffa450edef68