]> granicus.if.org Git - apache/log
apache
22 years ago I don't believe it. This actually fixes the rest of the type mismatches.
William A. Rowe Jr [Thu, 29 Nov 2001 07:17:09 +0000 (07:17 +0000)]
  I don't believe it.  This actually fixes the rest of the type mismatches.

  Of course, I could have hosed everything, a second pair of eyes would be
  appreciated.

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

22 years ago We never tested for invalid 'additional' arguments that were ignored.
William A. Rowe Jr [Thu, 29 Nov 2001 07:10:40 +0000 (07:10 +0000)]
  We never tested for invalid 'additional' arguments that were ignored.
  Was there any point to allowing additional, unused args after the
  various supported switches?

  This prevents the Apache server from starting with an httpd somefooness
  invocation.

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

22 years agothe client cert X509_NAME_oneline() is only used if SSLFakeBasicAuth
Doug MacEachern [Thu, 29 Nov 2001 07:07:36 +0000 (07:07 +0000)]
the client cert X509_NAME_oneline() is only used if SSLFakeBasicAuth
is happening.  so avoid calling that unless needed and just stash a
pointer to the client cert for the boolean checks that the client
provided a cert.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years ago Prevent Apache from continuing to start when it's encountered a parsing
William A. Rowe Jr [Thu, 29 Nov 2001 06:56:09 +0000 (06:56 +0000)]
  Prevent Apache from continuing to start when it's encountered a parsing
  error in the Win32 mpm's argv[] review.

  Reported by Grif Rosser <grifr@covalent.net>

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

22 years agoavoid a call to X509_NAME_oneline() and ASN1_INTEGER_get() in
Doug MacEachern [Thu, 29 Nov 2001 06:52:18 +0000 (06:52 +0000)]
avoid a call to X509_NAME_oneline() and ASN1_INTEGER_get() in
ssl_callback_SSLVerify_CRL() unless SSLLogLevel >= info, otherwise the
expense is unused.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoget rid of ssl_log_applies() function. it does more than we need and
Doug MacEachern [Thu, 29 Nov 2001 06:34:53 +0000 (06:34 +0000)]
get rid of ssl_log_applies() function.  it does more than we need and
what should be done with a macro.  it was only used once anyhow.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agossl_callback_SSLVerify() was calling (the expensive) X509_NAME_oneline()
Doug MacEachern [Thu, 29 Nov 2001 06:27:41 +0000 (06:27 +0000)]
ssl_callback_SSLVerify() was calling (the expensive) X509_NAME_oneline()
function and free() of the return value twice each, for logging
regardless of SSLLogLevel.  changed to happen only if SSLLogLevel >= trace
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agofix for last change that removed ssl_util_getmodconfig():
Doug MacEachern [Thu, 29 Nov 2001 06:15:01 +0000 (06:15 +0000)]
fix for last change that removed ssl_util_getmodconfig():
go back to using s->process->pool userdata, but just to store the
global module config during startup so we only create _one_ SSLModConfigRec.
(didn't realize this function was called in both ssl_init_Module and
ssl_config_server_create)
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agossl_util_getmodconfig() and ssl_util_getmodconfig_ssl() show up high
Doug MacEachern [Thu, 29 Nov 2001 05:45:48 +0000 (05:45 +0000)]
ssl_util_getmodconfig() and ssl_util_getmodconfig_ssl() show up high
in the gprof profile.  there's no need for the "global" SSLModConfigRec
to live in the s->process->pool userdata table.  we now just point the
SSLSrvConfigRec in each server_rec.module_config to the SSLModConfigRec
so we can access it directly which is much faster.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoSSL_rand() does a mutex lock/unlock with threaded MPMs, so collapse
Doug MacEachern [Thu, 29 Nov 2001 05:17:38 +0000 (05:17 +0000)]
SSL_rand() does a mutex lock/unlock with threaded MPMs, so collapse
two calls that seed pid and time into one.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agomove srand() call from ssl_rand_choosenum() to ssl_init_Child()
Doug MacEachern [Thu, 29 Nov 2001 05:08:47 +0000 (05:08 +0000)]
move srand() call from ssl_rand_choosenum() to ssl_init_Child()

this was being called twice per-connection with 'SSLRandom connect builtin'
configured (which is in the default config)

this also gets rid of two time() syscalls per-connection

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agocall getpid() once at child init and save in the SSLModConfigRec
Doug MacEachern [Thu, 29 Nov 2001 05:04:22 +0000 (05:04 +0000)]
call getpid() once at child init and save in the SSLModConfigRec
to avoid getpid() calls at request time
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agocarry over from 1.3: disable profiling in the parent process #ifdef GPROF
Doug MacEachern [Thu, 29 Nov 2001 04:06:05 +0000 (04:06 +0000)]
carry over from 1.3: disable profiling in the parent process #ifdef GPROF
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoFix awkward grammar in some of mod_ssl's error messages.
Aaron Bannert [Thu, 29 Nov 2001 00:07:10 +0000 (00:07 +0000)]
Fix awkward grammar in some of mod_ssl's error messages.

Submitted by: Ryan Morgan <rmorgan@covalent.net>
Reviewed by: Aaron Bannert

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

22 years agobegone, ugly echoed seds. Use build/install-bindist.sh.in as a template
Greg Ames [Wed, 28 Nov 2001 22:25:10 +0000 (22:25 +0000)]
begone, ugly echoed seds.  Use build/install-bindist.sh.in as a template
to create install-bindist.sh

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

22 years agonew file for use with binbuild.sh
Greg Ames [Wed, 28 Nov 2001 22:20:00 +0000 (22:20 +0000)]
new file for use with binbuild.sh

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

22 years agomake the proxy code spit out an error to the error log.
Ian Holsman [Wed, 28 Nov 2001 21:07:32 +0000 (21:07 +0000)]
make the proxy code spit out an error to the error log.
This bit me when I included a 11th file no error message, nothing.

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

22 years agodeflate is in
Ian Holsman [Wed, 28 Nov 2001 20:14:09 +0000 (20:14 +0000)]
deflate is in

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

22 years agoIt's webmaster, not Webmaster
Bill Stoddard [Wed, 28 Nov 2001 19:52:52 +0000 (19:52 +0000)]
It's webmaster, not Webmaster

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

22 years agoget binbuild.sh working enough to create a binary which serves the It Works!
Greg Ames [Wed, 28 Nov 2001 19:41:07 +0000 (19:41 +0000)]
get binbuild.sh working enough to create a binary which serves the It Works!
page

* change seds for apachectl and httpd*.conf to do the right thing
* use /usr/local/apache2 for the default install directory
* use a shell variable for the above, in case it needs to change again
* use httpd-std.conf in place of httpd.conf.default
* get rid of the httpd -R option in apachectl (not valid in 2.0)
* don't overlay httpd.conf if it already exists (1.3 does this - wtf?!?!)

not done in this commit:

* install manual/ and error/ correctly
* switch to --enable-mods-shared=most now that it works (thanks, aaron!)
* investigate weird behavior when .tar.gz already exists in parent dir
* investigate setting a Group directive that actually works in httpd*.conf

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

22 years agoClarify a little how options work.
Joshua Slive [Wed, 28 Nov 2001 19:19:49 +0000 (19:19 +0000)]
Clarify a little how options work.

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

22 years agoDowngrade the input filtering from a showstopper. No one seems interested
Justin Erenkrantz [Wed, 28 Nov 2001 07:15:53 +0000 (07:15 +0000)]
Downgrade the input filtering from a showstopper.  No one seems interested
in discussing OtherBill and my points at this time, so it can't be a bug
in anyone's rear end.  As stated, the code works for the most part.

And, if we did do another round of filter changes, I'm inclined to see it
happen in 2.1.

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

22 years ago2.0.29 is tagged.
Justin Erenkrantz [Wed, 28 Nov 2001 07:11:44 +0000 (07:11 +0000)]
2.0.29 is tagged.

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

22 years agoCode style changes mock us.
Justin Erenkrantz [Wed, 28 Nov 2001 07:09:58 +0000 (07:09 +0000)]
Code style changes mock us.

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

22 years agoSay what?
Justin Erenkrantz [Wed, 28 Nov 2001 06:34:32 +0000 (06:34 +0000)]
Say what?

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

22 years agocalculate VHostID length at startup rather than request time.
Doug MacEachern [Wed, 28 Nov 2001 05:50:55 +0000 (05:50 +0000)]
calculate VHostID length at startup rather than request time.
change ap_md5() call in ssl_hook_pre_connection() to ap_md5_binary()
that uses the precalculated sc->nVHostID_length to avoid a strlen() call.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoavoid calling ssl_util_vhostid() (and apr_sprintf underneath) at
Doug MacEachern [Wed, 28 Nov 2001 05:44:50 +0000 (05:44 +0000)]
avoid calling ssl_util_vhostid() (and apr_sprintf underneath) at
request time by calling it at startup time and saving the value in the
SSLSrvConfigRec.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoreplace strlen(cpVHostMD5) with MD5_DIGESTSIZE*2 in ssl_hook_pre_connection()
Doug MacEachern [Wed, 28 Nov 2001 05:05:04 +0000 (05:05 +0000)]
replace strlen(cpVHostMD5) with MD5_DIGESTSIZE*2 in ssl_hook_pre_connection()
since we know the string returned by ap_md5() will always be that length
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agouse apr_pstrndup() instead of apr_pstrdup() to avoid a strlen call in
Doug MacEachern [Wed, 28 Nov 2001 05:00:34 +0000 (05:00 +0000)]
use apr_pstrndup() instead of apr_pstrdup() to avoid a strlen call in
ap_md5_binary, since we know the length of the string is always
MD5_DIGESTSIZE * 2
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoremove unused ssl::handshake::timeout references
Doug MacEachern [Wed, 28 Nov 2001 04:31:34 +0000 (04:31 +0000)]
remove unused ssl::handshake::timeout references
(core handles all timeouts)
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoremove setting of ap::{http::method,default::port} r->notes.
Doug MacEachern [Wed, 28 Nov 2001 04:24:07 +0000 (04:24 +0000)]
remove setting of ap::{http::method,default::port} r->notes.
these notes are unused, they handled by hooks.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agomoving chunk of logic that deals with writing ssl data from
Doug MacEachern [Wed, 28 Nov 2001 03:15:41 +0000 (03:15 +0000)]
moving chunk of logic that deals with writing ssl data from
ssl_io_filter_Output() to a new ssl_filter_write() function.
this will make it easier to optimize how we deal with file buckets
than cannot be mmaped.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years ago Yea, sure a message is always good. Note we can't log the exception.
William A. Rowe Jr [Wed, 28 Nov 2001 02:09:46 +0000 (02:09 +0000)]
  Yea, sure a message is always good.  Note we can't log the exception.
  Submitted by John Sterling <sterling@covalent.net>

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

22 years agorecognize the symbols generated by APR_POOL_DECLARE_ACCESSOR() so
Jeff Trawick [Wed, 28 Nov 2001 00:58:12 +0000 (00:58 +0000)]
recognize the symbols generated by APR_POOL_DECLARE_ACCESSOR() so
that exports.c and the .exp files have the necessary references

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

22 years agoimplement a custom BIO which allows us to hook SSL_write directly into
Doug MacEachern [Tue, 27 Nov 2001 23:37:20 +0000 (23:37 +0000)]
implement a custom BIO which allows us to hook SSL_write directly into
an apr_bucket_brigade and use transient buckets with the SSL
malloc-ed buffer, rather than copying into a mem BIO.

also allows us to pass the brigade as data is being written
rather than buffering up the entire response in the mem BIO.

PR:
Obtained from:
Submitted by:
Reviewed by: Justin Erenkrantz, Ryan Bloom

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

22 years agowelcome to .30
Ian Holsman [Tue, 27 Nov 2001 22:14:31 +0000 (22:14 +0000)]
welcome to .30

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

22 years agoabout to tag 29
Ian Holsman [Tue, 27 Nov 2001 22:13:06 +0000 (22:13 +0000)]
about to tag 29

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

22 years agoAbout to tag 29
Ian Holsman [Tue, 27 Nov 2001 22:11:25 +0000 (22:11 +0000)]
About to tag 29

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

22 years agoChange the magic #
Ian Holsman [Tue, 27 Nov 2001 22:07:09 +0000 (22:07 +0000)]
Change the magic #
as we have changed the conn_rec structure
and have change the open_log and post_config hook function
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoAdded an entry for the core_output_filter buffering improvements
Brian Pane [Tue, 27 Nov 2001 16:07:19 +0000 (16:07 +0000)]
Added an entry for the core_output_filter buffering improvements

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

22 years agoAnother performance-related change to core_output_filter(): if we
Brian Pane [Tue, 27 Nov 2001 08:39:02 +0000 (08:39 +0000)]
Another performance-related change to core_output_filter(): if we
get a long stream of small buckets, so that multiple concatenation
steps are required in a single pass through the brigade, re-use the
buckets from the previous temp brigade when creating the next one.
This allows us to avoid making yet another copy of the previously
concatenated data.

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

22 years agoOptimization for core_output_filter: if the iovec is full,
Brian Pane [Tue, 27 Nov 2001 06:35:29 +0000 (06:35 +0000)]
Optimization for core_output_filter: if the iovec is full,
don't try to concatenate buffers if we already have at least
8KB of data ready to send.  Instead, just split the brigade
and send what's currently in the iovec.

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

22 years ago OK... we keep deferring these issues, it's time for a ROADMAP.
William A. Rowe Jr [Tue, 27 Nov 2001 05:19:39 +0000 (05:19 +0000)]
  OK... we keep deferring these issues, it's time for a ROADMAP.

  Jump in everyone.

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

22 years ago Changes by Mladen Turk <mturk@mappingsoft.com>, with dialog touchup by
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

22 years agoinclude mod_charset_lite by default on an ebcdic system
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

22 years agoMore updates of user support info.
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

22 years agoWe must use absolute paths or we break VPATH builds.
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

22 years agoThe survey says yes, that is in fact the expected behavior. :)
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

22 years agoCorrect closing tag for a href.
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

22 years agochange so that it doesn't rely on the structure of the apr_table's elt internal
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

22 years agovery minor tweaks:
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

22 years agoAnother fix for the core_output_filter() code that concatenates
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

22 years agoMore fixes for core_input_filter()'s concatenation of small buckets:
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

22 years agoAdd a link to the new mailing list.
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

22 years agoFix for the code in core_output_filter() that concatenates small buckets
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

22 years ago Reports arrive that some awks are tripped up by an unquoted, unpaired
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

22 years agoFix the installation target to make sure that the manual is
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

22 years agoshort-circuit out of xbithack_handler immediately if xbithack
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

22 years agooptimization: short-circuit out of the mod_actions handler if there are no actions...
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

22 years agooptimized away the sprintf calls in ap_make_etag()
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

22 years agooptimize ap_add_common_vars() for the common case where r->subprocess_env is empty
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

22 years agodon't bother setting the ssl info callback unless SSLLogLevel >= info
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

22 years agoFix the cmd command for mod_include. When we are processing
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

22 years agochange open_logs hook to return a value, allowing you to flag a error
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

22 years agoFix post-config hook to return a int.
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

22 years agofixed declaration mismatch for cgid_init() that was preventing compilation
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

22 years agoFix a bug in the core_output_filter. If we are buffering, it helps
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

22 years agomod_ssl is big and bulky, takes awhile to load, sometimes must wait for
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

22 years agoModify post_config hook so that it can return a error,
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

22 years agomake doxygen stop complianing about some netware specific C calls
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

22 years agoconverted apr_pcalloc to apr_palloc for 15% reduction in run time of add_any_filter
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

22 years agorestructured the conditional logic in ap_merge_per_dir_configs() for faster execution
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

22 years agoreplaced the hash used in add_any_filter() with a trie for 2.5x speedup
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

22 years agoIt's better to dup the apr_mmap_t when we first create it. The result
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

22 years agooptimized away a strlen call in alias_matches()
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

22 years agoadded inlined string concatenation to form_header_field() for speed
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

22 years agominor performance fix for ap_add_common_vars(): replace printf with apr_itoa()
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

22 years agoMention the new --with-suexec-bin parameter.
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

22 years agoAllow SUEXEC_BIN to be defined by the configure script.
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

22 years agoFix link.
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

22 years agoJust some style changes from when I was working on the recent suexec
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

22 years agofix for a segfault that occurred when mod_include was used to deliver files shorter...
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

22 years agofix segv in worker MPM following check_pipe_of_death() call
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

22 years agodont va_start() in ssl_log() unless we are actually going to log something
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

22 years agoavoid a couple of calls to ssl_util_vhostid() and apr_psprintf()
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

22 years agooptimize lookup of ssl-{unclean,accurate}-shutdown flags:
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

22 years agotwo performance improvements:
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

22 years agoreturn from ssl_callback_LogTracingState if sc->nLogLevel < SSL_LOG_INFO
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

22 years agomacros for dumping the list of server_recs
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

22 years agoremove AP_CTX_* macros which are no longer used
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

22 years agoget rid of 'apctx' table that used to live in SSL_get_app_data2(ssl)
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

22 years agomove c->notes.ssl::verify::depth to SSLConnRec.verify_depth
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

22 years agoget rid of SSL_get_app_data2_idx() which had a race condition when
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

22 years agomove c->notes.ssl::verify::{info,error} to SSLConnRec.verify_{info,error}
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

22 years agoAdd mod_deflate (formerly known as mod_gz) to experimental. mod_deflate
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

22 years agoremove test_pass_brigade; it lives in httpd-test not here
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

22 years agocomment out module test_pass_brigade as it doesn't exist
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

22 years agomove c->notes.ssl::flag::{unclean,accurate}-shutdown to SSLConnRec.shutdown_type
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

22 years agoBail out at configure time if an invalid MPM was specified.
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

22 years agoFix a bug in our output filter buffering. If a lot of small brigades are
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