]>
granicus.if.org Git - apache/log
William A. Rowe Jr [Tue, 27 Nov 2001 03:58:41 +0000 (03:58 +0000)]
Changes by Mladen Turk <mturk@mappingsoft.com>, with dialog touchup by
myself [I can't stand misordered dialog interfaces ;], to allow the user
to connect and disconnect remote PCs into the ApacheMonitor.
Needs other mild changes, e.g. machine\service rather than machine@service
[since @ could be part of a service/machine name, slash and backslash may
never be.] And still, the sync behavior leaves something to be desired.
Note one bug - the browse for computer actually won't browse computers,
but that can be fixed in another patch.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92191
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Mon, 26 Nov 2001 22:50:13 +0000 (22:50 +0000)]
include mod_charset_lite by default on an ebcdic system
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92187
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Mon, 26 Nov 2001 22:46:32 +0000 (22:46 +0000)]
More updates of user support info.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92186
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 26 Nov 2001 21:32:56 +0000 (21:32 +0000)]
We must use absolute paths or we break VPATH builds.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92183
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 26 Nov 2001 18:49:36 +0000 (18:49 +0000)]
The survey says yes, that is in fact the expected behavior. :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92182
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Mon, 26 Nov 2001 18:35:12 +0000 (18:35 +0000)]
Correct closing tag for a href.
Submitted by: Jun Kuriyama <kuriyama@imgsrc.co.jp>
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92181
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Mon, 26 Nov 2001 16:27:01 +0000 (16:27 +0000)]
change so that it doesn't rely on the structure of the apr_table's elt internal
structure
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92178
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 26 Nov 2001 14:38:03 +0000 (14:38 +0000)]
very minor tweaks:
. convert a comment to English
. zap an unnecessary '.' from a log message
. rearrange the setting of some variables controlling pipes and cmd-type
in the cgi process so that the differences in their values for ssi vs. cgi
can be more readily seen
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92177
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Mon, 26 Nov 2001 08:49:29 +0000 (08:49 +0000)]
Another fix for the core_output_filter() code that concatenates
small buckets: It's possible for the temporary brigade to
contain more than one bucket. If this happens, we need to
recover the buckets after the first from the temporary brigade
before destroying it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92176
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Mon, 26 Nov 2001 07:21:48 +0000 (07:21 +0000)]
More fixes for core_input_filter()'s concatenation of small buckets:
update last_e and nbytes after compacting the brigade
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92174
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Mon, 26 Nov 2001 05:51:00 +0000 (05:51 +0000)]
Add a link to the new mailing list.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92173
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Mon, 26 Nov 2001 03:51:40 +0000 (03:51 +0000)]
Fix for the code in core_output_filter() that concatenates small buckets
into one big bucket...it was putting a pointer to a deleted bucket in
the iovec, so the output was corrupted.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92171
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 24 Nov 2001 16:38:01 +0000 (16:38 +0000)]
Reports arrive that some awks are tripped up by an unquoted, unpaired
open curly brace. This solves, seems to have to adverse affects on
other awks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92165
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 24 Nov 2001 15:52:44 +0000 (15:52 +0000)]
Fix the installation target to make sure that the manual is
installed in the correct location.
PR: 8851
Submitted by: Yoshifumi Hiramatsu <hiramatu@boreas.dti.ne.jp>
and Gomez Henri <hgomez@slib.fr>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92164
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sat, 24 Nov 2001 10:52:27 +0000 (10:52 +0000)]
short-circuit out of xbithack_handler immediately if xbithack
isn't enabled, and use strcmp instead of ap_strcmp_match for
comparing against a non-wildcard pattern
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92163
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sat, 24 Nov 2001 10:13:29 +0000 (10:13 +0000)]
optimization: short-circuit out of the mod_actions handler if there are no actions defined in the config
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92162
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sat, 24 Nov 2001 07:38:52 +0000 (07:38 +0000)]
optimized away the sprintf calls in ap_make_etag()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92161
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sat, 24 Nov 2001 04:22:45 +0000 (04:22 +0000)]
optimize ap_add_common_vars() for the common case where r->subprocess_env is empty
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92152
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sat, 24 Nov 2001 00:40:15 +0000 (00:40 +0000)]
don't bother setting the ssl info callback unless SSLLogLevel >= info
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92151
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 24 Nov 2001 00:17:01 +0000 (00:17 +0000)]
Fix the cmd command for mod_include. When we are processing
a cmd command, we do not want to use the r->filename to set
the command name. The command comes from the SSI tag. To do this,
I added a variable to the function that builds the command line
in mod_cgi. This allows the include_cmd function to specify
the command line itself.
PR: 8772
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92150
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Sat, 24 Nov 2001 00:08:30 +0000 (00:08 +0000)]
change open_logs hook to return a value, allowing you to flag a error
while opening logs
Obtained from: Doug MacEachern
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92149
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Fri, 23 Nov 2001 23:49:24 +0000 (23:49 +0000)]
Fix post-config hook to return a int.
I left the service start/stop/restart 'exits' in there, and changed the
other ones to return HTTP_INTERNAL_SERVER_ERROR
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92148
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Fri, 23 Nov 2001 22:29:09 +0000 (22:29 +0000)]
fixed declaration mismatch for cgid_init() that was preventing compilation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92147
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 23 Nov 2001 19:28:04 +0000 (19:28 +0000)]
Fix a bug in the core_output_filter. If we are buffering, it helps
to read from the correct bucket.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92146
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Fri, 23 Nov 2001 17:45:52 +0000 (17:45 +0000)]
mod_ssl is big and bulky, takes awhile to load, sometimes must wait for
entropy to be collected, and has a nasty little bug that prevents the
server from being started in non-SSL mode. This patch corrects some of
those problems, but is not intended as a workaround for the bug.
Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
Reviewed by: Aaron Bannert
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92145
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Fri, 23 Nov 2001 16:35:22 +0000 (16:35 +0000)]
Modify post_config hook so that it can return a error,
causing the server not to start.
previous method was to call exit(1) which would not fail
gracefully
PR:
Obtained from:
Submitted by:
Reviewed by: (Idea only Jeff Trawick)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92144
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Fri, 23 Nov 2001 16:33:06 +0000 (16:33 +0000)]
make doxygen stop complianing about some netware specific C calls
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92143
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Fri, 23 Nov 2001 11:07:51 +0000 (11:07 +0000)]
converted apr_pcalloc to apr_palloc for 15% reduction in run time of add_any_filter
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92142
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Fri, 23 Nov 2001 10:56:31 +0000 (10:56 +0000)]
restructured the conditional logic in ap_merge_per_dir_configs() for faster execution
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92141
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Fri, 23 Nov 2001 01:24:18 +0000 (01:24 +0000)]
replaced the hash used in add_any_filter() with a trie for 2.5x speedup
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92140
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Thu, 22 Nov 2001 22:44:30 +0000 (22:44 +0000)]
It's better to dup the apr_mmap_t when we first create it. The result
is the same, and it saves us a call to apr_mmap_dup() per request.
Reviewed by: Brian Pane (concept)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92139
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Thu, 22 Nov 2001 21:19:02 +0000 (21:19 +0000)]
optimized away a strlen call in alias_matches()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92138
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Thu, 22 Nov 2001 21:04:28 +0000 (21:04 +0000)]
added inlined string concatenation to form_header_field() for speed
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92137
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Thu, 22 Nov 2001 20:41:38 +0000 (20:41 +0000)]
minor performance fix for ap_add_common_vars(): replace printf with apr_itoa()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92136
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Thu, 22 Nov 2001 20:32:24 +0000 (20:32 +0000)]
Mention the new --with-suexec-bin parameter.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92135
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Thu, 22 Nov 2001 20:29:11 +0000 (20:29 +0000)]
Allow SUEXEC_BIN to be defined by the configure script.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92134
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 22 Nov 2001 19:45:08 +0000 (19:45 +0000)]
Fix link.
Submitted by: Stepan Kasal <kasal@math.cas.cz>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92133
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Thu, 22 Nov 2001 07:42:13 +0000 (07:42 +0000)]
Just some style changes from when I was working on the recent suexec
patch. No more tabs, intended alignment remains.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92132
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Thu, 22 Nov 2001 06:03:10 +0000 (06:03 +0000)]
fix for a segfault that occurred when mod_include was used to deliver files shorter than 5 bytes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92131
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Thu, 22 Nov 2001 05:13:29 +0000 (05:13 +0000)]
fix segv in worker MPM following check_pipe_of_death() call
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92130
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Thu, 22 Nov 2001 02:58:07 +0000 (02:58 +0000)]
dont va_start() in ssl_log() unless we are actually going to log something
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92123
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Thu, 22 Nov 2001 02:44:35 +0000 (02:44 +0000)]
avoid a couple of calls to ssl_util_vhostid() and apr_psprintf()
unless loglevel >= SSL_LOG_INFO
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92122
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Thu, 22 Nov 2001 02:23:09 +0000 (02:23 +0000)]
optimize lookup of ssl-{unclean,accurate}-shutdown flags:
- only look through the table once, rather than 2 apr_table_gets()
- case-sensitive and use strcmp() as little as possible
- only lookup once per-connection, as the flags will not change across
keepalive requests
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92121
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Thu, 22 Nov 2001 01:43:33 +0000 (01:43 +0000)]
two performance improvements:
- switch from using r->notes to r->request_config
- avoid a strcmp() when checking if val eq '!'
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92120
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Thu, 22 Nov 2001 01:40:26 +0000 (01:40 +0000)]
return from ssl_callback_LogTracingState if sc->nLogLevel < SSL_LOG_INFO
else there are 5 (expensive!) calls made to ssl_var_lookup on every request
for info that will never be logged
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92119
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Thu, 22 Nov 2001 01:07:38 +0000 (01:07 +0000)]
macros for dumping the list of server_recs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92116
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Thu, 22 Nov 2001 00:43:43 +0000 (00:43 +0000)]
remove AP_CTX_* macros which are no longer used
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92114
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Thu, 22 Nov 2001 00:42:35 +0000 (00:42 +0000)]
get rid of 'apctx' table that used to live in SSL_get_app_data2(ssl)
change app_data2 to be the request_rec itself.
if something needs per-request context in the future,
it can use r->request_config
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92113
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Thu, 22 Nov 2001 00:25:00 +0000 (00:25 +0000)]
move c->notes.ssl::verify::depth to SSLConnRec.verify_depth
note: may actually be removed unless somebody can figure out why it is in
there to begin with
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92111
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 21 Nov 2001 22:58:28 +0000 (22:58 +0000)]
get rid of SSL_get_app_data2_idx() which had a race condition when
writing to app_data2_idx, and another inside OpenSSL when calling
SSL_get_ex_new_index().
add SSL_init_app_data2_idx() to provide the same functionality but in
a safe place: called during ssl_init_Module
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92110
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 21 Nov 2001 22:29:14 +0000 (22:29 +0000)]
move c->notes.ssl::verify::{info,error} to SSLConnRec.verify_{info,error}
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92109
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Wed, 21 Nov 2001 22:26:07 +0000 (22:26 +0000)]
Add mod_deflate (formerly known as mod_gz) to experimental. mod_deflate
supports gzip transfer-encoding as an output filter.
Initially coded by Ian, but Justin made a number of improvements to
the coding style and its use of filters.
We have 7 binding +1s and no vetos in STATUS for addition.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92108
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 21 Nov 2001 21:23:25 +0000 (21:23 +0000)]
remove test_pass_brigade; it lives in httpd-test not here
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92107
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Wed, 21 Nov 2001 21:15:15 +0000 (21:15 +0000)]
comment out module test_pass_brigade as it doesn't exist
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92105
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 21 Nov 2001 19:22:46 +0000 (19:22 +0000)]
move c->notes.ssl::flag::{unclean,accurate}-shutdown to SSLConnRec.shutdown_type
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92100
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 21 Nov 2001 18:32:27 +0000 (18:32 +0000)]
Bail out at configure time if an invalid MPM was specified.
Submitted by: jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92098
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Wed, 21 Nov 2001 18:25:40 +0000 (18:25 +0000)]
Fix a bug in our output filter buffering. If a lot of small brigades are
sent, the core will send the first 16 buckets, regardless of how much
data there is. In the pathological case, this can cause a lot of 16
byte packets. Now, if we see less than AP_MIN_BYTES, we combine
all of the buckets into a single bucket to be sent in a later packet.
This can cause a lot of memory copies, but it eases our network traffic.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92097
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Wed, 21 Nov 2001 18:19:06 +0000 (18:19 +0000)]
This was done a while ago.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92096
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Wed, 21 Nov 2001 18:09:27 +0000 (18:09 +0000)]
include the appropriate header files for ntohs and htons to prevent
OS/390 build failures.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92095
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 21 Nov 2001 18:08:33 +0000 (18:08 +0000)]
move c->notes.ssl::client::dn to SSLConnRec.client_dn
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92094
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 21 Nov 2001 17:45:24 +0000 (17:45 +0000)]
start moving c->notes usage to a new SSLConnRec structure hanging off of
c->conn_config
PR:
Obtained from:
Submitted by:
Reviewed by: rbb, madhu
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92093
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Wed, 21 Nov 2001 17:01:42 +0000 (17:01 +0000)]
let mod_file_cache use the new apr_mmap_dup function
Submitted by: Brian Pane
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92092
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 21 Nov 2001 16:22:05 +0000 (16:22 +0000)]
when this module's resolver calls were apr-ized recently we removed
the include of specific system header files; this left the opportunity
for htons() to be undefined... do something explicit for htons() so
we don't have to worry about what apr_network_io.h brings with it
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92091
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Wed, 21 Nov 2001 03:46:22 +0000 (03:46 +0000)]
Fix the timeout logic that I broke last week. This adds a request
level filter that sets the timeout on the socket that is connected
to the client.
Thanks Greg Stein for seeing this bug.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92073
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 21 Nov 2001 03:19:13 +0000 (03:19 +0000)]
Prevent segv in ap_note_basic_auth_failure() when no AuthName is configured
PR:
Obtained from:
Submitted by: John Sterling <sterling@covalent.net>
Reviewed by: dougm
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92072
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Tue, 20 Nov 2001 22:23:51 +0000 (22:23 +0000)]
Gets us compiling again on FreeBSD. Adds conditional compilation around
thread mutex routines for when we don't have APR_HAS_THREADS.
Submitted by: Justin Erenkrantz
Reviewed by: Aaron Bannert
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92061
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Tue, 20 Nov 2001 22:19:19 +0000 (22:19 +0000)]
It compiles and looks good. I know not of a good way to test this,
but nobody spoke up on the list, so I'm just going to commit it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92060
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Tue, 20 Nov 2001 21:34:43 +0000 (21:34 +0000)]
No good reason to have this in <> instead of "". Having it in <> might
interact badly with makefile dependency generators, too.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92059
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 20 Nov 2001 21:34:18 +0000 (21:34 +0000)]
Win32: Move the call to fetch the network addresses into the accept loop
and out of the worker threads. This makes it a bit easier to implement
accept loop processing in modules outside the MPM.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92058
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Tue, 20 Nov 2001 20:14:58 +0000 (20:14 +0000)]
apxs should be using sbindir not bindir for the path to the httpd binary.
Committed with some minor changes.
Submitted by: GOMEZ Henri <hgomez@slib.fr>
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92057
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 20 Nov 2001 19:43:40 +0000 (19:43 +0000)]
Win32: Clean up some error paths.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92056
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 20 Nov 2001 19:03:21 +0000 (19:03 +0000)]
Win32 bug fix:
Move call to setsockopt(SO_UPDATE_ACCEPT_CONTEXT) (to cause the accept socket
to inherit the listener attributes) to after a connection has been accepted.
This piece of code prior to this fix was just wrong; not sure why I never
saw warning messages on NT or 2000.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92055
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 20 Nov 2001 18:27:07 +0000 (18:27 +0000)]
Get IPv6 vhosts working (again ?).
There were a couple of bogus IPv4-specific comparisons which prevented
the data structures from being built correctly in ap_fini_vhost_config().
One of these (INADDR_ANY) can be easily rewritten to work with IPv6. The
other (DEFAULT_VHOST_ADDR) isn't necessary for IPv6. Note that this is
because we don't support the various flavors of _default_ that
Apache-1.3+KAME-patch supports.
PR: 8118
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92054
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 20 Nov 2001 18:18:45 +0000 (18:18 +0000)]
fix chdir_for_gprof() to s/dir/use_dir/ for chdir()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92053
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 20 Nov 2001 03:49:50 +0000 (03:49 +0000)]
Split Justin's and my key issues, which have become tangled (yet have
nothing to do with one another.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92050
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Tue, 20 Nov 2001 03:20:26 +0000 (03:20 +0000)]
optimized away some pointer arithmetic in the inner loop of the BNDM string-search function in mod_include
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92048
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Tue, 20 Nov 2001 03:14:05 +0000 (03:14 +0000)]
2.0.28 was released.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92047
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Tue, 20 Nov 2001 03:03:17 +0000 (03:03 +0000)]
optimized away some pointer arithmetic in the inner loop of the BNDM string-search function
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92046
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 19 Nov 2001 23:33:15 +0000 (23:33 +0000)]
Fixed the AWK script so that it will pick up functions that have been
declared on multiple lines such as create_connection in connection.h.
Otherwise multi-line declared functions are omitted from the export list.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92044
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Mon, 19 Nov 2001 22:37:57 +0000 (22:37 +0000)]
add input filter AP_MODE_INIT support to handshake before reading
request data from the client.
PR:
Obtained from:
Submitted by: dougm
Reviewed by: wrowe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92043
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Mon, 19 Nov 2001 22:36:20 +0000 (22:36 +0000)]
add new input filter mode AP_MODE_INIT:
allows filters such as mod_ssl to initialize a client connection
(ie handshake) before reading request data from the client.
PR:
Obtained from:
Submitted by: dougm
Reviewed by: wrowe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92042
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 19 Nov 2001 21:09:20 +0000 (21:09 +0000)]
Fixed the behavior of the XBitHack directive.
PR: 8804
Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp>, Cliff Woolley
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92040
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 19 Nov 2001 18:15:26 +0000 (18:15 +0000)]
use the old threaded.html contents for worker MPM docs (not carefully
examined, but there isn't much there that could be wrong)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92038
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 19 Nov 2001 18:11:35 +0000 (18:11 +0000)]
axe threaded MPM
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92037
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 19 Nov 2001 18:07:28 +0000 (18:07 +0000)]
Get rid of threaded MPM. This commit has the actual code changes.
The deletes come next.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92036
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 19 Nov 2001 16:10:36 +0000 (16:10 +0000)]
Changed a variable name to avoid a NetWare LibC global conflict.
Submitted by: Pavel Novy [novy@feld.cvut.cz]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92035
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 19 Nov 2001 15:27:52 +0000 (15:27 +0000)]
Historically consistent flag to shutdown the server [stop is supported,
but only more recently.]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92034
13f79535 -47bb-0310-9956-
ffa450edef68
Ken Coar [Mon, 19 Nov 2001 15:27:39 +0000 (15:27 +0000)]
Typo fixit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92033
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 19 Nov 2001 13:48:57 +0000 (13:48 +0000)]
APR-ize the resolver logic in mod_unique_id. This fixes a bug
in logging the error from a failed DNS lookup.
Note: For a funky error scenario to work right (huge host name),
this requires a tweak to apr_gethostname() which I have not yet
committed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92032
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 19 Nov 2001 02:03:04 +0000 (02:03 +0000)]
Get rid of some cruft. Setting these flag slots is best left to the core.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92031
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Sun, 18 Nov 2001 16:59:38 +0000 (16:59 +0000)]
Add extra If-XXX request headers to be ignored in subrequests
Allow cache-control header to get passed to subrequests
tabs -> spaces
Submitted by: Ian Holsman
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92030
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 18 Nov 2001 13:22:59 +0000 (13:22 +0000)]
a couple of spelling corrections
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92029
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Sun, 18 Nov 2001 07:49:28 +0000 (07:49 +0000)]
Don't need apr_pcalloc on any of these, since we explicitly initialize
all data members anyway.
Submitted by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92028
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Sun, 18 Nov 2001 06:30:55 +0000 (06:30 +0000)]
fix spelling
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92027
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Sun, 18 Nov 2001 05:50:43 +0000 (05:50 +0000)]
Don't know why these were missing... just an oversight, I'm guessing?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92026
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Sun, 18 Nov 2001 05:35:47 +0000 (05:35 +0000)]
Fix spelling
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92025
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Sun, 18 Nov 2001 02:57:12 +0000 (02:57 +0000)]
change the signature of ap_custom_response() to use a
"const char *" instead of a "char *".
PR: 8791
Submitted by: Kurt Brown kurtb149@yahoo.com
Reviewed by: Ian Holsman
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92024
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Sat, 17 Nov 2001 22:07:15 +0000 (22:07 +0000)]
should this file be used or the main httpd one?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92023
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Sat, 17 Nov 2001 22:04:48 +0000 (22:04 +0000)]
Only do keepalives (and keep state on the connection record) if this request
is the top-level page.
Do not pass If-XXX-Since headers to the r-proxied server on a subrequest,
and we can't handle a 30X response
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92022
13f79535 -47bb-0310-9956-
ffa450edef68
Ian Holsman [Sat, 17 Nov 2001 22:01:32 +0000 (22:01 +0000)]
ProxyPass wasn't sending the right URL through to the backend server
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92021
13f79535 -47bb-0310-9956-
ffa450edef68