]>
granicus.if.org Git - apache/log
Bill Stoddard [Sat, 6 Jul 2002 02:49:59 +0000 (02:49 +0000)]
Fix some Win32 compile breaks caused by Brian Pane's making apr_table_t
a full incomplete type.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95965
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sat, 6 Jul 2002 01:53:37 +0000 (01:53 +0000)]
Eliminated the use of AP_MODE_SPECULATIVE brigade reads to check
for request header continuation lines. Instead, ap_get_mime_headers_core()
now sets aside each line of input until it sees the next line. If the
next line starts with a tab, it is appended to the previous one; otherwise,
the previous line is added to the request headers table.
This reduces the number of temporary buckets that must be created
and destroyed to read in a request.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95964
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 5 Jul 2002 17:24:16 +0000 (17:24 +0000)]
This just bugs me today...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95963
13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Fri, 5 Jul 2002 03:28:06 +0000 (03:28 +0000)]
Submitted by: Owen Boyle, on users@ mailing list
Additional clarification on UseCanonicalName directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95962
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Fri, 5 Jul 2002 00:53:12 +0000 (00:53 +0000)]
use new time conversion macros in place of APR_USEC_PER_SEC
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95961
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Thu, 4 Jul 2002 22:56:51 +0000 (22:56 +0000)]
use the time conversion macros rather than dividing by APR_USEC_PER_SEC
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95960
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Thu, 4 Jul 2002 22:41:48 +0000 (22:41 +0000)]
replaced APR_USEC_PER_SEC division with the new time macros
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95959
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Thu, 4 Jul 2002 22:39:03 +0000 (22:39 +0000)]
fix ap_mpm_set_max_mem_free declaration to match mpm_common.c
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95958
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Thu, 4 Jul 2002 17:54:49 +0000 (17:54 +0000)]
Add missing declarations of the new max_mem_free stuff
so prefork will compile
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95957
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Thu, 4 Jul 2002 17:05:25 +0000 (17:05 +0000)]
Re-use the same temp brigade to read all lines of a request header,
to avoid the overhead of brigade creation and deletion. (This produced
a 5% reduction in the total CPU usage of a minimalist httpd configuration:
<JHEPKCEMGPKFFDHHDDKDMELFEKAA.bill@wstoddard.com>)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95956
13f79535 -47bb-0310-9956-
ffa450edef68
Sander Striker [Thu, 4 Jul 2002 15:24:01 +0000 (15:24 +0000)]
Now why did I commit that symbolic constant in APR again? Exactly...
to use it here.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95955
13f79535 -47bb-0310-9956-
ffa450edef68
Sander Striker [Thu, 4 Jul 2002 15:20:54 +0000 (15:20 +0000)]
Add a new directive: MaxMemFree. MaxMemFree makes it possible
to configure the maximum amount of memory the allocators will
hold on to for reuse. Anything over the MaxMemFree threshold
will be free()d. This directive is usefull when uncommon large
peaks occur in memory usage. It should _not_ be used to mask
defective modules' memory use.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95954
13f79535 -47bb-0310-9956-
ffa450edef68
Sander Striker [Thu, 4 Jul 2002 15:08:40 +0000 (15:08 +0000)]
Make the mime types configuration file path relative to {sysconfdir},
just like the other config files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95953
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Thu, 4 Jul 2002 09:20:59 +0000 (09:20 +0000)]
New Japanese translation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95952
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Thu, 4 Jul 2002 09:14:27 +0000 (09:14 +0000)]
Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95951
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Thu, 4 Jul 2002 09:13:19 +0000 (09:13 +0000)]
Fix typo.
Submitted by: Nobuyuki Morita <marika@plum.freemail.ne.jp>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95950
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Thu, 4 Jul 2002 09:05:25 +0000 (09:05 +0000)]
Bump up revision.
Submitted by: Hiroaki KAWAI <hawk@bcl.t.u-tokyo.ac.jp>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95949
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 3 Jul 2002 00:17:40 +0000 (00:17 +0000)]
Fix a const'ness conflict.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95948
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Tue, 2 Jul 2002 23:54:07 +0000 (23:54 +0000)]
note the C-L filter fix
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95947
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Tue, 2 Jul 2002 23:51:21 +0000 (23:51 +0000)]
Fix C-L filter non-blocking-mode brokenness. It was failing to ever
read from pipe/socket buckets again if it got APR_EAGAIN from them
due to its use of APR_BRIGADE_FOREACH.
Submitted by: the gang on IRC
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95946
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Tue, 2 Jul 2002 22:31:05 +0000 (22:31 +0000)]
Remove unused variable 'str'.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95945
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Tue, 2 Jul 2002 22:19:13 +0000 (22:19 +0000)]
Use the apr_file_copy function rather than doing a system call to copy
the file.
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95944
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Tue, 2 Jul 2002 22:15:39 +0000 (22:15 +0000)]
found wasn't getting incremented when we update an exisiting record, thus
an additional new record was getting created.
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95943
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 2 Jul 2002 21:51:24 +0000 (21:51 +0000)]
fix some mispellings of the word privileges
PR: 10424
Submitted by: Jens Kubieziel
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95942
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Tue, 2 Jul 2002 21:40:13 +0000 (21:40 +0000)]
Optimized the addition of the core output filter
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95941
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Tue, 2 Jul 2002 21:35:19 +0000 (21:35 +0000)]
Replaced ap_add_input_filter() call with cheaper ap_add_input_filter_handle()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95940
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Tue, 2 Jul 2002 19:48:38 +0000 (19:48 +0000)]
htpasswd needs to add a newline at the end of each record.
PR: 10422
Submitted by: Thom May [thom@planetarytramp.net]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95939
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 2 Jul 2002 19:07:48 +0000 (19:07 +0000)]
Never trust Bill when he cuts and pastes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95938
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 2 Jul 2002 19:03:15 +0000 (19:03 +0000)]
A bit more ap_regkey and apr-ization. Fixes some new bugs where the
AP_REGKEY_CREATE flag wasn't passed for ap_regkey_open (when the key
is expected to not yet exist), and adds the new flags arg to value_set.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95937
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 2 Jul 2002 19:02:00 +0000 (19:02 +0000)]
Introduce a _raw_set/_raw_get for regkey values. Takes care of all the
oddballs, and lets us simplify _array_set/_array_get.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95936
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 1 Jul 2002 20:51:00 +0000 (20:51 +0000)]
The pitfalls of cut'n'paste
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95935
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Mon, 1 Jul 2002 20:24:10 +0000 (20:24 +0000)]
Document what the threadpool MPM is
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95934
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Mon, 1 Jul 2002 20:16:51 +0000 (20:16 +0000)]
Document what the leader MPM is, for the benefit of anyone who
stumbles across it in a source distribution
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95933
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 1 Jul 2002 19:03:03 +0000 (19:03 +0000)]
Using apr_file_write_full() we have less to worry about,
and no extra os file handle.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95932
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 1 Jul 2002 18:24:54 +0000 (18:24 +0000)]
Eliminate GetModuleFileName()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95931
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 1 Jul 2002 18:22:53 +0000 (18:22 +0000)]
Remove all the CreateProcess() based code... see the prior commit
to compare old CP and new APR code side-by-side.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95930
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 1 Jul 2002 18:18:31 +0000 (18:18 +0000)]
Replace CreateProcess with properly formed apr threadproc code.
Although it's nearly a noop (except that we handle i18n paths that
translate into Unicode), I'm committing both so that they can be
compared. Use this version to eyeball bit for bit what has changed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95929
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 1 Jul 2002 17:49:53 +0000 (17:49 +0000)]
Bring in os.h after we let apr do its platform foo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95928
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 1 Jul 2002 17:48:47 +0000 (17:48 +0000)]
Add ap_os_proc_filepath and clean up the win32/os.h file structure.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95927
13f79535 -47bb-0310-9956-
ffa450edef68
Mark J. Cox [Mon, 1 Jul 2002 12:36:50 +0000 (12:36 +0000)]
Make security notes consistant with apache-1.3/src/CHANGES
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95924
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 1 Jul 2002 11:44:21 +0000 (11:44 +0000)]
fix make install to stop passing make operators to the shell
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95923
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Mon, 1 Jul 2002 05:05:51 +0000 (05:05 +0000)]
Optimization for ap_rgetline_core(): When "folding" mode is enabled,
clear and re-use the temporary brigade rather than destroying it
and creating a new one
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95920
13f79535 -47bb-0310-9956-
ffa450edef68
Marc Slemko [Mon, 1 Jul 2002 03:11:47 +0000 (03:11 +0000)]
Remove my address for sending comments to, since comments are no longer
of any real use.
While I'm at it, fix some misformatting that was apparently introduced
when converting it to XHTML.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95919
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 30 Jun 2002 21:59:50 +0000 (21:59 +0000)]
Get the perchild MPM starting different child processes with different
users and groups. It doesn't pass requests between child processes yet.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95918
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 30 Jun 2002 18:20:13 +0000 (18:20 +0000)]
Replaced APR_USEC_PER_SEC division with apr_time_sec macro
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95917
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 30 Jun 2002 04:30:41 +0000 (04:30 +0000)]
Replaced APR_USEC_PER_SEC division with the new apr_time_sec() macro
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95916
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 30 Jun 2002 03:53:32 +0000 (03:53 +0000)]
Replaced APR_USEC_PER_SEC division with the new apr_time_sec() macro
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95915
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Pepper [Sun, 30 Jun 2002 03:48:13 +0000 (03:48 +0000)]
Punctuation tweaks.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95914
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 30 Jun 2002 03:46:56 +0000 (03:46 +0000)]
Replaced APR_USEC_PER_SEC division with the new apr_time_sec() macro
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95913
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 29 Jun 2002 22:58:27 +0000 (22:58 +0000)]
I got sick of the error messages from copying the header files. This
removes all of the error messages.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95912
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 29 Jun 2002 16:24:35 +0000 (16:24 +0000)]
Preserve existing installation directories. We copy over binaries,
the build directory, the headers, and the man pages. Everything else,
the config, htdocs, manual, error, icons, and cgi directories are
not installed if the directories already exist. I got sick of having
to re-edit printenv for my tests, and this is the same logic 1.3 used.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95911
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Sat, 29 Jun 2002 07:39:12 +0000 (07:39 +0000)]
Add autom4te.cache to cvsignore files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95910
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Fri, 28 Jun 2002 20:16:26 +0000 (20:16 +0000)]
Just one more showstopper on my list and I'm not sure we can do anything
about this one in 2.0 due to required handler changes...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95909
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 28 Jun 2002 16:08:22 +0000 (16:08 +0000)]
Prevent us from getting stuck in a NULL provider hash.
Reported by: Sebastian Bergmann
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95908
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Fri, 28 Jun 2002 08:40:25 +0000 (08:40 +0000)]
Add a filter_init function to the filters so that a filter can execute
arbitrary code before the handlers are invoked.
This resolves an issue with incorrect 304s on If-Modified-Since mod_include
requests since ap_meets_conditions() is not aware that this is a dynamic
request and it is not possible to satisfy 304 for these requests (unless
xbithack full is on, of course). When mod_include runs as a filter, it is
too late to set any flag since the handler is responsible for calling
ap_meets_conditions(), which it should do before generating any data.
If a module doesn't need to run such arbitrary code, it can just pass NULL
as the argument and all is well.
PR: 9673
Reviewed by: Ryan Bloom and others
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95906
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 27 Jun 2002 21:06:18 +0000 (21:06 +0000)]
:(
(and if somebody can figure out how to build APR today, my hat is off
to them)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95905
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Thu, 27 Jun 2002 20:56:13 +0000 (20:56 +0000)]
I've had these for over a week but finally got around to signing them.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95903
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 27 Jun 2002 10:47:49 +0000 (10:47 +0000)]
fix compile breakage with IBM's xlc compiler caused by the
attempt to lose const on progname
strrchr was not the real library function that takes a
const parameter; instead, strrchr was the Apache macro which
makes it clear that const will be lost
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95900
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Thu, 27 Jun 2002 06:07:58 +0000 (06:07 +0000)]
Fix a long-standing bug in 2.0, CGI scripts were being called
with relative paths instead of absolute paths. Apache 1.3 used
absolute paths for everything except for SuExec, this brings back
that standard.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95899
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Thu, 27 Jun 2002 05:32:20 +0000 (05:32 +0000)]
Fix doxygen comments and add a missing line-feed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95898
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Thu, 27 Jun 2002 05:18:19 +0000 (05:18 +0000)]
Strengthen error-detection code in HTTP_IN and core_input_filter so that
invalid readbytes or errors reading brigades are properly handled.
Reviewed by: Brian Pane
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95897
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Thu, 27 Jun 2002 05:00:23 +0000 (05:00 +0000)]
- Fix segfault in core_output_filter when we are passed an empty brigade.
- Stash the remainder of the brigade in more when we see a flush bucket.
Previous to this commit, we would only process the buckets before the
flush on a HTTP/1.0 request and then return.
We are proably only finding this now since we now correctly check for
keepalive connection status.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95896
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Thu, 27 Jun 2002 04:40:47 +0000 (04:40 +0000)]
Fix infinite loop when reading certain data due to two HTTP_IN filters being
present for internally redirected requests.
If HTTP_IN is present, r->proto_input_filters would have it, so adding it
twice is wrong.
PR: 10146
Reviewed by: Brian Pane
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95895
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 27 Jun 2002 03:54:50 +0000 (03:54 +0000)]
Doxygenate the rest of this header. Had I not overlooked the #ifdef WIN32
I probably wouldn't have had any issues parking this file in httpd/include
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95894
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Wed, 26 Jun 2002 21:53:25 +0000 (21:53 +0000)]
Re-architected the select()/accept() loop to allow all threads to rely on select() to
signal when data is ready rather than only allowing a single thread at a time to
be signaled by select(). This allows Apache to pull the requests off of the
listen queue as fast as winsock will allow without latency introduced by the
accept mutex.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95893
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 26 Jun 2002 19:54:53 +0000 (19:54 +0000)]
add another example filter, try to clarify how parameters to the filter
program are specified
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95892
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Wed, 26 Jun 2002 19:45:07 +0000 (19:45 +0000)]
Change conn_rec->keepalive to an enumerated value of
AP_CONN_UNKNOWN
AP_CONN_CLOSE
AP_CONN_KEEPALIVE
This also fixes a problem where ap_discard_request_body would not discard
the body when keepalive was 0. This actually meant the keepalive status
was unknown *not* closed, but no one ever remembered that.
This problem was seen with mod_dav sending error responses (as reported by
Karl Fogel).
Suggested by: Greg "this isn't the '80s" Stein
Reviewed by: Greg Ames
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95891
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 26 Jun 2002 13:01:50 +0000 (13:01 +0000)]
Fix mod_ext_filter to look in the main server for filter definitions
when running in a vhost if the filter definition is not found in
the vhost.
PR: 10147
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95888
13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 26 Jun 2002 02:33:12 +0000 (02:33 +0000)]
Small change of phrasing on the vhosts index page. A reordering of the
main links in order to put the less commonly used stuff to the bottom of
the list.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95887
13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 26 Jun 2002 02:31:47 +0000 (02:31 +0000)]
Obtained from: IRC, various other conversations
A number of people commented that they thought that beginners would find
that the IP addresses used in examples did not appear "real" enough.
Also, that the ".tld" domain names used in examples were confusing.
Examples have been changed to use 172.20 IP addresses, and host names
using more recognized tlds.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95886
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 25 Jun 2002 05:51:23 +0000 (05:51 +0000)]
Some small wording improvements.
Submitted by: James Cox <imajes@php.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95885
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Mon, 24 Jun 2002 17:06:19 +0000 (17:06 +0000)]
ap_discard_request_body: exit without reading the body if
connection->keepalive is false. This works in conjunction with
ap_die which resets connection->keepalive any time
ap_status_drops_connection is true. The latter is explicity tested
here in case ap_die isn't involved.
Submitted by: Justin Erenkrantz, Greg Ames
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95882
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 24 Jun 2002 13:21:35 +0000 (13:21 +0000)]
fix some mispellings of mod_deflate
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95881
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 24 Jun 2002 07:53:50 +0000 (07:53 +0000)]
Move the last little useful bit of registry.c into services.c, and
blast it. All Win32 registry foo is going through ap_regkey now.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95880
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 24 Jun 2002 07:50:36 +0000 (07:50 +0000)]
Add in the other complex ap_regkey_value_foo() fns and move ap_regkey.h
Out Of The Way of exports stumbling onto it!!!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95879
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 24 Jun 2002 07:17:36 +0000 (07:17 +0000)]
Include apr_lib.h for the definition of apr_toupper() to get rid of
undefined symbol link failures (apr_toupper is a macro, at least on
Unix).
Reported by: Trawick's regression build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95878
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 24 Jun 2002 04:55:52 +0000 (04:55 +0000)]
Incorporate ap_regkey.c into the build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95877
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 24 Jun 2002 04:55:24 +0000 (04:55 +0000)]
Replace gunk with ap_regkey calls.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95876
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 24 Jun 2002 04:50:41 +0000 (04:50 +0000)]
Introduce win32 registry handling through a very apr-ish interface.
Deals with apr utf-8 encoding of filesystem values, so we preserve
strings in any locality or nationalized flavor of WinNT, and avoid
the gunk for Win9x.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95875
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 24 Jun 2002 02:17:08 +0000 (02:17 +0000)]
Another excessively warm day in Chicago.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95874
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 10:27:54 +0000 (10:27 +0000)]
Doc it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95871
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 10:25:30 +0000 (10:25 +0000)]
Seems 9x can't delete two files at a time
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95870
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 10:24:07 +0000 (10:24 +0000)]
Finish the -w keep-console-open-on-error patch.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95869
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 09:52:55 +0000 (09:52 +0000)]
The fix wasn't healthy for Win9x. Work around pre-Unicode flavors.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95868
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 23 Jun 2002 09:01:22 +0000 (09:01 +0000)]
Removed "tolower(++s)" idiom from ap_strcasestr(), to avoid side-effects
on any platform with a macro-based tolower() that references its argument
multiple times.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95867
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 23 Jun 2002 08:10:49 +0000 (08:10 +0000)]
Convert the hostname to all-lowercase in fix_hostname() so that
the implementation matches the comments. (Note: The current virtual
hosting code does case-insensitive host matching, so this fix is useful
mostly to help ensure that custom modules and any future vhosting code
don't get tripped up by case-sensitivity issues.)
Submitted by: Perry Harrington <pedward@webcom.com>
Reviewed by: Brian Pane
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95866
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 07:56:41 +0000 (07:56 +0000)]
Fixes Win32 cgi 500 errors when QUERY_ARGS or other strings include
extended characters (non US-ASCII) in non-utf8 format. This brings
Win32 back into CGI/1.1 compliance, and leaves charset decoding up
to the cgi application itself.
Accomplished this by utf-8 encoding of plain octets for user and header
data, so that the apr_proc_create() translates back to single unicode
characters. This won't necessarily translate into the correct octet
depending on the codepage used by the cgi app. That's the next task.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95865
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 06:46:52 +0000 (06:46 +0000)]
Whoops... removal of the last compat was just this bit premature.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95864
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 06:43:26 +0000 (06:43 +0000)]
With dav corrected, this last _compat.h bogosity leaves the core distro.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95863
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 06:42:13 +0000 (06:42 +0000)]
The real pain. ap->apr xml and text types.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95862
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 06:17:28 +0000 (06:17 +0000)]
Not really sure what this is, but it wasn't aprized. back out rev 1.2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95861
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 06:16:05 +0000 (06:16 +0000)]
Adapt to use apr_ischar()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95860
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 06:15:03 +0000 (06:15 +0000)]
Use apr_ flavors of ischar()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95859
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 06:13:17 +0000 (06:13 +0000)]
cleanup uses of apr_ischar() macros (no cast required)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95858
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 06:12:09 +0000 (06:12 +0000)]
That's apr, not ap (any longer)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95857
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 06:10:00 +0000 (06:10 +0000)]
No crutches.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95856
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 06:08:51 +0000 (06:08 +0000)]
Use apr_ variants of ischar() tests.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95855
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 06:06:25 +0000 (06:06 +0000)]
No crutches, people!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95854
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 04:05:17 +0000 (04:05 +0000)]
Simplify add_ssi_vars() and move the ssi/cgi vars into their respective
functions [so we may address r->subprocess_env in the ap_cgi_build_command
win32 handler.]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95853
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 23 Jun 2002 04:03:21 +0000 (04:03 +0000)]
s/cgi/cgid might be just a little agressive - fix a comment
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95852
13f79535 -47bb-0310-9956-
ffa450edef68