]> granicus.if.org Git - apache/log
apache
23 years agoWhen no specific location of openssl is given, we need to check the
Roy T. Fielding [Tue, 8 May 2001 04:42:26 +0000 (04:42 +0000)]
When no specific location of openssl is given, we need to check the
places where people install upgraded software first, since otherwise
we will get the older versions installed by the OS distribution.  That's
very bad for us because we are requiring a version of openssl that is
more recent than most of the Linux distros.

When finding the openssl helper program, check both the PATH and the default
install dirs, since openssl isn't normally included on a user's path.

Use APR_ADDTO to add to the make macros in order to avoid duplicates.

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

23 years agoShut the compiler up.
Victor J. Orlikowski [Mon, 7 May 2001 20:02:39 +0000 (20:02 +0000)]
Shut the compiler up.

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

23 years agoget the MPMs consistent w.r.t. visibility of ap_max_requests_per_child
Jeff Trawick [Mon, 7 May 2001 18:41:57 +0000 (18:41 +0000)]
get the MPMs consistent w.r.t. visibility of ap_max_requests_per_child

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

23 years agofix some generation logic/displays in mod_status by setting
Jeff Trawick [Mon, 7 May 2001 17:55:01 +0000 (17:55 +0000)]
fix some generation logic/displays in mod_status by setting
the generation field in parent_score

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

23 years agoJeff fixed this...
Cliff Woolley [Mon, 7 May 2001 16:59:05 +0000 (16:59 +0000)]
Jeff fixed this...

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

23 years agominor scoreboard/status improvements:
Jeff Trawick [Mon, 7 May 2001 16:24:14 +0000 (16:24 +0000)]
minor scoreboard/status improvements:
. get the SS field in extended status output formatted correctly
  (seconds since beginning of request shouldn't be a huge
  negative number :) )
. use APR_OS_PID_T_FMT and pid_t where appropriate in mod_status
  to avoid casting, some of which may have been broken on some
  architectures

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

23 years agoGet rid of some Apache 1.x OPTIMIZE_TIMEOUTS cruft. Other logic
Jeff Trawick [Mon, 7 May 2001 15:49:42 +0000 (15:49 +0000)]
Get rid of some Apache 1.x OPTIMIZE_TIMEOUTS cruft.  Other logic
in 1.3 which used this stuff would send SIGALRM to children in
certain circumstances.

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

23 years agoGet mod_cern_meta to work on Windows. The problem was in the
Bill Stoddard [Mon, 7 May 2001 14:03:59 +0000 (14:03 +0000)]
Get mod_cern_meta to work on Windows.  The problem was in the
"skip leading slash" logic, which is inheriently broken on Windows
because full Windows filenames begin with a drive letter or UNC
path.

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

23 years agofix the type of a parameter to ap_get_brigade()
Jeff Trawick [Mon, 7 May 2001 10:01:31 +0000 (10:01 +0000)]
fix the type of a parameter to ap_get_brigade()

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

23 years agoCrikey.
Chuck Murcko [Mon, 7 May 2001 02:47:51 +0000 (02:47 +0000)]
Crikey.

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

23 years agoSeems to be an inconsistency in the code with regard to the mod_include
Joshua Slive [Mon, 7 May 2001 00:44:33 +0000 (00:44 +0000)]
Seems to be an inconsistency in the code with regard to the mod_include
magic types.

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

23 years agoBring the mod_include docs up to scratch and link up the ssi tutorial.
Joshua Slive [Mon, 7 May 2001 00:42:21 +0000 (00:42 +0000)]
Bring the mod_include docs up to scratch and link up the ssi tutorial.

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

23 years agoBack out the recent change to ap_get_brigade, to make it use indirection
Ryan Bloom [Sun, 6 May 2001 23:27:14 +0000 (23:27 +0000)]
Back out the recent change to ap_get_brigade, to make it use indirection
again.  The problem is that the amount of data read from the network,
is not necessarily the amount of data returned from the filters.  It is
possible for input filters to add bytes to the data read from the network.

To fix the original bug, I just removed the line from ap_get_client_block
that decremented r->remaining, we allow the http_filter to do that for
us.

I have also removed an incorrect comment.

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

23 years agoSomething got deleted from the module structure.
Ben Laurie [Sun, 6 May 2001 17:34:38 +0000 (17:34 +0000)]
Something got deleted from the module structure.

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

23 years agoAdd a demo input filter.
Ben Laurie [Sun, 6 May 2001 17:08:06 +0000 (17:08 +0000)]
Add a demo input filter.

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

23 years agoTrack Greg's change to byte count for input filters
Chuck Murcko [Sun, 6 May 2001 10:59:22 +0000 (10:59 +0000)]
Track Greg's change to byte count for input filters

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

23 years agoForgot one file when adding mod_cgid.
Joshua Slive [Sun, 6 May 2001 05:08:56 +0000 (05:08 +0000)]
Forgot one file when adding mod_cgid.

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

23 years agoUpdate some CGI docs:
Joshua Slive [Sun, 6 May 2001 05:08:01 +0000 (05:08 +0000)]
Update some CGI docs:
- add docs for mod_cgid
- link up the CGI tutorial brought forward from 1.3

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

23 years agoFix todo list
Ralf S. Engelschall [Sat, 5 May 2001 21:04:24 +0000 (21:04 +0000)]
Fix todo list

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

23 years agoPort ssl_util.c stuff to APR.
Ralf S. Engelschall [Sat, 5 May 2001 21:02:22 +0000 (21:02 +0000)]
Port ssl_util.c stuff to APR.

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

23 years agoPort ssl_util_table.[ch] to Apache 2.0 by just removing all platform
Ralf S. Engelschall [Sat, 5 May 2001 20:19:35 +0000 (20:19 +0000)]
Port ssl_util_table.[ch] to Apache 2.0 by just removing all platform
depended code (table_read, table_write). This is possible because this
table library is local to mod_ssl and inside mod_ssl this library is
used for manipulating hash tables inside shared memory segments only. So
we can just get rid of the unportable parts at all.

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

23 years agoPort ssl_util_ssl.[ch] stuff to APR.
Ralf S. Engelschall [Sat, 5 May 2001 20:11:04 +0000 (20:11 +0000)]
Port ssl_util_ssl.[ch] stuff to APR.

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

23 years agoSunny and 11c in Vancouver.
Joshua Slive [Sat, 5 May 2001 20:00:15 +0000 (20:00 +0000)]
Sunny and 11c in Vancouver.

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

23 years agoUse different namespace for internal defines.
Ralf S. Engelschall [Sat, 5 May 2001 19:56:17 +0000 (19:56 +0000)]
Use different namespace for internal defines.

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

23 years agoPort ssl_engine_ds.c to APR.
Ralf S. Engelschall [Sat, 5 May 2001 19:53:00 +0000 (19:53 +0000)]
Port ssl_engine_ds.c to APR.

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

23 years agoNothing to port for ssl_engine_dh.c except that
Ralf S. Engelschall [Sat, 5 May 2001 19:39:48 +0000 (19:39 +0000)]
Nothing to port for ssl_engine_dh.c except that
SSL_LIBRARY_VERSION has to be already available.

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

23 years agoRemember which code parts are already ported...
Ralf S. Engelschall [Sat, 5 May 2001 19:23:01 +0000 (19:23 +0000)]
Remember which code parts are already ported...

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

23 years agoExplain the difference between the Apache environment and
Joshua Slive [Sat, 5 May 2001 19:20:19 +0000 (19:20 +0000)]
Explain the difference between the Apache environment and
the OS environment.

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

23 years agoKick out all old mutex code and base SSLMutex on APR locks.
Ralf S. Engelschall [Sat, 5 May 2001 19:09:37 +0000 (19:09 +0000)]
Kick out all old mutex code and base SSLMutex on APR locks.

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

23 years agoChange mostly all old module structure hooks and EAPI hooks to
Ralf S. Engelschall [Sat, 5 May 2001 16:55:28 +0000 (16:55 +0000)]
Change mostly all old module structure hooks and EAPI hooks to
ap_hook_xxx equivalents. More work has to be done here to clean all this
up and reduce to a minimum...

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

23 years agoAxe writev(2) support from the SSL I/O layer because in Apache 2.0 we no
Ralf S. Engelschall [Sat, 5 May 2001 16:47:32 +0000 (16:47 +0000)]
Axe writev(2) support from the SSL I/O layer because in Apache 2.0 we no
longer handle the bottom line of I/O ourself. Additionally this again
simplifies mod_ssl's I/O part for later transition to mod_tls's approach
with buckets.

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

23 years agoAxe most WIN32 stuff from Apache 1.3. In Apache 2.0 we either use APR
Ralf S. Engelschall [Sat, 5 May 2001 16:35:18 +0000 (16:35 +0000)]
Axe most WIN32 stuff from Apache 1.3. In Apache 2.0 we either use APR
later for this or we don't do it at all. But we certainly no longer want
to see any platform specific things inside a module.

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

23 years agoAxe out SSL_CONSERVATIVE stuff which for Apache 1.3 did I/O data
Ralf S. Engelschall [Sat, 5 May 2001 16:23:00 +0000 (16:23 +0000)]
Axe out SSL_CONSERVATIVE stuff which for Apache 1.3 did I/O data
pre-sucking on POST requests and I/O re-injection in case of SSL
renegotiations. This all either cannot be solved any longer or at least
has to be implemented totally different through I/O layering/filtering.

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

23 years agoRemove one more EAPI-based thing we no longer really need.
Ralf S. Engelschall [Sat, 5 May 2001 16:02:33 +0000 (16:02 +0000)]
Remove one more EAPI-based thing we no longer really need.

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

23 years agoremove remaining references to compat and sdbm
Ralf S. Engelschall [Sat, 5 May 2001 15:32:46 +0000 (15:32 +0000)]
remove remaining references to compat and sdbm

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

23 years agocompat and local sdbm stuff is already gone
Ralf S. Engelschall [Sat, 5 May 2001 15:31:36 +0000 (15:31 +0000)]
compat and local sdbm stuff is already gone

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

23 years agoAxe out SSL_USE_SDBM stuff, i.e., get rid of the local SDBM copy and use
Ralf S. Engelschall [Sat, 5 May 2001 15:26:06 +0000 (15:26 +0000)]
Axe out SSL_USE_SDBM stuff, i.e., get rid of the local SDBM copy and use
APR's DBM API instead. The remaining question just is whether APR's DBM
allows "larger" things like SSL sessions to be stored...

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

23 years agoAxe out the complete SSL_COMPAT stuff. Because Apache 2.0 is already
Ralf S. Engelschall [Sat, 5 May 2001 15:10:58 +0000 (15:10 +0000)]
Axe out the complete SSL_COMPAT stuff. Because Apache 2.0 is already
incompatible at many places to Apache 1.3 we also don't want this stuff
anymore. Apache 2.0's mod_ssl will be mostly compatibile with Apache
1.3's mod_ssl, of course. But we really no longer want to be compatible
to Sioux and other obsolete SSL things...

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

23 years agoStart writing down incompatibilities to mod_ssl 2.x from Apache 1.3.
Ralf S. Engelschall [Sat, 5 May 2001 15:06:35 +0000 (15:06 +0000)]
Start writing down incompatibilities to mod_ssl 2.x from Apache 1.3.
Our general goal is to axe down mod_ssl to a minimum, because what we
don't have anymore we don't have to port and as simpler mod_ssl becomes.
Nevertheless we will try to minimize incompatibilities if possible.

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

23 years agoAxe out EAPI-based SSL_VENDOR stuff.
Ralf S. Engelschall [Sat, 5 May 2001 15:02:13 +0000 (15:02 +0000)]
Axe out EAPI-based SSL_VENDOR stuff.
If we want this later again, we have to do it differently anyway. So,
for now we try to strip down mod_ssl as heavy as possible and hence we
kick out this stuff at all.

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

23 years agoFinalize the build environment by integrating the last thing (the
Ralf S. Engelschall [Sat, 5 May 2001 13:21:54 +0000 (13:21 +0000)]
Finalize the build environment by integrating the last thing (the
lex/yacc stuff) into Makefile.in and getting rid of the old Apache 1.3
Makefile.tmpl file.

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

23 years agoFix a bug in the input handling. ap_http_filter() was modifying *readbytes
Greg Stein [Sat, 5 May 2001 11:18:01 +0000 (11:18 +0000)]
Fix a bug in the input handling. ap_http_filter() was modifying *readbytes
which corresponded to r->remaining (in ap_get_client_block). However,
ap_get_client_block was *also* adjusting r->remaining. Net result was that
PUT (and probably POST) was broken. (at least on large inputs)

To fix it, I simply removed the indirection on "readbytes" for input
filters. There is no reason for them to return data (the brigade length is
the return length). This also simplifies a number of calls where people
needed to do &zero just to pass zero.

I also added a number of comments about operations and where things could be
improved, or are (semi) broken.

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

23 years agoclarify the use of some of the members of the dav_provider structure.
Greg Stein [Sat, 5 May 2001 11:06:27 +0000 (11:06 +0000)]
clarify the use of some of the members of the dav_provider structure.

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

23 years agoNext step in mod_ssl integration:
Ralf S. Engelschall [Sat, 5 May 2001 10:12:08 +0000 (10:12 +0000)]
Next step in mod_ssl integration:
Add missing files to build environment.

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

23 years agoActivate the command_rec structure.
Ralf S. Engelschall [Sat, 5 May 2001 09:58:04 +0000 (09:58 +0000)]
Activate the command_rec structure.

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

23 years agoUpdate file description list.
Ralf S. Engelschall [Sat, 5 May 2001 09:31:25 +0000 (09:31 +0000)]
Update file description list.

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

23 years agoGet rid of libssl.modules and libssl.version. libssl.version we
Ralf S. Engelschall [Sat, 5 May 2001 09:30:21 +0000 (09:30 +0000)]
Get rid of libssl.modules and libssl.version. libssl.version we
no longer need, because mod_ssl no longer has its own version.
libssl.modules is now more or less (except for the old custom Apache 1.3
configuration rules) replaced by the Autoconf based config.m4.

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

23 years agoIntegrate mod_ssl into the Autoconf facility.
Ralf S. Engelschall [Sat, 5 May 2001 09:25:52 +0000 (09:25 +0000)]
Integrate mod_ssl into the Autoconf facility.
(currently only stub files are compiled)

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

23 years agoMove the AC_MSG_CHECKING into the module-specific macro to make sure the
Ralf S. Engelschall [Sat, 5 May 2001 08:27:39 +0000 (08:27 +0000)]
Move the AC_MSG_CHECKING into the module-specific macro to make sure the
output is generated in sync with the AC_MSG_RESULT.

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

23 years agoCosmetics: align the entry of MPMs in "configure --help" output
Ralf S. Engelschall [Sat, 5 May 2001 08:02:17 +0000 (08:02 +0000)]
Cosmetics: align the entry of MPMs in "configure --help" output

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

23 years agoAllow mod_tls and mod_ssl coexists without interfering each other by
Ralf S. Engelschall [Sat, 5 May 2001 07:58:15 +0000 (07:58 +0000)]
Allow mod_tls and mod_ssl coexists without interfering each other by
renaming the --with-ssl option of mod_tls to --with-tls. This way we can
use --enable-ssl/--with-ssl for mod_ssl and --enable-tls/--with-tls for
mod_tls.

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

23 years agoadjust file list for removed files, too.
Ralf S. Engelschall [Fri, 4 May 2001 22:28:51 +0000 (22:28 +0000)]
adjust file list for removed files, too.

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

23 years agoGet rid of the first pair of files which are no longer used.
Ralf S. Engelschall [Fri, 4 May 2001 22:26:16 +0000 (22:26 +0000)]
Get rid of the first pair of files which are no longer used.

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

23 years agomod_ssl integration step 2:
Ralf S. Engelschall [Fri, 4 May 2001 22:21:17 +0000 (22:21 +0000)]
mod_ssl integration step 2:
transfer copyright of all code to ASF by using Apache Software License v1.1

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

23 years agoResolve conflicts after import.
Ralf S. Engelschall [Fri, 4 May 2001 22:07:34 +0000 (22:07 +0000)]
Resolve conflicts after import.

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

23 years agoInitial revision
Ralf S. Engelschall [Fri, 4 May 2001 21:54:25 +0000 (21:54 +0000)]
Initial revision

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

23 years agoadd some more analysis for a couple of current problems...
Jeff Trawick [Fri, 4 May 2001 18:49:28 +0000 (18:49 +0000)]
add some more analysis for a couple of current problems...

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

23 years agoBuild (and do so cleanly) when !APR_HAS_OTHER_CHILD.
Jeff Trawick [Fri, 4 May 2001 18:42:51 +0000 (18:42 +0000)]
Build (and do so cleanly) when !APR_HAS_OTHER_CHILD.

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

23 years agoRemove useless cruft.
Joshua Slive [Fri, 4 May 2001 00:01:18 +0000 (00:01 +0000)]
Remove useless cruft.

Submitted by: Roy Fielding

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

23 years agoanother nit caught by C::Scan: change request_rec param name from 's' to 'r' in ap_lo...
Doug MacEachern [Thu, 3 May 2001 23:39:43 +0000 (23:39 +0000)]
another nit caught by C::Scan: change request_rec param name from 's' to 'r' in ap_log_rerror()

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

23 years agoConversion to XHTML.
Joshua Slive [Thu, 3 May 2001 22:33:41 +0000 (22:33 +0000)]
Conversion to XHTML.
The plan is to continue converting the rest of the docs to XHTML, so if you
have any objections, please voice them now on apache-docs.

Submitted by: James Sutherland <jas88@cam.ac.uk>
Reviewed by: Joshua Slive, William A. Rowe, Jr.

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

23 years ago A couple of new options for sysadmins. Still waiting on opinions between
William A. Rowe Jr [Thu, 3 May 2001 04:30:36 +0000 (04:30 +0000)]
  A couple of new options for sysadmins.  Still waiting on opinions between
  replacing the image on docroot/index.html.* with 2.0, or 2.0 animated.

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

23 years ago Damnable casts
William A. Rowe Jr [Thu, 3 May 2001 04:15:21 +0000 (04:15 +0000)]
  Damnable casts

Submitted by:  Jessie Oberreuter <jessieo@westside.com>

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

23 years agoSet the conn_rec->aborted flag when we detect a whacked connection on the
Bill Stoddard [Wed, 2 May 2001 20:15:56 +0000 (20:15 +0000)]
Set the conn_rec->aborted flag when we detect a whacked connection on the
write path.

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

23 years agoAdd a missing backslash in the install-other code so that the httpd.dll
Jeff Trawick [Wed, 2 May 2001 19:09:21 +0000 (19:09 +0000)]
Add a missing backslash in the install-other code so that the httpd.dll
logic isn't displayed.

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

23 years agosimplify the MaxRequestPerChild logic in worker_thread's hot path
Greg Ames [Wed, 2 May 2001 17:46:34 +0000 (17:46 +0000)]
simplify the MaxRequestPerChild logic in worker_thread's hot path

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

23 years agoPrevent a hang when a cgi handled by mod_cgid tries to read a
Jeff Trawick [Wed, 2 May 2001 16:58:21 +0000 (16:58 +0000)]
Prevent a hang when a cgi handled by mod_cgid tries to read a
request body from its stdin but no reqest body is being written to
the cgi.

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

23 years agomod_log_config: %c connection status incorrectly logged
Bill Stoddard [Wed, 2 May 2001 13:37:22 +0000 (13:37 +0000)]
mod_log_config: %c connection status incorrectly logged
as "-" (non-keepalive) when MaxKeepAliveRequests is set to 0.

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

23 years agoaccount for the recent apr_pool_*abort changes
Jeff Trawick [Wed, 2 May 2001 02:27:29 +0000 (02:27 +0000)]
account for the recent apr_pool_*abort changes

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

23 years agoFix the logic for saving data onto the heap before sending it. Basically,
Ryan Bloom [Tue, 1 May 2001 21:59:26 +0000 (21:59 +0000)]
Fix the logic for saving data onto the heap before sending it.  Basically,
we have to use nbytes+flen when figuring out how much data we have,
and when looking at the fact that we have a buffer to save aside before
sending it, we also need to look at the length, to ensure that we aren't
saving too much.
Submitted by: Bill Stoddard and Ryan Bloom

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

23 years agoFixed a problem with directory listing corruption in the
Graham Leggett [Tue, 1 May 2001 21:30:07 +0000 (21:30 +0000)]
Fixed a problem with directory listing corruption in the
PROXY_DIR filter.
PR:
Obtained from:
Reviewed by:

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

23 years agoAP_MIN_BYTES_TO_WRITE currently equals APR_BUCKET_BUFF_SIZE, so we
Ryan Bloom [Tue, 1 May 2001 19:40:14 +0000 (19:40 +0000)]
AP_MIN_BYTES_TO_WRITE currently equals APR_BUCKET_BUFF_SIZE, so we
have to use <=

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

23 years agoAdd a comment about an assumption we make in our keepalive buffering.
Greg Stein [Tue, 1 May 2001 18:43:09 +0000 (18:43 +0000)]
Add a comment about an assumption we make in our keepalive buffering.

Delay the check for "too many items in an iovec" until we actually try to
put something in there. This allows that N+1 bucket to be an EOS, FLUSH,
FILE, or zero-length bucket without triggering a split. Only if that next
bucket has iovec data will a split be made.

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

23 years agoInitialize a local variable to prevent a gcc warning about
Jeff Trawick [Tue, 1 May 2001 11:17:07 +0000 (11:17 +0000)]
Initialize a local variable to prevent a gcc warning about
possible use before set.  The code was fine but it is best
to keep gcc quiet lest we stop paying attention.

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

23 years agodocument my understanding of why the pipe_of_death_mutex is a Good Thing
Greg Ames [Mon, 30 Apr 2001 19:24:24 +0000 (19:24 +0000)]
document my understanding of why the pipe_of_death_mutex is a Good Thing

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

23 years agofix my APR_STATUS_IS_EAGAIN() usage
Jeff Trawick [Mon, 30 Apr 2001 11:23:51 +0000 (11:23 +0000)]
fix my APR_STATUS_IS_EAGAIN() usage
Submitted by: Bernhard Schrenk <b.schrenk@improx.com>

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

23 years agoC::Scan strikes again; include argument name in ap_invoke_handler prototype
Doug MacEachern [Mon, 30 Apr 2001 06:04:33 +0000 (06:04 +0000)]
C::Scan strikes again; include argument name in ap_invoke_handler prototype

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

23 years agoCreate Files, and thus MMAPs, out of the request pool, not the
Ryan Bloom [Sun, 29 Apr 2001 17:05:49 +0000 (17:05 +0000)]
Create Files, and thus MMAPs, out of the request pool, not the
connection pool.  This solves a small resource leak that had us
not closing files until a connection was closed.  In order to do
this, at the end of the core_output_filter, we loop through the
brigade and convert any data we have into a single HEAP bucket
that we know will survive clearing the request_rec.

Submitted by: Ryan Bloom, Justin Erenkrantz <jerenkrantz@ebuilt.com>,
                Cliff Woolley

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

23 years agoOS/2: fix "make install" to install shared core & programs with a .exe
Brian Havard [Sun, 29 Apr 2001 08:25:52 +0000 (08:25 +0000)]
OS/2: fix "make install" to install shared core & programs with a .exe
extension.

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

23 years agoRemove some obsolete macros and rename one that wasn't name protected.
Roy T. Fielding [Sun, 29 Apr 2001 06:45:35 +0000 (06:45 +0000)]
Remove some obsolete macros and rename one that wasn't name protected.

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

23 years agoAll of this stuff about apxs is bogus right now -- does anyone feel
Roy T. Fielding [Sun, 29 Apr 2001 05:30:21 +0000 (05:30 +0000)]
All of this stuff about apxs is bogus right now -- does anyone feel
inclined to update apxs?

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

23 years agoCompletely revamp configure so that it preserves the standard make
Roy T. Fielding [Sun, 29 Apr 2001 05:24:11 +0000 (05:24 +0000)]
Completely revamp configure so that it preserves the standard make
variables CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS and LIBS by moving
the configure additions to EXTRA_* variables.  Also, allow the user
to specify NOTEST_* values for all of the above, which eliminates the
need for THREAD_CPPFLAGS, THREAD_CFLAGS, and OPTIM.  Fix the setting
of INCLUDES and EXTRA_INCLUDES.  Check flags as they are added to
avoid pointless duplications.  Fix the order in which flags are given
on the compile and link lines.

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

23 years ago Pass the perms arg to apr_dbm_open
William A. Rowe Jr [Sat, 28 Apr 2001 00:26:38 +0000 (00:26 +0000)]
  Pass the perms arg to apr_dbm_open

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

23 years agothreaded and prefork mpms are properly handling SIGTERM now; woohoo!
Doug MacEachern [Fri, 27 Apr 2001 21:10:39 +0000 (21:10 +0000)]
threaded and prefork mpms are properly handling SIGTERM now; woohoo!

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

23 years agobacking out this part of the recent apxs change
Doug MacEachern [Fri, 27 Apr 2001 20:57:38 +0000 (20:57 +0000)]
backing out this part of the recent apxs change
otherwise `apxs -q INCLUDEDIR' is broken using the default layout
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoAllow module names to be hyphenated in the --enable-mods-shared
Jeff Trawick [Fri, 27 Apr 2001 18:29:11 +0000 (18:29 +0000)]
Allow module names to be hyphenated in the --enable-mods-shared
argument.  Previously, we passed through a user-specified hyphen into
the name of the shell variable, yielding an invalid variable name.

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

23 years agoGet mod_tls to compile/work better on Windows.
Jeff Trawick [Fri, 27 Apr 2001 18:02:21 +0000 (18:02 +0000)]
Get mod_tls to compile/work better on Windows.

PR:           7612
Submitted by: Bernhard Schrenk <b.schrenk@improx.com>
Reviewed by:  Jeff Trawick

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

23 years agoDate the 2.0.17 roll
Bill Stoddard [Fri, 27 Apr 2001 15:54:22 +0000 (15:54 +0000)]
Date the 2.0.17 roll

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

23 years agoFix APXS: treat sbindir as expected, fix "link" command.
Martin Kraemer [Fri, 27 Apr 2001 15:30:21 +0000 (15:30 +0000)]
Fix APXS: treat sbindir as expected, fix "link" command.

Submitted by: GOMEZ Henri <hgomez@slib.fr>

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

23 years agoPrevent a core dump (openssl_state_machine.c is completely infected with
Martin Kraemer [Fri, 27 Apr 2001 15:16:41 +0000 (15:16 +0000)]
Prevent a core dump (openssl_state_machine.c is completely infected with
assert()s in place of sensible error handling) when a server-root-relative
certificate path is given (which is what most users are going to try first).
  assertion "n > 0" failed: file "openssl_state_machine.c", line 142
That does NOT fix the openssl_state_machine.c though., So, never try to
use invalid certs, missing keys or other fancy "1st time user" stuff.

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

23 years agoNot that it matters, but the compiler complains (suggest parentheses around ...)
Martin Kraemer [Fri, 27 Apr 2001 14:41:54 +0000 (14:41 +0000)]
Not that it matters, but the compiler complains (suggest parentheses around ...)
and we had a coding style once.

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

23 years agoThis is C, not C++ (yet ;-).
Martin Kraemer [Fri, 27 Apr 2001 12:25:42 +0000 (12:25 +0000)]
This is C, not C++ (yet ;-).

Submitted by: Jean-Frederic Clere <JFrederic.Clere@fujitsu-siemens.com>

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

23 years agoAdd the 'last-modified' field and details on the translation status..
Ken Coar [Fri, 27 Apr 2001 11:42:11 +0000 (11:42 +0000)]
Add the 'last-modified' field and details on the translation status..

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

23 years agoMove the STATUS file to the top of the tree
Ken Coar [Fri, 27 Apr 2001 10:52:05 +0000 (10:52 +0000)]
Move the STATUS file to the top of the tree

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

23 years agoSearch for OpenSSL in the "standard locations" .../include and .../lib
Martin Kraemer [Fri, 27 Apr 2001 08:41:01 +0000 (08:41 +0000)]
Search for OpenSSL in the "standard locations" .../include and .../lib
which are ubiquitous after openSSL's "make install". The old logic relied
on a common directory for both include files and libraries (very non-standard).

Submitted by: Clere Jean-Frederic <JFrederic.Clere@fujitsu-siemens.com>

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

23 years agofast-path some cases, primarily to avoid an allocation when it isn't needed.
Greg Stein [Fri, 27 Apr 2001 05:27:00 +0000 (05:27 +0000)]
fast-path some cases, primarily to avoid an allocation when it isn't needed.
for a "nice" piece of cdata which is in one chunk, this can usually avoid an
allocation.

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

23 years agonote a problem with cgid cleanup, even with Greg's latest commit to
Jeff Trawick [Thu, 26 Apr 2001 19:08:55 +0000 (19:08 +0000)]
note a problem with cgid cleanup, even with Greg's latest commit to
threaded

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

23 years agoFix shutdown/restart hangs in the threaded MPM.
Greg Ames [Thu, 26 Apr 2001 18:52:29 +0000 (18:52 +0000)]
Fix shutdown/restart hangs in the threaded MPM.

After removing mod_cgid from my build (thanks, Jeff), I can do:
* apachectl graceful, followed by
* apachectl restart, followed by
* apachectl stop

...and get the results you would expect.

Submitted by: Jeff Trawick, Greg Ames, Ryan Bloom

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

23 years agoMake mod_tls compile. Fix supplied by Jean-Frederic Clere
Martin Kraemer [Thu, 26 Apr 2001 11:21:38 +0000 (11:21 +0000)]
Make mod_tls compile. Fix supplied by Jean-Frederic Clere

Submitted by: Jean-Frederic Clere <JFrederic.Clere@fujitsu-siemens.com>

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

23 years agoRemoved the keptalive boolean from conn_rec because it is now only
Roy T. Fielding [Thu, 26 Apr 2001 00:33:14 +0000 (00:33 +0000)]
Removed the keptalive boolean from conn_rec because it is now only
used by a single routine and can be replaced by a local variable.

Submitted by: Greg Stein, Ryan Bloom, Roy Fielding

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