]> granicus.if.org Git - apache/log
apache
23 years agoExit the child main thread in make_child on child exit. This fixes a problem
Bill Stoddard [Thu, 22 Mar 2001 19:29:09 +0000 (19:29 +0000)]
Exit the child main thread in make_child on child exit.  This fixes a problem
where the child main thread was looping in make_child() forking errant processes.

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

23 years agoGet rid of some warnings which crept into the Unix MPMs a
Jeff Trawick [Thu, 22 Mar 2001 12:32:21 +0000 (12:32 +0000)]
Get rid of some warnings which crept into the Unix MPMs a
few days ago.

mpm_common.h started referencing AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES
but did not include the header file where this might be defined.

The result was no prototype for ap_reclaim_child_processes() on
platforms which needed it.

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

23 years agoFix a major security problem with double-reverse lookup checking.
Jeff Trawick [Thu, 22 Mar 2001 10:03:29 +0000 (10:03 +0000)]
Fix a major security problem with double-reverse lookup checking.
Previously, a client connecting over IPv4 would not be matched
properly when the server had an IPv6 listening socket.

PR:       7407
Submitted by: Taketo Kabe <kiabe@sra-tohoku.co.jp>
Reviewed by:  Jeff Trawick

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

23 years ago Address a build problem for VC7.0/PSDK headers identified by
William A. Rowe Jr [Thu, 22 Mar 2001 06:01:19 +0000 (06:01 +0000)]
  Address a build problem for VC7.0/PSDK headers identified by
  Jerker B�ck <info.jelmar@telia.com>.  This isn't the only
  workaround possible, but IWFM.  VC6/7 users please confirm.

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

23 years ago This should wrap this freshen up
William A. Rowe Jr [Thu, 22 Mar 2001 05:56:59 +0000 (05:56 +0000)]
  This should wrap this freshen up

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

23 years agoUpdated Welcome page translation for Brazilian Portugese
Joshua Slive [Thu, 22 Mar 2001 05:32:05 +0000 (05:32 +0000)]
Updated Welcome page translation for Brazilian Portugese

Submitted by:    Ricardo Oliva <rfoliva@home.com>

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

23 years agoupdate on daedalus.
Greg Ames [Wed, 21 Mar 2001 19:09:22 +0000 (19:09 +0000)]
update on daedalus.

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

23 years agoAdd a not to the CHANGES file now that I've had confirmation that the
David Reid [Wed, 21 Mar 2001 16:24:46 +0000 (16:24 +0000)]
Add a not to the CHANGES file now that I've had confirmation that the
changes made last night actually work :)

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

23 years agoThis change actually gets beos shutting down and restarting!
David Reid [Wed, 21 Mar 2001 06:42:38 +0000 (06:42 +0000)]
This change actually gets beos shutting down and restarting!

It's not perfect, but it's a long way towards it.  The problem turned out
to be simple, we weren't resetting the poll selections before we went into
poll for the second time.  Not sure if this means our poll impl. using
select is broken or not?

It also changes us to use the new UDP in APR.  With these changes and some
restructuring in the worker_thread and I'm done for tonight!

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

23 years agoback out the logging of read errors in getline. daedalus was logging
Greg Ames [Wed, 21 Mar 2001 02:20:00 +0000 (02:20 +0000)]
back out the logging of read errors in getline.  daedalus was logging
boatloads of "(54)Connection reset by peer: ap_get_brigade() failed" errors.

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

23 years agoEmpty out the brigade shared by ap_getline()/ap_get_client_block()
Jeff Trawick [Tue, 20 Mar 2001 21:40:50 +0000 (21:40 +0000)]
Empty out the brigade shared by ap_getline()/ap_get_client_block()
on error exit from ap_getline().  Some other code got upset because
the wrong data was in the brigade.

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

23 years agoAdded my public key to the list.
Paul J. Reder [Tue, 20 Mar 2001 19:03:13 +0000 (19:03 +0000)]
Added my public key to the list.

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

23 years agoHandle ap_discard_request_body() being called more than once.
Jeff Trawick [Mon, 19 Mar 2001 21:54:57 +0000 (21:54 +0000)]
Handle ap_discard_request_body() being called more than once.

Add a debug assertion to verify that c->remain is zero when a new
request starts.  ap_http_filter() does the wrong thing otherwise.

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

23 years agoremove descriptions of daedalus problems which are apparently fixed.
Greg Ames [Mon, 19 Mar 2001 19:48:07 +0000 (19:48 +0000)]
remove descriptions of daedalus problems which are apparently fixed.

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

23 years agoFix a problem in mod_mime_magic where file descriptor 2 would be
Jeff Trawick [Mon, 19 Mar 2001 16:07:59 +0000 (16:07 +0000)]
Fix a problem in mod_mime_magic where file descriptor 2 would be
inadvertently closed.  This logic was in the uncompress child in 1.3
but was in the parent in 2.0.

uncompress_child() was renamed to create_uncompress_child() to reflect
a change in use since 1.3.

A note was added about missing 1.3 logic for doing something with the
stderr of the uncompress process.

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

23 years agoDeclaration of ap_reclaim_child_processes() in exports.c needs to be
Brian Havard [Mon, 19 Mar 2001 13:07:28 +0000 (13:07 +0000)]
Declaration of ap_reclaim_child_processes() in exports.c needs to be
conditional in the same way that the function's definition is so give it a
suitable macro that will be recogized by the scripts that make exports.c.

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

23 years agoUnder OS/2's emx gcc (and maybe others) uninitialized global variables don't
Brian Havard [Mon, 19 Mar 2001 13:01:20 +0000 (13:01 +0000)]
Under OS/2's emx gcc (and maybe others) uninitialized global variables don't
get exported so initialize ap_ugly_hack to something.

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

23 years agoreorganize STATUS; update copyright
Chuck Murcko [Mon, 19 Mar 2001 08:54:41 +0000 (08:54 +0000)]
reorganize STATUS; update copyright

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

23 years agoThe mod_proxy side of Graham's Auth patch
Chuck Murcko [Sun, 18 Mar 2001 04:56:26 +0000 (04:56 +0000)]
The mod_proxy side of Graham's Auth patch
Obtained from: Graham Leggett
Reviewed by: Chuck Murcko

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

23 years agoAdd a hook, create_request. This hook allows modules to modify
Ryan Bloom [Sun, 18 Mar 2001 02:33:23 +0000 (02:33 +0000)]
Add a hook, create_request.  This hook allows modules to modify
a request while it is being created.  This hook is called for all
request_rec's, main request, sub request, and internal redirect.
When this hook is called, the the r->main, r->prev, r->next
pointers have been set, so modules can determine what kind of
request this is.

Currently, this is only used by the core module, but protocol modules
are going to need to have the ability to affect the request while it is
being read.

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

23 years agoMore doxygenation.
Ben Laurie [Sat, 17 Mar 2001 15:58:09 +0000 (15:58 +0000)]
More doxygenation.

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

23 years agoCleanup the build process a bit more. The Apache configure
Ryan Bloom [Fri, 16 Mar 2001 23:04:56 +0000 (23:04 +0000)]
Cleanup the build process a bit more.  The Apache configure
script no longer creates its own helper scripts, it just
uses APR's.
Submitted by: jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>

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

23 years agoStops the forced downgrade of the connection to HTTP/1.0 for proxy requests.
Chuck Murcko [Fri, 16 Mar 2001 07:37:12 +0000 (07:37 +0000)]
Stops the forced downgrade of the connection to HTTP/1.0 for proxy requests.
Submitted by: Graham Leggett
Reviewed by: Chuck Murcko

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

23 years agoThis is a fix that went into v1.3 quite a while back, but not into v2.0.
Chuck Murcko [Fri, 16 Mar 2001 07:28:08 +0000 (07:28 +0000)]
This is a fix that went into v1.3 quite a while back, but not into v2.0.
It sorts out the problem when a password protected reverse proxy URL
sends a Proxy-Authenticate to a browser instead of a WWW-Authenticate.

This patch covers the changes to the httpd-2.0 tree.

Submitted by: Graham Leggett
Reviewed by: Chuck Murcko

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

23 years agochange INADDR_NONE to APR_INADDR_NONE
Chuck Murcko [Fri, 16 Mar 2001 05:49:51 +0000 (05:49 +0000)]
change INADDR_NONE to APR_INADDR_NONE
Submitted by: Ian Holsman <IanH@cnet.com>
Reviewed by: Chuck Murcko

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

23 years ago Fix dbmmanage.pl generation for Win32
William A. Rowe Jr [Fri, 16 Mar 2001 04:18:41 +0000 (04:18 +0000)]
  Fix dbmmanage.pl generation for Win32

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

23 years agoAvoid using sscanf to determine the HTTP protocol number in
Bill Stoddard [Fri, 16 Mar 2001 04:17:38 +0000 (04:17 +0000)]
Avoid using sscanf to determine the HTTP protocol number in
the common case because sscanf is a performance hog. From
Mike Abbot's Accelerating Apache patch number 6.

Submitted by: Mike Abbot <mja@trudge.engr.sgi.com>
Reviewed by: Bill Stoddard

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

23 years ago Fix a security exposure in mod_access. Previously when IPv6
Jeff Trawick [Thu, 15 Mar 2001 22:09:27 +0000 (22:09 +0000)]
 Fix a security exposure in mod_access.  Previously when IPv6
listening sockets were used, allow/deny-from-IPv4-address rules
were not evaluated properly (PR #7407).  Also, add the ability to
specify IPv6 address strings with optional prefix length on Allow
and Deny.

Note: A bit more of PR #7407 remains dealing with a problem with
double-reverse lookups when an IPv6 listening socket is used.

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

23 years agoInclude some newly-generated files in .cvsignore.
Jeff Trawick [Thu, 15 Mar 2001 12:07:29 +0000 (12:07 +0000)]
Include some newly-generated files in .cvsignore.

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

23 years agoPull in the Connection handling part of the v1.3 patch for HTTP/1.1.
Graham Leggett [Wed, 14 Mar 2001 21:16:41 +0000 (21:16 +0000)]
Pull in the Connection handling part of the v1.3 patch for HTTP/1.1.
Some preliminary HTTP/1.1 work
Some comments and fixes
PR:
Obtained from:
Reviewed by:

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

23 years agodbmmanage, log_server_status, et al are now generated files; get them
Jeff Trawick [Wed, 14 Mar 2001 12:17:41 +0000 (12:17 +0000)]
dbmmanage, log_server_status, et al are now generated files; get them
out of CVS

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

23 years agofix a sprintf() format string; use APR_OFF_T_FMT for apr_off_t as %ld
Jeff Trawick [Wed, 14 Mar 2001 02:32:03 +0000 (02:32 +0000)]
fix a sprintf() format string; use APR_OFF_T_FMT for apr_off_t as %ld
doesn't work everywhere (e.g., FreeBSD)

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

23 years agoinclude string.h for the strstr() prototype
Jeff Trawick [Wed, 14 Mar 2001 02:28:23 +0000 (02:28 +0000)]
include string.h for the strstr() prototype

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

23 years agoCheck in not-quite-working hooks groupings.
Ben Laurie [Tue, 13 Mar 2001 22:20:55 +0000 (22:20 +0000)]
Check in not-quite-working hooks groupings.

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

23 years agosmall updates on daedalus
Greg Ames [Tue, 13 Mar 2001 22:09:32 +0000 (22:09 +0000)]
small updates on daedalus

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

23 years ago Enhance customisability of rotatelogs: strftime(3)
Ken Coar [Tue, 13 Mar 2001 21:25:28 +0000 (21:25 +0000)]
Enhance customisability of rotatelogs: strftime(3)
formatting of filename and offset from UTC.

Reviewed by: Greg Stein, David Reid, OtherBill

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

23 years ago*) mod_dav.c: allow PUT to a WORKING resource (this actually the only valid
Greg Stein [Tue, 13 Mar 2001 02:13:55 +0000 (02:13 +0000)]
*) mod_dav.c: allow PUT to a WORKING resource (this actually the only valid
   place to do a PUT(!))

*) util.c: add a comment. allow validation to proceed without a lock
   database (the rest of the code supported it; one erroneous check disabled
   that work)

*) util_lock.c: allow dav_unlock() to be a no-op when a lock provide isn't
   present; this allows DELETE to work.

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

23 years agoConsolidate ap_max_requests_per_child and max_requests_per_child vars. Move
Bill Stoddard [Mon, 12 Mar 2001 18:10:49 +0000 (18:10 +0000)]
Consolidate ap_max_requests_per_child and max_requests_per_child vars. Move
some vars closer to where they are used (listenfds, et, al)

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

23 years agoSome mpm_winnt module clean-up to make it more readable.
Bill Stoddard [Mon, 12 Mar 2001 18:01:23 +0000 (18:01 +0000)]
Some mpm_winnt module clean-up to make it more readable.

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

23 years agoGet rid of useless function call overhead.
Bill Stoddard [Mon, 12 Mar 2001 17:37:02 +0000 (17:37 +0000)]
Get rid of useless function call overhead.

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

23 years ago *) Reimplement the Windows MPM (mpm_winnt.c) to eliminate calling
Bill Stoddard [Mon, 12 Mar 2001 17:29:02 +0000 (17:29 +0000)]
  *) Reimplement the Windows MPM (mpm_winnt.c) to eliminate calling
     DuplicateHandle on an IOCompletionPort (a practice which
     MS "discourages"). The new model does not rely on associating
     the completion port with the listening sockets, thus the
     completion port can be completely managed within the child
     process.  A dedicated thread accepts connections off the network,
     then calls PostQueuedCompletionStatus() to wake up worker
     threads blocked on the completion port.
     [Bill Stoddard]

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

23 years ago Bring the other Perl scripts into the autoconf-edited
Ken Coar [Sun, 11 Mar 2001 23:40:47 +0000 (23:40 +0000)]
Bring the other Perl scripts into the autoconf-edited
find-the-interpreter fold, like apxs and apachectl.

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

23 years agoMore doxygenation.
Ben Laurie [Sun, 11 Mar 2001 23:24:56 +0000 (23:24 +0000)]
More doxygenation.

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

23 years ago Bring forward the suexec umask setting option from 1.3, and
Ken Coar [Sun, 11 Mar 2001 23:22:32 +0000 (23:22 +0000)]
Bring forward the suexec umask setting option from 1.3, and
also fix some configure.in bits that would define macros
that needed to be numbers as strings instead.

Obtained from: Apache HTTP Server 1.3

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

23 years agoMake emacs indent top-level comments in headers correctly.
Ben Laurie [Sun, 11 Mar 2001 20:49:37 +0000 (20:49 +0000)]
Make emacs indent top-level comments in headers correctly.

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

23 years agoOtherBill told me last night that I never bumped for 2.0.15. Whoops.
Ryan Bloom [Sun, 11 Mar 2001 15:01:18 +0000 (15:01 +0000)]
OtherBill told me last night that I never bumped for 2.0.15.  Whoops.

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

23 years agoFirst step in doxygen conversion.
Ben Laurie [Sun, 11 Mar 2001 14:54:13 +0000 (14:54 +0000)]
First step in doxygen conversion.

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

23 years agoactually dump the cache code
Chuck Murcko [Sun, 11 Mar 2001 11:55:33 +0000 (11:55 +0000)]
actually dump the cache code
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoremove ProxyNoCache and ProxyCacheForceCompletion config directives,
Chuck Murcko [Sun, 11 Mar 2001 11:08:22 +0000 (11:08 +0000)]
remove ProxyNoCache and ProxyCacheForceCompletion config directives,
since we no longer directly cache from this module
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoCache removed, with other spooge
Chuck Murcko [Sun, 11 Mar 2001 10:42:14 +0000 (10:42 +0000)]
Cache removed, with other spooge
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoVirtual host config file fix backported from v1.3
Graham Leggett [Sat, 10 Mar 2001 21:19:21 +0000 (21:19 +0000)]
Virtual host config file fix backported from v1.3
PR:
Obtained from:
Reviewed by:

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

23 years agotweak ap_get_remote_host() so that the caller can find out if she got
Jeff Trawick [Fri, 9 Mar 2001 20:30:34 +0000 (20:30 +0000)]
tweak ap_get_remote_host() so that the caller can find out if she got
back an IP address

mod_access needed to know this, but the old code didn't handle IPv6

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

23 years ago Bring forward the -V option for suexec from 1.3.20-dev. It looks
Ken Coar [Fri, 9 Mar 2001 20:20:31 +0000 (20:20 +0000)]
Bring forward the -V option for suexec from 1.3.20-dev.  It looks
like the umask() option needs to be brought forward, as well.
Is this still 2.0.14-dev?

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

23 years agoFix a Windows seg fault on startup when multiple listen directives are being used.
Bill Stoddard [Fri, 9 Mar 2001 18:28:55 +0000 (18:28 +0000)]
Fix a Windows seg fault on startup when multiple listen directives are being used.

The pool pointer in the local address field in apr_sock_t is not initialized until a
request is received.  in general, we should not rely on the addressed in apr_sock_t
when doing work on the listen_recs.

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

23 years agodon't try to install expat, since it isn't there anymore.
Ryan Bloom [Fri, 9 Mar 2001 04:36:48 +0000 (04:36 +0000)]
don't try to install expat, since it isn't there anymore.

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

23 years agoAlways clear the C-L if we are going to try to parse the file. It is
Ryan Bloom [Thu, 8 Mar 2001 20:03:37 +0000 (20:03 +0000)]
Always clear the C-L if we are going to try to parse the file.  It is
impossible for us to determine if there is going to be an SSI tag in the
file until we have actually scanned it all.  By that time, it is likely
that the first chunk of data, and the headers have been sent to the client,
and it is too late to clear the C-L.  If we are parsing the file, we have
to just assume we are going to change the content.

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

23 years agoGet us closer to building on Unix. Not perfect yet, but we no longer
Ryan Bloom [Thu, 8 Mar 2001 18:20:25 +0000 (18:20 +0000)]
Get us closer to building on Unix.  Not perfect yet, but we no longer
should look for expat in srclib.

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

23 years ago Goodbye srclib/expat ... completes the build for srclib/apr-util/xml/expat
William A. Rowe Jr [Thu, 8 Mar 2001 16:12:34 +0000 (16:12 +0000)]
  Goodbye srclib/expat ... completes the build for srclib/apr-util/xml/expat

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

23 years ago Refreshing the .mak files. Dang... should have done this in the a.m.
William A. Rowe Jr [Thu, 8 Mar 2001 05:38:17 +0000 (05:38 +0000)]
  Refreshing the .mak files.  Dang... should have done this in the a.m.

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

23 years ago A one line snafu becomes a big one... sorry, forgot to transpose this.
William A. Rowe Jr [Thu, 8 Mar 2001 05:19:47 +0000 (05:19 +0000)]
  A one line snafu becomes a big one... sorry, forgot to transpose this.

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

23 years ago Minor snafu - wrong intermediate build path
William A. Rowe Jr [Thu, 8 Mar 2001 05:05:06 +0000 (05:05 +0000)]
  Minor snafu - wrong intermediate build path

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

23 years agoUpdate the STATUS for the current situation
Ryan Bloom [Thu, 8 Mar 2001 04:42:46 +0000 (04:42 +0000)]
Update the STATUS for the current situation

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

23 years agoturn on setuid permissions when installing suexec
Greg Ames [Wed, 7 Mar 2001 23:13:55 +0000 (23:13 +0000)]
turn on setuid permissions when installing suexec

Submitted by: Ken Coar

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

23 years agoWhat ever happened to that blizzard we were supposed to get?
Cliff Woolley [Wed, 7 Mar 2001 20:11:50 +0000 (20:11 +0000)]
What ever happened to that blizzard we were supposed to get?

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

23 years agoBump for version 2.0.14
Ryan Bloom [Wed, 7 Mar 2001 19:13:37 +0000 (19:13 +0000)]
Bump for version 2.0.14

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

23 years agoFix content-length computation. We ONLY compute a content-length if
Ryan Bloom [Wed, 7 Mar 2001 17:01:28 +0000 (17:01 +0000)]
Fix content-length computation.  We ONLY compute a content-length if
We are not in a 1.1 request and we cannot chunk, and this is a keepalive
or we already have all the data.

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

23 years agoA little more information on the problems seen on Daedalus with 2.0,
Cliff Woolley [Wed, 7 Mar 2001 00:10:19 +0000 (00:10 +0000)]
A little more information on the problems seen on Daedalus with 2.0,
plus a note about another problem that apparently fell through the cracks.

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

23 years agolog our unresolved problems from daedalus in a visible place.
Greg Ames [Tue, 6 Mar 2001 23:12:10 +0000 (23:12 +0000)]
log our unresolved problems from daedalus in a visible place.

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

23 years agoReport unbounded containers in the config file. Previously, a typo
Jeff Trawick [Tue, 6 Mar 2001 21:46:12 +0000 (21:46 +0000)]
Report unbounded containers in the config file.  Previously, a typo
in the </container> directive could result in the rest of the config
file being silently ignored, with undesired defaults used.

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

23 years agoFix a screw up of my own invention. I must be getting senile.
Victor J. Orlikowski [Tue, 6 Mar 2001 02:41:47 +0000 (02:41 +0000)]
Fix a screw up of my own invention. I must be getting senile.

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

23 years agoUpdates to the symbol file, in an attempt to finally repair DSOs on AIX.
Victor J. Orlikowski [Tue, 6 Mar 2001 02:31:16 +0000 (02:31 +0000)]
Updates to the symbol file, in an attempt to finally repair DSOs on AIX.

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

23 years agoRely on APR to determine whether or not we have netinet/tcp.h. This test
Jeff Trawick [Mon, 5 Mar 2001 20:15:15 +0000 (20:15 +0000)]
Rely on APR to determine whether or not we have netinet/tcp.h.  This test
requires a special work-around for IRIX 6.5, which will be in APR soon.
There is no need for it in Apache.

The include of netinet/tcp.h was removed from perchild.c and threaded.c.
They no longer seem to be needed there.

PR: 6459

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

23 years agoMake the old_write filter use the ap_f* functions for buffering the data.
Ryan Bloom [Mon, 5 Mar 2001 06:16:28 +0000 (06:16 +0000)]
Make the old_write filter use the ap_f* functions for buffering the data.
This has been tested with a couple of directory listings, but it could
probably use a bit more testing before being declared stable.

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

23 years agoAnother chunk of code from http to core. This should continue to build
Ryan Bloom [Mon, 5 Mar 2001 04:43:56 +0000 (04:43 +0000)]
Another chunk of code from http to core.  This should continue to build
on all platforms.  The next job is to shuffle functions back and forth
so that the server builds without mod_http.

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

23 years ago Win32 goodness for the core/http split.
William A. Rowe Jr [Sun, 4 Mar 2001 22:41:41 +0000 (22:41 +0000)]
  Win32 goodness for the core/http split.

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

23 years agoGet the beos mpm building again following the recent addition of the
David Reid [Sun, 4 Mar 2001 18:13:32 +0000 (18:13 +0000)]
Get the beos mpm building again following the recent addition of the
MPM query API.

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

23 years agoThe ap_r* vote is now over. The decision was decidedly for the OLD_WRITE
Ryan Bloom [Sun, 4 Mar 2001 17:44:07 +0000 (17:44 +0000)]
The ap_r* vote is now over.  The decision was decidedly for the OLD_WRITE
filter.  This adds a note in the STATUS file to ensure that it gets
modified to use the correct functions before we release.

For completeness, the vote was:

macros: rbb wrowe
old_write: gstein stoddard coar ben jwoolley

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

23 years agoMove more code from the http module into the core server. This
Ryan Bloom [Sun, 4 Mar 2001 06:27:27 +0000 (06:27 +0000)]
Move more code from the http module into the core server.  This
is core code, basically the default handler, the default input
and output filters, and all of the core configuration directives.
All of this code is required in order for the server to work, with or
without HTTP.  The server is closer to working without the HTTP
module, although there is still more to do.

I tried to fix Windows, but somebody should probably make sure I did
it correctly.

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

23 years agomention the changes to Apache for PR #6980
Jeff Trawick [Sat, 3 Mar 2001 02:29:40 +0000 (02:29 +0000)]
mention the changes to Apache for PR #6980

PR: 6980

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

23 years agoUse a proper prototype for ap_show_directives() and ap_show_modules() so
Jeff Trawick [Sat, 3 Mar 2001 02:13:49 +0000 (02:13 +0000)]
Use a proper prototype for ap_show_directives() and ap_show_modules() so
that they match their prototypes in http_config.h.

PR: 6980

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

23 years agoGet rid of unnecessary apr_status_t variables in a couple of functions.
Jeff Trawick [Sat, 3 Mar 2001 02:01:30 +0000 (02:01 +0000)]
Get rid of unnecessary apr_status_t variables in a couple of functions.

In load_file(), use apr_dso_error() instead of apr_strerror() to build
an error message after a apr_dso_load() failure.

PR: 6980

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

23 years agoFix some APR-ization issues:
Jeff Trawick [Sat, 3 Mar 2001 01:46:16 +0000 (01:46 +0000)]
Fix some APR-ization issues:

1) we're using an apr_time_t file mtime, but trying to fit it in
   a time_t entry in the cache and in parameters to the cache
   access routines; use apr_time_t everywhere

2) we need to use apr_fileperms_t instead of mode_t for APR
   file permissions

PR: 6980

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

23 years agopurple, yellow, and aqua.
Greg Stein [Sat, 3 Mar 2001 01:07:00 +0000 (01:07 +0000)]
purple, yellow, and aqua.

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

23 years agoAllow modules to query the MPM about it's execution profile. This
Ryan Bloom [Fri, 2 Mar 2001 22:46:33 +0000 (22:46 +0000)]
Allow modules to query the MPM about it's execution profile.  This
query API can and should be extended in the future, but for now,
max_daemons, and threading or forking is a very good start.

Non-Unix MPM's do have the MPM query function, although there is no
garauntee that the information is perfect, please check.

Submitted by: Jon Travis <jtravis@covalent.net>

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

23 years agoIn ap_method_in_list(), fix a typo which inadvertently cleared
Jeff Trawick [Fri, 2 Mar 2001 22:05:39 +0000 (22:05 +0000)]
In ap_method_in_list(), fix a typo which inadvertently cleared
l->method_list.

PR: 6980

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

23 years agoget rid of unused parameter filename to function get_req()
Jeff Trawick [Fri, 2 Mar 2001 22:00:30 +0000 (22:00 +0000)]
get rid of unused parameter filename to function get_req()

PR: 6980

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

23 years agono need to calculate the config file name in display_info() since we
Jeff Trawick [Fri, 2 Mar 2001 21:51:00 +0000 (21:51 +0000)]
no need to calculate the config file name in display_info() since we
don't have to read it

PR: 6980

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

23 years agoget rid of unused variable b_copy in function handle_echo()
Jeff Trawick [Fri, 2 Mar 2001 21:44:14 +0000 (21:44 +0000)]
get rid of unused variable b_copy in function handle_echo()

PR: 6980

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

23 years agoBack out an unintended commit from a minute ago. Ouch!
Jeff Trawick [Fri, 2 Mar 2001 21:38:29 +0000 (21:38 +0000)]
Back out an unintended commit from a minute ago.  Ouch!

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

23 years agoUse the proper enum for the block/non-block parameter to apr_bucket_read().
Jeff Trawick [Fri, 2 Mar 2001 21:36:21 +0000 (21:36 +0000)]
Use the proper enum for the block/non-block parameter to apr_bucket_read().
A couple of these changed in meaning (e.g., 1->APR_BLOCK_READ).

PR: 6980

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

23 years agoin rfc1413_query():
Jeff Trawick [Fri, 2 Mar 2001 19:46:08 +0000 (19:46 +0000)]
in rfc1413_query():
  use the buflen variable even on ASCII machines to get rid of a
  warning from the SGI compiler as well as to make it go a wee
  bit faster

PR: 6980

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

23 years agofix the type of ap_my_pid and make it static since it is used
Jeff Trawick [Fri, 2 Mar 2001 18:52:23 +0000 (18:52 +0000)]
fix the type of ap_my_pid and make it static since it is used
in only one file per build (prefork.c or threaded.c)
PR: 6980

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

23 years agofix make install so that suexec is installed where the server expects to
Greg Ames [Fri, 2 Mar 2001 15:46:14 +0000 (15:46 +0000)]
fix make install so that suexec is installed where the server expects to
find it ( <prefix>/sbin by default).

also enable ./configure --sbindir=DIR to work as advertised.

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

23 years agoModify mod_include to send blocks of data no larger than 9k.
Ryan Bloom [Fri, 2 Mar 2001 06:58:00 +0000 (06:58 +0000)]
Modify mod_include to send blocks of data no larger than 9k.
Without this, mod_include will wait until the whole file is parsed,
or the first tag is found to send any data to the client.
Submitted by:   Paul J. Reder <rederpj@raleigh.ibm.com>

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

23 years agoFix mod_info, so that <Directory> and <Location> directives are
Ryan Bloom [Fri, 2 Mar 2001 05:50:05 +0000 (05:50 +0000)]
Fix mod_info, so that <Directory> and <Location> directives are
not displayed twice when displaying the current configuration.

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

23 years agoDon't directly include ap_config_auto.h directly. It isn't available on
Greg Stein [Thu, 1 Mar 2001 00:55:03 +0000 (00:55 +0000)]
Don't directly include ap_config_auto.h directly. It isn't available on
Windows platforms. Including ap_config.h will pick it up, or it will grab
the appropriate Windows header/defines.

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

23 years agoFix a problem displaying status when a threaded MPM is used.
Jeff Trawick [Wed, 28 Feb 2001 18:41:44 +0000 (18:41 +0000)]
Fix a problem displaying status when a threaded MPM is used.

The line

   int indx = (i * HARD_THREAD_LIMIT) + j;

in the vicinity of the change was bad; k needed to be added
instead of j.

I swapped the use of j and k in this section so that i and j
had the same meaning as in an earlier nested loop.  I suspect
that the difference in meaning is what led to the bug.

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

23 years agoPass the correct worker thread id to worker_thread() when the initial
Jeff Trawick [Wed, 28 Feb 2001 18:23:37 +0000 (18:23 +0000)]
Pass the correct worker thread id to worker_thread() when the initial
thread of the child process becomes a worker thread.

Prior to this, perchild segfaulted over and over at startup.

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

23 years ago More crufty stuff
William A. Rowe Jr [Wed, 28 Feb 2001 16:28:52 +0000 (16:28 +0000)]
  More crufty stuff

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

23 years ago Crufty stuff now gone [Ben indicated this was a first hack that was
William A. Rowe Jr [Wed, 28 Feb 2001 16:19:47 +0000 (16:19 +0000)]
  Crufty stuff now gone [Ben indicated this was a first hack that was
  never pursued.]

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