]> granicus.if.org Git - apache/log
apache
23 years ago A smart answer to users attempting the -s arg to ab.
William A. Rowe Jr [Thu, 19 Jul 2001 16:40:42 +0000 (16:40 +0000)]
  A smart answer to users attempting the -s arg to ab.

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

23 years agoApply mod_ssl MEGA porting patch. This is a cleaned up version of the
Ralf S. Engelschall [Thu, 19 Jul 2001 16:08:01 +0000 (16:08 +0000)]
Apply mod_ssl MEGA porting patch. This is a cleaned up version of the
latest patches from Madhusudan which makes mod_ssl 95% working inside
Apache 2.0. There is still a lot of more work (both porting and cleanup)
to do be done. See modules/ssl/README for details.

Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>

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

23 years agoSome small changes...
David Reid [Thu, 19 Jul 2001 12:49:32 +0000 (12:49 +0000)]
Some small changes...
- use palloc instead of pcalloc
- add code to set larger FD_SETSIZE if appropriate
- some formatting tidy up

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

23 years agofix the type of parms to apr_send() and apr_recv()
Jeff Trawick [Thu, 19 Jul 2001 12:43:22 +0000 (12:43 +0000)]
fix the type of parms to apr_send() and apr_recv()

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

23 years ago Truncate the working set in ab by introducing a connection pool.
William A. Rowe Jr [Thu, 19 Jul 2001 04:39:17 +0000 (04:39 +0000)]
  Truncate the working set in ab by introducing a connection pool.

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

23 years agofix memory leak of apr_sockaddr_t and apr_socket_t in ap_mpm_pod_signal,
Greg Ames [Wed, 18 Jul 2001 21:16:40 +0000 (21:16 +0000)]
fix memory leak of apr_sockaddr_t and apr_socket_t in ap_mpm_pod_signal,
called by perform_idle_server_maintenance.

allocate & init one apr_sockaddr_t for the dummy connect at pod open time.
use a temporary subpool for the apr_socket_t

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

23 years ago Last of the ignore goodness for today.
William A. Rowe Jr [Wed, 18 Jul 2001 21:15:50 +0000 (21:15 +0000)]
  Last of the ignore goodness for today.

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

23 years ago Remainder of Win32 ap_create_scoreboard fooness
William A. Rowe Jr [Wed, 18 Jul 2001 21:14:21 +0000 (21:14 +0000)]
  Remainder of Win32 ap_create_scoreboard fooness

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

23 years ago Fix ap_create_scoreboard fooness on Win32.
William A. Rowe Jr [Wed, 18 Jul 2001 21:13:04 +0000 (21:13 +0000)]
  Fix ap_create_scoreboard fooness on Win32.

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

23 years agoMake scoreboard creation a hook. This allows management
Ryan Bloom [Wed, 18 Jul 2001 20:45:36 +0000 (20:45 +0000)]
Make scoreboard creation a hook.  This allows management
modules to have access to the scoreboard at the time that it is
created, and at every restart request.
Submitted by: Cody Sherr <csherr@covalent.net>
Reviewed by: Ryan Bloom

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

23 years agoRemove APR_NO_INHERIT as it is now private.
Ian Holsman [Wed, 18 Jul 2001 20:35:13 +0000 (20:35 +0000)]
Remove APR_NO_INHERIT as it is now private.
sigh... the cost of being bleeding edge
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agos/destroy/free/g; likeness to SSL naming
Doug MacEachern [Wed, 18 Jul 2001 20:35:07 +0000 (20:35 +0000)]
s/destroy/free/g; likeness to SSL naming

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

23 years agogive some more diagnostics if server cert or key file cannot be read
Doug MacEachern [Wed, 18 Jul 2001 20:29:29 +0000 (20:29 +0000)]
give some more diagnostics if server cert or key file cannot be read

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

23 years agoChanged AP_MPMQ_MAX_DAEMONS to refer to MaxClients and
Paul J. Reder [Wed, 18 Jul 2001 20:29:00 +0000 (20:29 +0000)]
Changed AP_MPMQ_MAX_DAEMONS to refer to MaxClients and
added an AP_MPMQ_MAX_DAEMON_USED to refer to the highest
daemon index actually used in the scoreboard. I also
updated the pertinent calls.

Paul J. Reder

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

23 years agoBringing forward from 1.3: small changes to standardize argument types.
Joshua Slive [Wed, 18 Jul 2001 20:25:19 +0000 (20:25 +0000)]
Bringing forward from 1.3: small changes to standardize argument types.

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

23 years ago Missed one, all should have recovered from APR_INHERIT now.
William A. Rowe Jr [Wed, 18 Jul 2001 19:58:49 +0000 (19:58 +0000)]
  Missed one, all should have recovered from APR_INHERIT now.

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

23 years agoonly reset request level filters in reset_filters(), else for example
Doug MacEachern [Wed, 18 Jul 2001 19:52:40 +0000 (19:52 +0000)]
only reset request level filters in reset_filters(), else for example
TLSFilter gets wiped out, breaking any response that comes through ap_die
(including the frequent '304 not modified')
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years ago Remove last public vestigages of APR_INHERIT
William A. Rowe Jr [Wed, 18 Jul 2001 19:41:20 +0000 (19:41 +0000)]
  Remove last public vestigages of APR_INHERIT

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

23 years agoThis patch removes spaces that shouldn't be there.
Jeff Trawick [Wed, 18 Jul 2001 19:38:35 +0000 (19:38 +0000)]
This patch removes spaces that shouldn't be there.
It bit me when I tried to get the new make_exports
to work.  I now fixed my make_exports (will commit
patch later), so that will eat this anyway, but
it seems nicer to make this obey the coding style
rules as well.

Submitted by: Sander Striker

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

23 years agoadd dump_filters macro for printing r->{input,output}_filters chain info
Doug MacEachern [Wed, 18 Jul 2001 18:44:45 +0000 (18:44 +0000)]
add dump_filters macro for printing r->{input,output}_filters chain info

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

23 years agoadd cleanup of SSLStateMachine to tls filter
Doug MacEachern [Wed, 18 Jul 2001 18:18:20 +0000 (18:18 +0000)]
add cleanup of SSLStateMachine to tls filter

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

23 years ago Hmmm... editing with tabs != 8, eeuh. Just cleaning and fixing casts.
William A. Rowe Jr [Wed, 18 Jul 2001 18:08:57 +0000 (18:08 +0000)]
  Hmmm... editing with tabs != 8, eeuh.  Just cleaning and fixing casts.

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

23 years ago Fix some casting
William A. Rowe Jr [Wed, 18 Jul 2001 17:56:14 +0000 (17:56 +0000)]
  Fix some casting

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

23 years ago Omitted the arg
William A. Rowe Jr [Wed, 18 Jul 2001 17:14:09 +0000 (17:14 +0000)]
  Omitted the arg

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

23 years ago rbb's names still need work :)
William A. Rowe Jr [Wed, 18 Jul 2001 17:13:01 +0000 (17:13 +0000)]
  rbb's names still need work :)

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

23 years ago Changes to back out inherit flag from apr_os_sock_make()
William A. Rowe Jr [Wed, 18 Jul 2001 16:56:55 +0000 (16:56 +0000)]
  Changes to back out inherit flag from apr_os_sock_make()
  and apr_socket_create()

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

23 years ago sweep up some cruft, and clean out a good solve by Mr. Stoddard
William A. Rowe Jr [Wed, 18 Jul 2001 07:01:32 +0000 (07:01 +0000)]
  sweep up some cruft, and clean out a good solve by Mr. Stoddard

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

23 years ago Fix incl/libpath to / slashes for an upcoming patch to cvtdsp.c
William A. Rowe Jr [Tue, 17 Jul 2001 22:13:57 +0000 (22:13 +0000)]
  Fix incl/libpath to / slashes for an upcoming patch to cvtdsp.c

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

23 years agoChange the APR_INHERIT flag to APR_NO_INHERIT,which is the default (as recommended...
Ian Holsman [Tue, 17 Jul 2001 21:43:35 +0000 (21:43 +0000)]
Change the APR_INHERIT flag to APR_NO_INHERIT,which is the default (as recommended by rbb)

PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoBringing forward from 1.3: Changes to standardize the "argument types"
Joshua Slive [Tue, 17 Jul 2001 20:20:21 +0000 (20:20 +0000)]
Bringing forward from 1.3: Changes to standardize the "argument types"
in the syntax entires.

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

23 years agoRemember current porting state
Ralf S. Engelschall [Tue, 17 Jul 2001 17:26:48 +0000 (17:26 +0000)]
Remember current porting state

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

23 years agodummy ssl hooks need to return an int value for server to function with mod_ssl compi...
Doug MacEachern [Tue, 17 Jul 2001 16:36:15 +0000 (16:36 +0000)]
dummy ssl hooks need to return an int value for server to function with mod_ssl compiled in

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

23 years agoMerge in part II of a set of mod_ssl porting changes.
Ralf S. Engelschall [Tue, 17 Jul 2001 14:57:35 +0000 (14:57 +0000)]
Merge in part II of a set of mod_ssl porting changes.

Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>

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

23 years agoMerge in part of a set of mod_ssl porting changes.
Ralf S. Engelschall [Tue, 17 Jul 2001 14:38:06 +0000 (14:38 +0000)]
Merge in part of a set of mod_ssl porting changes.

Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>

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

23 years agoNote the change to the CVS server in the buildconf script.
Ryan Bloom [Tue, 17 Jul 2001 04:57:43 +0000 (04:57 +0000)]
Note the change to the CVS server in the buildconf script.

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

23 years ago Obvious files that need inheritance, correct me if I'm wrong.
William A. Rowe Jr [Mon, 16 Jul 2001 21:07:40 +0000 (21:07 +0000)]
  Obvious files that need inheritance, correct me if I'm wrong.

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

23 years ago Fix for the new schema
William A. Rowe Jr [Mon, 16 Jul 2001 18:14:51 +0000 (18:14 +0000)]
  Fix for the new schema

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

23 years agoapplies change in APR function apr_socket_create, which added a new parameter.
Ian Holsman [Mon, 16 Jul 2001 17:54:38 +0000 (17:54 +0000)]
applies change in APR function apr_socket_create, which added a new parameter.
I defaulted these to APR_INHERIT.
Also..
the connection-close was being merged, insted of 'set'
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoAdded an inherit flag to apr_socket_create and other socket creation
Ryan Bloom [Mon, 16 Jul 2001 16:11:05 +0000 (16:11 +0000)]
Added an inherit flag to apr_socket_create and other socket creation
functions.  This allows APR programs to specify that a socket should
be passed to any child processes that are created.  The inherit flag
is only meaningful if programs use apr_process_create().  This
also adds a couple of macros that allow APR types to set and unset
the inherit flag.

This also fixes Apache to use the new API.

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

23 years agoRemove a couple fields from the scoreboard that aren't currently used.
Ryan Bloom [Mon, 16 Jul 2001 02:29:33 +0000 (02:29 +0000)]
Remove a couple fields from the scoreboard that aren't currently used.
If we need these, they should be added when we begin to use them.

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

23 years agoLast Log entry was bogus.
Ian Holsman [Sat, 14 Jul 2001 20:18:45 +0000 (20:18 +0000)]
Last Log entry was bogus.
Changed to 'setting' the X-Forwarded-Server X-Forwarded-Host X-Forwarded-For
headers instead of merging them
PR:

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

23 years agoPR:
Ian Holsman [Sat, 14 Jul 2001 20:17:07 +0000 (20:17 +0000)]
PR:

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

23 years agoWin32: Prevent listening sockets from being inherited by
Bill Stoddard [Fri, 13 Jul 2001 18:46:15 +0000 (18:46 +0000)]
Win32: Prevent listening sockets from being inherited by
the Apache child process, CGI scripts, rotatelog process
etc.  If the Apache child process segfaults, any processes
that the child started are not reaped. Prior to this fix,
these processes inherited the listening sockets which sometimes
prevented the restarted Apache child process from accepting
connections (ie, the server would hang).

The Sleep(1000) is a bit of a hack but it is sufficient I believe. All
that is really necessary is for the parent to give up its quantum and
allow the child to run. I could not get WaitForInputIdle to work properly.
Will investigate alternative solutions later.

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

23 years agoWin32: First of two patches to prevent child processes from inheriting open
Bill Stoddard [Fri, 13 Jul 2001 12:45:19 +0000 (12:45 +0000)]
Win32: First of two patches to prevent child processes from inheriting open
socket descriptors.

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

23 years agoSome STATUS updates.
Bill Stoddard [Thu, 12 Jul 2001 03:50:19 +0000 (03:50 +0000)]
Some STATUS updates.

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

23 years agoscratch an old itch - give lingering close its own state in the scoreboard.
Greg Ames [Thu, 12 Jul 2001 03:20:50 +0000 (03:20 +0000)]
scratch an old itch - give lingering close its own state in the scoreboard.

clean up SERVER_ACCEPTING and SERVER_QUEUEING (never set) while I'm at it.

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

23 years agoProvide vhost and abbreviated request strings on ExtendedStatus displays.
Greg Ames [Thu, 12 Jul 2001 02:19:41 +0000 (02:19 +0000)]
Provide vhost and abbreviated request strings on ExtendedStatus displays.

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

23 years agoTypo fix.
Joshua Slive [Wed, 11 Jul 2001 16:51:29 +0000 (16:51 +0000)]
Typo fix.

Submitted by: Carl Johnstone <carl.johnstone@gmgrd.co.uk>

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

23 years agoFix an issue with the pod and prefork:
Jeff Trawick [Wed, 11 Jul 2001 14:48:23 +0000 (14:48 +0000)]
Fix an issue with the pod and prefork:

when the parent process wakes up a server process via connect(), use
an APR timeout on the connect() so that we don't hang for a long time
if there aren't server processes around to do accept()

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

23 years agoUpdated with 1.3 stuff in tandem with my 1.3 STATUS file update.
Jason S. Lingohr [Wed, 11 Jul 2001 07:12:53 +0000 (07:12 +0000)]
Updated with 1.3 stuff in tandem with my 1.3 STATUS file update.

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

23 years agoPerformance improvement to mod_mime.c. find_ct() in mod_mime,
Bill Stoddard [Wed, 11 Jul 2001 04:47:02 +0000 (04:47 +0000)]
Performance improvement to mod_mime.c. find_ct() in mod_mime,
spends a lot of time in apr_table_get calls.  Using the default
httpd.conf, the tables for languages and charsets are somewhat
large, so the time spent scanning them on each request is
significant. Replacing the tables with hash tables provides
a nice speedup. [Brian Pane <bpane@pacbell.net>]

Had to handmerge a lot of this patch so please review! Dean had some suggestions
for improvement which are not currently implemented.

Submitted by: Brian Pane
Reviewed by: Bill Stoddard

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

23 years agofix pid numbers in mod_status output when using a threaded mpm. pid_buffer was
Greg Ames [Tue, 10 Jul 2001 22:50:54 +0000 (22:50 +0000)]
fix pid numbers in mod_status output when using a threaded mpm.  pid_buffer was
being indexed by worker slot during initialization, then by process slot when
generating output.

This saves a little storage and a few cycles, too.

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

23 years agoNew directives should really come with documentation. This is
Joshua Slive [Tue, 10 Jul 2001 19:22:40 +0000 (19:22 +0000)]
New directives should really come with documentation.  This is
my best guess at what the documentation for the AcceptMutex directive
should look like.

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

23 years agoAdd two functions to allow modules to access random parts of the
Ryan Bloom [Tue, 10 Jul 2001 19:00:03 +0000 (19:00 +0000)]
Add two functions to allow modules to access random parts of the
scoreboard.  This allows modules compiled for one MPM to access the
scoreboard, even if it the server was compiled for another MPM.

Submitted by: Harrie Hazewinkel <harrie@covalent.net>

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

23 years agoCheck the pod after processing a connection so that we'll go away
Jeff Trawick [Tue, 10 Jul 2001 18:56:55 +0000 (18:56 +0000)]
Check the pod after processing a connection so that we'll go away
if a graceful restart occurred while we were processing the
connection.  Otherwise, we won't wake up until a real connection
comes in and we'll use the wrong config to process it and we may
block in the wrong syscall (because the new generation is using a
different accept mutex) and in general it is goofy.

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

23 years agoExtendedStatus is back.
Joshua Slive [Tue, 10 Jul 2001 18:49:50 +0000 (18:49 +0000)]
ExtendedStatus is back.

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

23 years agoignore generated DSO-related files on OS/390
Jeff Trawick [Tue, 10 Jul 2001 04:54:14 +0000 (04:54 +0000)]
ignore generated DSO-related files on OS/390

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

23 years agouri_delims.h moved
Jeff Trawick [Tue, 10 Jul 2001 04:51:56 +0000 (04:51 +0000)]
uri_delims.h moved

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

23 years agoUse the autoconf variable "host" consistently for platform checks.
Roy T. Fielding [Tue, 10 Jul 2001 02:35:24 +0000 (02:35 +0000)]
Use the autoconf variable "host" consistently for platform checks.

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

23 years ago Remove openssl path-specific .h comparisons
William A. Rowe Jr [Mon, 9 Jul 2001 17:53:16 +0000 (17:53 +0000)]
  Remove openssl path-specific .h comparisons

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

23 years ago Win32 build changes for recent module updates
William A. Rowe Jr [Mon, 9 Jul 2001 17:41:41 +0000 (17:41 +0000)]
  Win32 build changes for recent module updates

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

23 years agoRecover from some APR cont --> pool conversions by D. Reid.
Bill Stoddard [Mon, 9 Jul 2001 14:44:32 +0000 (14:44 +0000)]
Recover from some APR cont --> pool conversions by D. Reid.

Submitted by: Mladen Turk

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

23 years agofix params for logging call
Chuck Murcko [Mon, 9 Jul 2001 06:35:51 +0000 (06:35 +0000)]
fix params for logging call

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

23 years agoWe are tagged, so bump the numbers everywhere.
Ryan Bloom [Mon, 9 Jul 2001 02:55:35 +0000 (02:55 +0000)]
We are tagged, so bump the numbers everywhere.

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

23 years agoUpdate to prepare for 2.0.20 release
Ryan Bloom [Mon, 9 Jul 2001 02:51:20 +0000 (02:51 +0000)]
Update to prepare for 2.0.20 release

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

23 years agoAllow all parts of Apache 2.0 to build when --srcdir is used. This
Ryan Bloom [Mon, 9 Jul 2001 02:31:09 +0000 (02:31 +0000)]
Allow all parts of Apache 2.0 to build when --srcdir is used.  This
required exposing a build directory and a source directory to all parts
of Apache's build system.  It also required a small hack in APR-util, if
we are using the bundled Expat, and we are using VPATH support, then we
have hard-coded the xml/expat location.  I couldn't figure out how to
allow the configure script to determine the correct location.  I added a
comment, but if somebody else figures it out, we should fix that at some
point.

PR: 7630

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

23 years agoAvoid redundant strlen() calls by using apr_brigade_write() instead of
Cliff Woolley [Sun, 8 Jul 2001 06:24:55 +0000 (06:24 +0000)]
Avoid redundant strlen() calls by using apr_brigade_write() instead of
apr_brigade_puts().  There is still some redundancy--it'd be ideal if there
were an apr_pstrcat() variant that returned the length of the string since
it computes it (twice) anyway so we didn't have to do it yet again.  Until
such a beast exists, computing the length three times is better than four.
:-/

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

23 years agoWe need to pass the prefix to APR, APR-util, and PCRE. If we don't
Ryan Bloom [Sun, 8 Jul 2001 03:27:18 +0000 (03:27 +0000)]
We need to pass the prefix to APR, APR-util, and PCRE.  If we don't
pass that information, then all three libraries will install themselves
into their default locations.
PR: 7750

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

23 years agos/cont/pool/
David Reid [Sat, 7 Jul 2001 16:21:53 +0000 (16:21 +0000)]
s/cont/pool/

Bring this back in line with changes to APR.

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

23 years agos/cont/pool/
David Reid [Sat, 7 Jul 2001 16:20:45 +0000 (16:20 +0000)]
s/cont/pool/

This gets us building again after the change in APR.

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

23 years agoGrrr.. Cliff warned me about this. APR should return APR_SUCCESS with
Bill Stoddard [Fri, 6 Jul 2001 19:49:47 +0000 (19:49 +0000)]
Grrr.. Cliff warned me about this.  APR should return APR_SUCCESS with
zero bytes read rather than APR_EOF. Will work on APR later...

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

23 years agoAdd error message and return if we fail reading from a bucket in the
Bill Stoddard [Fri, 6 Jul 2001 18:41:56 +0000 (18:41 +0000)]
Add error message and return if we fail reading from a bucket in the
core_outout_filter(). core_output_filter() is in need of a rewrite, it is
getting quite crufty.

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

23 years agoemulate_sendfile() is a better name for what this function does. No function
Bill Stoddard [Fri, 6 Jul 2001 18:07:24 +0000 (18:07 +0000)]
emulate_sendfile() is a better name for what this function does.  No function
change is made by this patch, only a static function name change.

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

23 years agoReimplement content length filter to fix problem where all output from
Bill Stoddard [Fri, 6 Jul 2001 00:28:41 +0000 (00:28 +0000)]
Reimplement content length filter to fix problem where all output from
CGI scripts was being buffered in the brigade before any of it was
written to the network. cl filter now honors flush and implements a
buffer threshold.

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

23 years ago Catch up with rbb's last httpd-std.conf commit
William A. Rowe Jr [Thu, 5 Jul 2001 23:00:27 +0000 (23:00 +0000)]
  Catch up with rbb's last httpd-std.conf commit

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

23 years agoDo non-blocking reads from pipes in the content-length filter.
Bill Stoddard [Thu, 5 Jul 2001 14:58:03 +0000 (14:58 +0000)]
Do non-blocking reads from pipes in the content-length filter.

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

23 years agoinstall the man pages when we install everything else.
Ryan Bloom [Thu, 5 Jul 2001 05:25:19 +0000 (05:25 +0000)]
install the man pages when we install everything else.
PR: 7754

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

23 years agoAdd documentation for mod_suexec. And add a note in the old docs
Ryan Bloom [Thu, 5 Jul 2001 04:27:56 +0000 (04:27 +0000)]
Add documentation for mod_suexec.  And add a note in the old docs
about User that SuexecUserGroup now replaces putting User/Group directives
inside of VirtualHosts.
PR: 7634

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

23 years agoThe ExtendedStatus directive was added back to mod_status when we
Ryan Bloom [Thu, 5 Jul 2001 01:23:00 +0000 (01:23 +0000)]
The ExtendedStatus directive was added back to mod_status when we
re-vamped that module before the first beta.  Since we put the directive
back, we should put it into the default config file.
PR: 7937

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

23 years agoHaving gone through and expnaded out the hook macro it seemed a waste
David Reid [Wed, 4 Jul 2001 03:16:33 +0000 (03:16 +0000)]
Having gone through and expnaded out the hook macro it seemed a waste
to throw it away, so here it is added as comments for people who are
in the same place I was trying to debug what was going on inside a hook.

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

23 years agoFix the forking/killing logic in the threaded MPM. The problem we were
Ryan Bloom [Tue, 3 Jul 2001 13:58:10 +0000 (13:58 +0000)]
Fix the forking/killing logic in the threaded MPM.  The problem we were
seeing with the server eating itself wasn't because we were comparing
the idle_thread_count and min/max spare servers wrong.  It was because
we were counting idle_thread_count incorrectly.  This fixes that problem.

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

23 years agoThis fixes the problem of the server not starting new processes to keep
Ryan Bloom [Tue, 3 Jul 2001 05:16:33 +0000 (05:16 +0000)]
This fixes the problem of the server not starting new processes to keep
up with a heavy load.  The server still doesn't kill processes correctly,
so we need to fix that, but we are closer now.

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

23 years agoHow do YOU spell "threshold"? =-)
Cliff Woolley [Mon, 2 Jul 2001 14:38:43 +0000 (14:38 +0000)]
How do YOU spell "threshold"?  =-)

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

23 years agoMove the heading for 2.0.19 down to where it goes and add a note about
Cliff Woolley [Mon, 2 Jul 2001 14:36:35 +0000 (14:36 +0000)]
Move the heading for 2.0.19 down to where it goes and add a note about
having fixed the threaded MPM bug that killed 2.0.19 in the first place.

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

23 years agoMissed this yesterday...
Bill Stoddard [Mon, 2 Jul 2001 13:38:41 +0000 (13:38 +0000)]
Missed this yesterday...

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

23 years agoComment on some brokeness. These are show stoppers...
Bill Stoddard [Mon, 2 Jul 2001 13:28:47 +0000 (13:28 +0000)]
Comment on some brokeness. These are show stoppers...

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

23 years agoRemove a couple of extraneous calls to apr_brigade_cleanup()
Victor J. Orlikowski [Mon, 2 Jul 2001 03:37:37 +0000 (03:37 +0000)]
Remove a couple of extraneous calls to apr_brigade_cleanup()

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

23 years agoFix the threaded MPM perform_idle_server_maintenance. Basically, we now
Ryan Bloom [Sun, 1 Jul 2001 22:49:31 +0000 (22:49 +0000)]
Fix the threaded MPM perform_idle_server_maintenance.  Basically, we now
count how many threads are actually idle, regardless of which process they
are in.  This patch makes us use (min_spare_threads|max_spare_threads)
* number_of_running_servers to determine if we should kill of processes or
start new ones.  This MPM no longer thrashes killing child processes as
soon as they are created, and the server continues to serve requests even
if the server is gracefully restarted and each child has one active thread.

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

23 years agoIt's very sunny outside, but I'm stuck inside stripping paint off windows
Ryan Bloom [Sun, 1 Jul 2001 21:09:40 +0000 (21:09 +0000)]
It's very sunny outside, but I'm stuck inside stripping paint off windows
:-(

Just removing some status items that have been done for a long time.

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

23 years agoFix abort code path for HTTP proxy. Similar to Victor's patch for FTP
Chuck Murcko [Sat, 30 Jun 2001 04:50:31 +0000 (04:50 +0000)]
Fix abort code path for HTTP proxy. Similar to Victor's patch for FTP
proxy. No, Julia, it really *is* a double negative.

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

23 years agoFix the code, to properly handle the case of the user aborting the connection
Victor J. Orlikowski [Fri, 29 Jun 2001 22:22:19 +0000 (22:22 +0000)]
Fix the code, to properly handle the case of the user aborting the connection
or the connection being broken.

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

23 years agoFTP return code variable cleanup; fixed login bug (same var used for
Chuck Murcko [Fri, 29 Jun 2001 00:12:08 +0000 (00:12 +0000)]
FTP return code variable cleanup; fixed login bug (same var used for
return code and loop index)

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

23 years agofix some warnings (mostly unused variables)
Jeff Trawick [Thu, 28 Jun 2001 22:15:53 +0000 (22:15 +0000)]
fix some warnings (mostly unused variables)

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

23 years agoClose the sockets, the right way this time.
Victor J. Orlikowski [Thu, 28 Jun 2001 21:29:19 +0000 (21:29 +0000)]
Close the sockets, the right way this time.
Use the ones that the connections are using, rather
than those used to initialize the connection.

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

23 years agoUse the variable we've been using for return codes.
Victor J. Orlikowski [Thu, 28 Jun 2001 20:40:51 +0000 (20:40 +0000)]
Use the variable we've been using for return codes.

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

23 years agoGet the messages returned from the FTP Server in order.
Victor J. Orlikowski [Thu, 28 Jun 2001 20:29:45 +0000 (20:29 +0000)]
Get the messages returned from the FTP Server in order.
Otherwise we break RFC959.

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

23 years agoJust the facts, ma'am.
Victor J. Orlikowski [Thu, 28 Jun 2001 19:20:03 +0000 (19:20 +0000)]
Just the facts, ma'am.

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

23 years agoPORT works again. Syntax was what had killed it.
Victor J. Orlikowski [Thu, 28 Jun 2001 18:59:07 +0000 (18:59 +0000)]
PORT works again. Syntax was what had killed it.

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

23 years agoMaybe this will get PORT working again....
Victor J. Orlikowski [Thu, 28 Jun 2001 18:34:59 +0000 (18:34 +0000)]
Maybe this will get PORT working again....
break inside a switch statement inside a for loop
breaks out of the switch statement, not the for loop.

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

23 years agoLast check-in went awry.
Victor J. Orlikowski [Thu, 28 Jun 2001 18:01:21 +0000 (18:01 +0000)]
Last check-in went awry.
Here is the intended message.

Put the QUIT command back.
Basically, when a LIST occurs, origin is not available for reading until the data connection
is closed in passive mode.
This takes care of that.

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