]>
granicus.if.org Git - apache/log
Ryan Bloom [Thu, 15 Feb 2001 00:01:32 +0000 (00:01 +0000)]
Remove some warnings from mod_status.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88170
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Wed, 14 Feb 2001 21:29:12 +0000 (21:29 +0000)]
Move the call to set the socket timeout outside the loop.
ve :
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88168
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Wed, 14 Feb 2001 21:05:36 +0000 (21:05 +0000)]
Fix lingering close (and make it more efficient). We were blocking on
apr_read() for 30 seconds for each lingering close. What we want to
do is block for 2 seconds. If we do not read any bytes from the client
in that time, close the connection. If we do read bytes, then wait 2
more seconds to see if more arrive, etc. Repeat for MAX_SECS_TO_LINGER
if needed.
This should clear the way to get 2.0 running on apache.org!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88167
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 14 Feb 2001 14:45:55 +0000 (14:45 +0000)]
Sorry, cleaning up the naughty bits that should not have been committed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88163
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 14 Feb 2001 14:22:07 +0000 (14:22 +0000)]
Massive commit to clean up os/win32 and label some files with the
appropriate license blocks and #ifdef WIN32 wrappers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88158
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Wed, 14 Feb 2001 13:35:05 +0000 (13:35 +0000)]
Beos R5 and below don't have the sin_len member in sockaddr_in so don't
try and use it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88157
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Wed, 14 Feb 2001 13:32:45 +0000 (13:32 +0000)]
As a debugging aid, report which version of the beos code we're using and
fix a typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88156
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Wed, 14 Feb 2001 04:33:38 +0000 (04:33 +0000)]
Remove some deprecated comments.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88153
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Wed, 14 Feb 2001 03:49:17 +0000 (03:49 +0000)]
PR:
Obtained from:
Submitted by:
Get req/sec and bytes/sec status reporting working. Still lots of type
warnings but this is a bit better than before.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88152
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Wed, 14 Feb 2001 02:52:23 +0000 (02:52 +0000)]
Start getting extended status working again.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88151
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 13 Feb 2001 23:32:28 +0000 (23:32 +0000)]
doh. need a spellchekker for these rename scripts. s/apr_lock_aquire/apr_lock_acquire/g;
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88150
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 13 Feb 2001 22:11:13 +0000 (22:11 +0000)]
Windows MPM: Handle ap_new_connection() failure.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88148
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Tue, 13 Feb 2001 21:23:22 +0000 (21:23 +0000)]
Fix some spelling mistakes and remove the mpmt_beos MPM from the config.m4
file.
Submitted by: Cliff Woolley <cliffwoolley@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88147
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Tue, 13 Feb 2001 20:53:13 +0000 (20:53 +0000)]
This is a huge change that gets beos building again. Essentially it
- tidies up some of the formatting
- gets us working with mod_status
- uses the newer naming I've used in the headers to try and be more obvious
- uses a UDP socket for telling the server when to stop/restart. This isn't
perfect but as pre-BONE we don't have the ability to select on a pipe this
seemed like the next best option. This seems to work well for stopping,
but so far restarts don't. This will need some more security adding to it
I think.
If I ever wanted a lesson in not keeping something on my HDD too long before
committing this update has been it. Really should try and keep up a bit more :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88146
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Tue, 13 Feb 2001 20:46:48 +0000 (20:46 +0000)]
More changes to the way that we use mod_status on beos.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88145
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Tue, 13 Feb 2001 20:30:19 +0000 (20:30 +0000)]
Remove the dexter MPM. This has been replaced with the Perchild MPM.
The two MPMs are basically identical, except that Perchild also allows
each child process to have a unique uid/gid combination.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88144
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 13 Feb 2001 20:29:50 +0000 (20:29 +0000)]
backout name change:
apr_bucket_notimpl_setaside -> apr_bucket_setaside_notimpl
apr_bucket_notimpl_split -> apr_bucket_split_notimpl
apr_bucket_notimpl_copy -> apr_bucket_copy_notimpl
apr_bucket_notimpl_destroy -> apr_bucket_destroy_notimpl
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88143
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 13 Feb 2001 20:24:38 +0000 (20:24 +0000)]
rename:
ap_bucket_create_error -> ap_bucket_error_create
ap_bucket_make_error -> ap_bucket_error_make
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88142
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 13 Feb 2001 20:16:15 +0000 (20:16 +0000)]
s/apr_bucket_pipe_creat/apr_bucket_pipe_create/ typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88141
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 13 Feb 2001 19:48:59 +0000 (19:48 +0000)]
Windows doesn't have ap_config_auto. Perhaps we need a HAVE_CONFIG_AUTO
macro?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88138
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Tue, 13 Feb 2001 19:22:27 +0000 (19:22 +0000)]
The "src/" directory no longer exists. Clean up the HARD_SERVER_LIMITS
warning msg to reflect the current directory structure.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88137
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Tue, 13 Feb 2001 18:08:48 +0000 (18:08 +0000)]
OK, this is the start of getting things running on BeOS again :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88135
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 13 Feb 2001 12:13:33 +0000 (12:13 +0000)]
Use apr_want.h to get the declarations for ntohs et al instead of
including the appropriate system header files directly.
This gets rid of a warning for props.c on FreeBSD 3.4 which cropped
up when I included the right header file to get OS/390 to build :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88132
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 13 Feb 2001 03:49:06 +0000 (03:49 +0000)]
mod_status references ap_my_generation; declare it for now
so perchild+mod_status builds; we can add logic to fill in
ap_my_generation later
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88131
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Tue, 13 Feb 2001 03:26:24 +0000 (03:26 +0000)]
Make perchild build again
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88130
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Tue, 13 Feb 2001 02:00:29 +0000 (02:00 +0000)]
Add the perchild MPM to MPM.NAMING
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88129
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 12 Feb 2001 23:37:58 +0000 (23:37 +0000)]
Don't disable threads just because we are using the prefork MPM.
If somebody wants to compile without threads, they must now add
--disable-threads to the configure command line. [Ryan Bloom]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88127
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 12 Feb 2001 23:00:24 +0000 (23:00 +0000)]
This is the wrong place to mark the server ready. Servers need to be marked ready
in the MPM -after- lingering close processing. This could be playing havoc with
perform_idle_server_maintenance.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88125
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 12 Feb 2001 21:03:35 +0000 (21:03 +0000)]
include <arpa/inet.h> for the declarations for htons() et al; OS/390 has
macros in arpa/inet.h which turn such "calls" into nothing and does not
have functions to link against in libc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88120
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 12 Feb 2001 20:52:01 +0000 (20:52 +0000)]
trailing commas in enum declarations aren't portable
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88119
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 12 Feb 2001 20:38:21 +0000 (20:38 +0000)]
ignore generated file modules.mk
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88118
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 12 Feb 2001 18:48:00 +0000 (18:48 +0000)]
Begin to move the code that updates the child status out of the MPMs and
into the main-line code. This ensures that all MPMs can easily forget
about updating their status.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88117
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 12 Feb 2001 18:22:18 +0000 (18:22 +0000)]
Remove some OS/2 code from the prefork MPM. Since OS/2 has it's own
MPM, this is needed here.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88116
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 12 Feb 2001 16:50:21 +0000 (16:50 +0000)]
Allow mod_tls to compile on Unix boxes where openssl has already been
installed.
Submitted by: Gomez Henri <new-httpd@slib.fr>
Reviewed by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88115
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 12 Feb 2001 15:44:36 +0000 (15:44 +0000)]
string.h needs to be included before monkeying around with strchr et al,
since some system header files do their own monkeying around with those
functions in ways that don't get along with us unless we include their
definitions first
examples: gcc 2.8.1 on Solaris
gcc 2.95.2 on AIX
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88113
13f79535 -47bb-0310-9956-
ffa450edef68
Chuck Murcko [Mon, 12 Feb 2001 09:20:03 +0000 (09:20 +0000)]
Fix for moved macros
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88110
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Mon, 12 Feb 2001 03:02:05 +0000 (03:02 +0000)]
sneaky for loop... make it more obvious what it is doing
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88105
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Mon, 12 Feb 2001 02:55:52 +0000 (02:55 +0000)]
*) rename apr_memdup() to apr_pmemdup()
*) optimize the allocation size in apr_pstrndup()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88104
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Mon, 12 Feb 2001 02:49:56 +0000 (02:49 +0000)]
*) remove some obsolete/unused defines from httpd.h.
*) remove DEFAULT_XFERLOG from main.c; it is never set/used
*) move ap_get_max_daemons() to ap_mpm.h
*) move DEFAULT_LISTENBACKLOG to mpm_common.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88103
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Mon, 12 Feb 2001 02:42:10 +0000 (02:42 +0000)]
*) include the strings stuff the right way (some platforms use string.h;
apr_want figures all that out for us)
*) include ap_mpm.h to pick up a moved func declaration
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88102
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Mon, 12 Feb 2001 02:39:24 +0000 (02:39 +0000)]
write these in terms of strchr and strrchr so the compiler can possibly use
builtin, optimized functions.
[ they're stupid functions, but what the hell ]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88101
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Mon, 12 Feb 2001 02:11:24 +0000 (02:11 +0000)]
bring along the comment (from httpd.h) that went with these defines
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88100
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Mon, 12 Feb 2001 01:45:41 +0000 (01:45 +0000)]
Obsoleted by the "beos" MPM.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88099
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Sun, 11 Feb 2001 21:47:41 +0000 (21:47 +0000)]
Work for more than one read. Catch read errors.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88096
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 11 Feb 2001 21:00:04 +0000 (21:00 +0000)]
Still lots to apr'ize here.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88095
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Sun, 11 Feb 2001 20:58:12 +0000 (20:58 +0000)]
Fix a warning.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88094
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 11 Feb 2001 20:19:41 +0000 (20:19 +0000)]
Clean up the mod_tls configure process. This should remove most, if not
all, of the hand-editing required to make mod_tls compile. I have also
updated the README to reflect the current process. I have also noted that
we require OpenSSL 0.9.6 to compile. I am getting all sorts of warnings
from the OpenSSL header files, and I get a single error from the OpenSSL
libraries, but I am assuming that is a problem with my configuration,
not the mod_tls code.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88093
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 11 Feb 2001 19:10:42 +0000 (19:10 +0000)]
Fix a compile warning.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88092
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Sun, 11 Feb 2001 17:46:19 +0000 (17:46 +0000)]
First cut of TLS support.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88090
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sun, 11 Feb 2001 05:58:19 +0000 (05:58 +0000)]
Clean up the filter.html and handler.html files a little.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88087
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 11 Feb 2001 03:35:41 +0000 (03:35 +0000)]
fix the check for killpg(); as it was, we didn't check for
killpg() and we got an ugly "killpg: not found" message on
stderr during configure
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88086
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 11 Feb 2001 03:27:21 +0000 (03:27 +0000)]
INIT_SIGLIST() is gone; stop using it
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88085
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sun, 11 Feb 2001 01:09:02 +0000 (01:09 +0000)]
include "apr_signal.h" when needed
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88082
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sun, 11 Feb 2001 01:08:24 +0000 (01:08 +0000)]
*) include "apr_signal.h" when needed
*) some other minor include tweaks
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88081
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 11 Feb 2001 00:51:38 +0000 (00:51 +0000)]
Fix a potential segfault on all platforms. David Reid fixed this for
BEOS, but this could actually happen on any platform, so we should
be safe and protect ourselves.
Submitted by: Cliff Woolley <cliffwoolley@yahoo.com>
Reviewed by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88080
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sun, 11 Feb 2001 00:44:40 +0000 (00:44 +0000)]
toss the signal description stuff from unixd.[ch], beosd.h, and spmt_os2.
use the new functionality in APR.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88079
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 11 Feb 2001 00:24:49 +0000 (00:24 +0000)]
Cleanup the rest of the warnings that appear when compileing with
GRPOF.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88078
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 11 Feb 2001 00:12:43 +0000 (00:12 +0000)]
Fix any compile breaks after moving apr_snprintf and apr_vsnprintf to
apr_strings.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88077
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 11 Feb 2001 00:10:30 +0000 (00:10 +0000)]
Fix a warning when compiling with GPROF
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88076
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 11 Feb 2001 00:09:40 +0000 (00:09 +0000)]
clean up more warnings and link problems after the header file
shuffle
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88075
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 10 Feb 2001 23:53:07 +0000 (23:53 +0000)]
Allow us to use INCLUDES on files with multiple extensions, and use
FilesMatch instead of Files ~.
Submitted by: Joshua Slive <slive@finance.commerce.ubc.ca>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88074
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sat, 10 Feb 2001 23:36:07 +0000 (23:36 +0000)]
Remove the warning from the mod_include docs since it seems
relatively up-to-date now.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88073
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sat, 10 Feb 2001 23:33:36 +0000 (23:33 +0000)]
Update all the references I can find to use SetOutputFilter to
actives SSIs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88072
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sat, 10 Feb 2001 23:32:21 +0000 (23:32 +0000)]
Remove SetFilter from the mod_mime docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88071
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 10 Feb 2001 22:21:23 +0000 (22:21 +0000)]
more module build cleanup, removing warnings and some
link errors (from when apr_ ctype macros weren't available)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88070
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 10 Feb 2001 21:59:59 +0000 (21:59 +0000)]
Fix more module breakage from header reorg
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88069
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 10 Feb 2001 21:57:45 +0000 (21:57 +0000)]
Fix Win32 Breakage
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88068
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 10 Feb 2001 18:09:26 +0000 (18:09 +0000)]
Fix the configure scripts, so that we don't try to substitute into
test/Makefile unless we actually have a test directory. The problem
is that we don't distribute test directories with our tarballs, so our
configure script outputs error messages. This fixes that problem.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88067
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 10 Feb 2001 17:47:26 +0000 (17:47 +0000)]
Small header file cleanup.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88066
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 10 Feb 2001 17:39:22 +0000 (17:39 +0000)]
Header file cleanup.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88065
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 10 Feb 2001 17:15:59 +0000 (17:15 +0000)]
Make the config file use SetOutputFilter, since AddOutputFilter is
dead now.
Submitted by: Greg Stein
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88064
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 10 Feb 2001 15:01:16 +0000 (15:01 +0000)]
get rid of some warnings and an undefined reference which crept into
some modules overnight
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88063
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sat, 10 Feb 2001 14:13:50 +0000 (14:13 +0000)]
[ missed in last commit ]
clean out some headers and libs from the configure process (not needed)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88062
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sat, 10 Feb 2001 14:04:21 +0000 (14:04 +0000)]
*) continued header revamping
*) torch some headers (and some libs) from the autoconf stuff
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88061
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sat, 10 Feb 2001 13:05:29 +0000 (13:05 +0000)]
Clean up some of the includes:
- explicitly include apr_lib.h since ap_config.h doesn't
- use apr_want.h where possible
- use APR_HAVE_ where possible
- remove some unneeded includes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88060
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sat, 10 Feb 2001 12:13:26 +0000 (12:13 +0000)]
http_conf_globals.h is gone
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88059
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sat, 10 Feb 2001 12:11:50 +0000 (12:11 +0000)]
more APR-ization
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88058
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sat, 10 Feb 2001 11:59:58 +0000 (11:59 +0000)]
*) clean out some old crap from ap_config.h; other simplifications; don't
include stuff randomly (let users include them explicitly)
*) toss ap_config_path.h -- we can put those values into ap_config_auto.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88057
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 10 Feb 2001 05:30:51 +0000 (05:30 +0000)]
Remove the SetFilter directive from the code. This directive wasn't
nearly as useful as the SetOutputFilter and SetInputFilter, and it never
really worked properly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88053
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 10 Feb 2001 05:00:50 +0000 (05:00 +0000)]
Update the conf file to use the correct model for turning on SSI's
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88051
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Sat, 10 Feb 2001 04:27:58 +0000 (04:27 +0000)]
Remove definition of ap_extended_status, it's defined in scoreboard.c
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88050
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sat, 10 Feb 2001 04:12:55 +0000 (04:12 +0000)]
Better get the index entries too.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88049
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sat, 10 Feb 2001 04:12:00 +0000 (04:12 +0000)]
ServerType is gone in 2.0.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88048
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sat, 10 Feb 2001 04:04:12 +0000 (04:04 +0000)]
Add some VERY basic filter documentation. See followup discussion
on apache-docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88047
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Sat, 10 Feb 2001 03:38:48 +0000 (03:38 +0000)]
Add new LogFormat directive, %D, to log time it takes to serve a request
in microseconds.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88046
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sat, 10 Feb 2001 03:03:18 +0000 (03:03 +0000)]
*) remove obsolete http_conf_globals.h
*) simplify all this #ifdef'ing: just nuke the unixd.h header. it isn't
actually needed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88045
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Sat, 10 Feb 2001 01:16:11 +0000 (01:16 +0000)]
Fix more breakage on BeOS...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88044
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Sat, 10 Feb 2001 00:52:22 +0000 (00:52 +0000)]
BeOS doesn't have unixd.h either.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88043
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 10 Feb 2001 00:33:38 +0000 (00:33 +0000)]
Change AddInputFilter and AddOutputFilter to SetInputFilter and
SetOutputFilter. This corresponds nicely with the other Set
directives, which operate on containers while the Add* directives
tend to work directly on extensions. [Ryan Bloom]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88042
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Fri, 9 Feb 2001 22:57:50 +0000 (22:57 +0000)]
"v" in the name has come to mean that a va_arg is in the parameter list.
putstrs is clearer in this case.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88041
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 9 Feb 2001 18:34:24 +0000 (18:34 +0000)]
use apr_size_t for file lengths; this avoids a warning (and perhaps
a run-time SNAFU depending on the byte ordering) on systems where
apr_size_t is long
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88039
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 9 Feb 2001 18:15:01 +0000 (18:15 +0000)]
Fix another windows compile break.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88038
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 9 Feb 2001 16:11:50 +0000 (16:11 +0000)]
Replace reinit_scoreboard with ap_create_scoreboard.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88037
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 9 Feb 2001 15:05:28 +0000 (15:05 +0000)]
Functions that use ... have to be NONSTD. At least I think Will told me
that at one point.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88035
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 9 Feb 2001 14:47:48 +0000 (14:47 +0000)]
A few small docs changes (there were ';' in the ScanDoc), and remove some
very cool but totally unportable macros. :-(
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88034
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Fri, 9 Feb 2001 12:19:47 +0000 (12:19 +0000)]
*) minor changes, simplifications
*) fix terminate_header: don't assume anything about the brigade (especially
that its last bucket is a shared/heap bucket)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88032
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Fri, 9 Feb 2001 11:15:03 +0000 (11:15 +0000)]
*) namespace protect the filter_flush() function
*) don't toss the status value from ap_pass_brigade in ap_fflush; return it
*) doc/macro nits
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88031
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 9 Feb 2001 07:17:53 +0000 (07:17 +0000)]
Make the header filter use the brigade buffering functions for creating
the header string. This allows us to clean up the header handling a bit,
because we don't need to compute the correct length before we can create
the headers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88029
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 9 Feb 2001 07:04:52 +0000 (07:04 +0000)]
Allow filters to buffer data in a brigade using the ap_f* functions.
These have become simple macros that just wrap the apr_brigade functions,
allowing filter writers to ignore the flush function and the ctx pointer.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88028
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 9 Feb 2001 04:19:42 +0000 (04:19 +0000)]
Fix windows compile break
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88027
13f79535 -47bb-0310-9956-
ffa450edef68