]> granicus.if.org Git - apache/log
apache
22 years agoseparate logic specific to building Apache DSOs from logic needed
Jeff Trawick [Wed, 5 Dec 2001 17:32:52 +0000 (17:32 +0000)]
separate logic specific to building Apache DSOs from logic needed
when anybody's DSOs should be built (e.g., via apxs) so that on a
few platforms with special issues third-party modules can be loaded
as long as mod_so is built into httpd

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

22 years agomutli-dbm patch should remove on of the showstoppers soon
Ian Holsman [Wed, 5 Dec 2001 16:51:50 +0000 (16:51 +0000)]
mutli-dbm patch should remove on of the showstoppers soon

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

22 years agoAdd directory and .htaccess context in mod_env directives.
Joshua Slive [Wed, 5 Dec 2001 16:46:14 +0000 (16:46 +0000)]
Add directory and .htaccess context in mod_env directives.
PR: 8939
Submitted by: Vladimir Terziev <vlady@rila.bg>

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

22 years agoBad link.
Joshua Slive [Wed, 5 Dec 2001 16:14:46 +0000 (16:14 +0000)]
Bad link.
Submitted by: Ryan.King@databuilt.com

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

22 years agohmmm... gcc 2.95.2 on AIX says sizeof is long... fix up
Jeff Trawick [Wed, 5 Dec 2001 15:41:25 +0000 (15:41 +0000)]
hmmm... gcc 2.95.2 on AIX says sizeof is long...  fix up
a printf to always have a match between the format string
and argument

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

22 years agoif compilation is doomed due to lack of thread support, fail
Jeff Trawick [Wed, 5 Dec 2001 15:01:15 +0000 (15:01 +0000)]
if compilation is doomed due to lack of thread support, fail
the compile with a nicer message

(hopefully this is only temporary?)

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

22 years agoBill speaks.
Justin Erenkrantz [Wed, 5 Dec 2001 03:56:19 +0000 (03:56 +0000)]
Bill speaks.

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

22 years agomention an unfortunate issue with make_exports.awk
Jeff Trawick [Wed, 5 Dec 2001 03:22:32 +0000 (03:22 +0000)]
mention an unfortunate issue with make_exports.awk

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

22 years agoAllow apxs to be used to build DSOs on AIX without requiring the
Jeff Trawick [Wed, 5 Dec 2001 03:02:45 +0000 (03:02 +0000)]
Allow apxs to be used to build DSOs on AIX without requiring the
user to hard-code the list of import files.  (This should help
on OS/390 and BeOS as well.)

Trivial change: just stick the value of SH_LDFLAGS on the
libtool --mode=link line.

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

22 years agoFixed check for buffer overrun in ap_rgetline()
Brian Pane [Wed, 5 Dec 2001 01:34:00 +0000 (01:34 +0000)]
Fixed check for buffer overrun in ap_rgetline()

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

22 years agotweak httpd -V output to show the architecture (bits in a pointer)
Jeff Trawick [Tue, 4 Dec 2001 18:36:51 +0000 (18:36 +0000)]
tweak httpd -V output to show the architecture (bits in a pointer)
and whether or not APR_HAS_SENDFILE is defined

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

22 years agoget the declaration for strcasecmp()/strncasecmp() on AIX
Jeff Trawick [Tue, 4 Dec 2001 01:45:46 +0000 (01:45 +0000)]
get the declaration for strcasecmp()/strncasecmp() on AIX

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

22 years agoget prototype for strcasecmp() on AIX
Jeff Trawick [Tue, 4 Dec 2001 01:04:17 +0000 (01:04 +0000)]
get prototype for strcasecmp() on AIX

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

22 years ago Resolved segfault in mod_isapi when configuring with ISAPICacheFile.
William A. Rowe Jr [Mon, 3 Dec 2001 19:46:32 +0000 (19:46 +0000)]
  Resolved segfault in mod_isapi when configuring with ISAPICacheFile.

PR: 8563, 8919

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

22 years agoAdd a sitemap.
Joshua Slive [Mon, 3 Dec 2001 18:19:39 +0000 (18:19 +0000)]
Add a sitemap.

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

22 years agoget binbuild working when apr, apr-util, and expat are built shared in
Greg Ames [Mon, 3 Dec 2001 18:00:04 +0000 (18:00 +0000)]
get binbuild working when apr, apr-util, and expat are built shared in
directories that are not well known to the loader.

How it works:
* libtool figures out the name of this system's library path environment
  variable (i.e. LD_LIBRARY_PATH, LIBPATH, DYLD_LIBRARY_PATH) at apr
  configure time (existing code)
* save this variable name in SHLIBPATH_VAR in APRVARS
* substitute this name when apachectl is created
* uncomment the lines containing this variable during binbuild
* install_bindist.sh updates the path to lib/ when the binary is
  installed (existing code)

not done yet, but a good idea:
* create a file or directory containing all environment variable settings
  for apachectl.  Others env vars need to be tweaked, at least on AIX and
  OS/390, so keeping them separate should reduce headaches long term.

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

22 years agoChange a comment. This change was made to 2.0.29-dev. 2.0.28 had already
Bill Stoddard [Mon, 3 Dec 2001 15:57:02 +0000 (15:57 +0000)]
Change a comment. This change was made to 2.0.29-dev. 2.0.28 had already
gone out the door when this change was made.

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

22 years agoHandle the ? option.
Ben Laurie [Mon, 3 Dec 2001 14:28:39 +0000 (14:28 +0000)]
Handle the ? option.

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

22 years agoget rid of an unused variable
Jeff Trawick [Mon, 3 Dec 2001 12:12:31 +0000 (12:12 +0000)]
get rid of an unused variable

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

22 years agoFix prototype for post_config hook
Cliff Woolley [Mon, 3 Dec 2001 08:36:17 +0000 (08:36 +0000)]
Fix prototype for post_config hook

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

22 years agoFix a typo (?)
Cliff Woolley [Mon, 3 Dec 2001 08:34:55 +0000 (08:34 +0000)]
Fix a typo (?)
One compile error down, several to go.

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

22 years agoOptimization for ap_getparents: skip past all the leading
Brian Pane [Mon, 3 Dec 2001 00:49:28 +0000 (00:49 +0000)]
Optimization for ap_getparents: skip past all the leading
characters of the path that aren't '.' rather than copying
those bytes onto themselves

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

22 years ago[No code changes here, just adding the cvs comment that I messed up in
Brian Pane [Sun, 2 Dec 2001 23:15:54 +0000 (23:15 +0000)]
[No code changes here, just adding the cvs comment that I messed up in
the previous commit]
Added a version of ap_getline() that allocs a buffer from
the request's pool, rather than copying into a caller-supplied
buffer.  (This lets us eliminate one copy operation on the
request headers.)

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

22 years agoAdded a version of ap_getline() that allocs a buffer from
Brian Pane [Sun, 2 Dec 2001 23:13:32 +0000 (23:13 +0000)]
Added a version of ap_getline() that allocs a buffer from
the request's pool, rather than copying into a caller-supplied
buffer.  (This lets us eliminate one copy operation on the
request headers.)

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

22 years agoinclude/http_protocol.h
Brian Pane [Sun, 2 Dec 2001 23:11:12 +0000 (23:11 +0000)]
include/http_protocol.h

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

22 years agoOptimization: replace apr_pstrndup() with apr_pstrmemdup() in
Brian Pane [Sun, 2 Dec 2001 20:38:33 +0000 (20:38 +0000)]
Optimization: replace apr_pstrndup() with apr_pstrmemdup() in
ap_escape_html() to eliminate a redundant scan through the string.

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

22 years agoAdded code to ap_ssi_get_tag_and_value() to avoid converting
Brian Pane [Sun, 2 Dec 2001 19:16:01 +0000 (19:16 +0000)]
Added code to ap_ssi_get_tag_and_value() to avoid converting
SSI tags to lowercase when they're already lowercase (in my
experience, this special case happens often enough to be
worth optimizing)

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

22 years agoAdded faster logic for decodehtml to handle the special case
Brian Pane [Sun, 2 Dec 2001 18:44:06 +0000 (18:44 +0000)]
Added faster logic for decodehtml to handle the special case
where the string being decoded doesn't have any ampersands
in it (e.g., because it's the value for an 'include virtual=...')

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

22 years agoExclude the terminating null byte from the length of
Brian Pane [Sun, 2 Dec 2001 10:33:01 +0000 (10:33 +0000)]
Exclude the terminating null byte from the length of
strings passed to apr_hash_get/apr_hash_set (this matches
the convention used throughout the rest of the httpd,
and it saves a small amount of processing)

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

22 years agoOptimization: changed some apr_pstrndup calls to apr_pstrmemdup
Brian Pane [Sun, 2 Dec 2001 09:51:19 +0000 (09:51 +0000)]
Optimization: changed some apr_pstrndup calls to apr_pstrmemdup

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

22 years agoReduced the number of strlen operations in ap_getword()
Brian Pane [Sun, 2 Dec 2001 05:46:36 +0000 (05:46 +0000)]
Reduced the number of strlen operations in ap_getword()

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

22 years agoModified ap_make_full_path to minimize the number of strlen operations
Brian Pane [Sun, 2 Dec 2001 05:09:51 +0000 (05:09 +0000)]
Modified ap_make_full_path to minimize the number of strlen operations

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

22 years ago Correct case comparison typematch
William A. Rowe Jr [Sun, 2 Dec 2001 01:26:45 +0000 (01:26 +0000)]
  Correct case comparison typematch

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

22 years agoGet shared builds of libapr and libaprutil, as well as Apache DSOs,
Jeff Trawick [Sat, 1 Dec 2001 17:42:18 +0000 (17:42 +0000)]
Get shared builds of libapr and libaprutil, as well as Apache DSOs,
working on AIX.

Submitted by: a cast of many, reverse engineering libtool to
              figure out how to work around its oddities/limitations/
              bugs on AIX
              (Jeff Trawick coded these changes but it took a lot of
              help)

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

22 years agoFix the handling of SSI directives in which the ">" of the
Brian Pane [Sat, 1 Dec 2001 05:38:23 +0000 (05:38 +0000)]
Fix the handling of SSI directives in which the ">" of the
terminating "-->" is the last byte in a file (previously,
the output of the directive was lost in this case).

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

22 years agofix mod_actions.exp, which got broken when we sanitized the names of
Jeff Trawick [Sat, 1 Dec 2001 04:16:32 +0000 (04:16 +0000)]
fix mod_actions.exp, which got broken when we sanitized the names of
the module structures

add mod_vhost_alias.exp

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

22 years agoadd some new .exp files for AIX so these modules can be
Jeff Trawick [Sat, 1 Dec 2001 03:36:08 +0000 (03:36 +0000)]
add some new .exp files for AIX so these modules can be
built as DSOs

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

22 years agofix a couple of .exp files that broke when we sanitized the names
Jeff Trawick [Sat, 1 Dec 2001 03:35:00 +0000 (03:35 +0000)]
fix a couple of .exp files that broke when we sanitized the names
of the module structures

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

22 years agoremove churn_output() function and calls to it.
Doug MacEachern [Sat, 1 Dec 2001 02:11:04 +0000 (02:11 +0000)]
remove churn_output() function and calls to it.
when SSL needs to flush (e.g. during SSL_accept()) it will call BIO_flush()
which will trigger a call to bio_bucket_ctrl() -> BIO_bucket_flush().
so we only need to flush the output ourselves if we receive an EOS or
FLUSH bucket.

BIO_bucket_flush() and churn_output() had been turning up near the top
of the profile with gprof.  churn_output() of course has now vanished
and BIO_bucket_flush() has dropped, being called far less than before.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agouse our standard declaration macro for the AP_DEBUG flavors of
Jeff Trawick [Sat, 1 Dec 2001 02:09:00 +0000 (02:09 +0000)]
use our standard declaration macro for the AP_DEBUG flavors of
ap_strchr(), ap_strchr_c(), et al so that for an AP_DEBUG build
of Apache those functions will be listed in httpd.exp...  otherwise,
AIX DSO modules also compiled with AP_DEBUG won't be able to resolve
those symbols since httpd isn't exporting them

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

22 years agofix a potential thread safety issue in mod_mime_magic
Jeff Trawick [Sat, 1 Dec 2001 01:22:01 +0000 (01:22 +0000)]
fix a potential thread safety issue in mod_mime_magic
(but to be honest I have no idea whether or not this path is
ever used... it seems quite bizarre)

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

22 years agoSync'ed the NetWare export AWK script to the Unix script
Bradley Nicholes [Fri, 30 Nov 2001 22:29:41 +0000 (22:29 +0000)]
Sync'ed the NetWare export AWK script to the Unix script

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

22 years agoexport file for mod_cgid...
Jeff Trawick [Fri, 30 Nov 2001 21:46:27 +0000 (21:46 +0000)]
export file for mod_cgid...

this isn't the only one needed, but somebody needed this one...
I'll take a few minutes sometime soon and see which others we
need

Submitted by: Dick Dunbar (RLDunbar@pacbell.net)

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

22 years agoGot rid of an annoying uninitialized variable compiler warning
Bradley Nicholes [Fri, 30 Nov 2001 19:17:47 +0000 (19:17 +0000)]
Got rid of an annoying uninitialized variable compiler warning

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

22 years agoSwitched to a NetWare version of APU.h
Bradley Nicholes [Fri, 30 Nov 2001 19:07:09 +0000 (19:07 +0000)]
Switched to a NetWare version of APU.h

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

22 years agocopy the lib/ directory when installing a binary.
Greg Ames [Fri, 30 Nov 2001 15:35:22 +0000 (15:35 +0000)]
copy the lib/ directory when installing a binary.

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

22 years ago Ensure we include path_info in ap_internal_fast_redirect() for multiview
William A. Rowe Jr [Fri, 30 Nov 2001 05:29:40 +0000 (05:29 +0000)]
  Ensure we include path_info in ap_internal_fast_redirect() for multiview
  mapping.  This isn't the end of these bugs, only one puzzle piece.

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

22 years ago Ingorance is bliss
William A. Rowe Jr [Fri, 30 Nov 2001 02:50:05 +0000 (02:50 +0000)]
  Ingorance is bliss

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

22 years agoOnly let the "suEXEC enabled" message be printed once, even when we
Aaron Bannert [Fri, 30 Nov 2001 01:18:25 +0000 (01:18 +0000)]
Only let the "suEXEC enabled" message be printed once, even when we
have a DSO that goes through the load-unload-load cycle.

Suggested by: Ryan Morgan <rmorgan@covalent.net>, Cliff Woolley

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

22 years agoAdd back in the "suEXEC mechanism enabled (wrapper: /path/to/suexec)"
Aaron Bannert [Thu, 29 Nov 2001 23:34:09 +0000 (23:34 +0000)]
Add back in the "suEXEC mechanism enabled (wrapper: /path/to/suexec)"
message that we had back in apache-1.3 and is still scattered throughout
our docs.

Unfortunately, when mod_suexec is a DSO we're going to get this thing
twice in our logs. I believe as a side effect of the load-unload-load
cycles of our DSOs we're losing the static data segment, which is where
the "didn't we already report this" flag lives.

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

22 years agor->headers_in is shared by original requests and components (make no sense
Ian Holsman [Thu, 29 Nov 2001 21:09:31 +0000 (21:09 +0000)]
r->headers_in is shared by original requests and components (make no sense
copy them for components), but each component has its own r->pool.
So once the first component set "Max-Forwards", it is in headers_in
but the value could get lost with the first component's r->pool.
Hence I sometimes see "Max-Forwards" has value like letter "l".
Change it to use apr_table_set() fixed the problem.

Submitted by: Jin Hong <jinh@cnet.com>

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

22 years agoinstall our manual in the new location
Greg Ames [Thu, 29 Nov 2001 14:18:06 +0000 (14:18 +0000)]
install our manual in the new location

also, pick up an edit I missed last time around...whoops!

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

22 years ago"totalcon / requests" is no longer double either, so %5e doesn't fly
Jeff Trawick [Thu, 29 Nov 2001 11:30:57 +0000 (11:30 +0000)]
"totalcon / requests" is no longer double either, so %5e doesn't fly

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

22 years ago Finish undoing that last patch... previous commit simply cleaned it up,
William A. Rowe Jr [Thu, 29 Nov 2001 07:30:49 +0000 (07:30 +0000)]
  Finish undoing that last patch... previous commit simply cleaned it up,
  I was working with an unsaved verison when I pushed the button.

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

22 years agoget rid of warning introduced by previous patch
Doug MacEachern [Thu, 29 Nov 2001 07:30:30 +0000 (07:30 +0000)]
get rid of warning introduced by previous patch

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

22 years ago Revert my last patch to detect a 'leftover' arg. Apparently there is
William A. Rowe Jr [Thu, 29 Nov 2001 07:27:57 +0000 (07:27 +0000)]
  Revert my last patch to detect a 'leftover' arg.  Apparently there is
  no way to distinguish between an extra arg, and a -x foo arg, or else
  our getopt is broken at the moment.

  I can't dig further into getopt right now, so this will wait for another
  day or another hacker to resolve.

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

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