]> granicus.if.org Git - apache/log
apache
22 years agoWhoops, NULL is a macro, hence not available here
Cliff Woolley [Tue, 23 Apr 2002 22:15:56 +0000 (22:15 +0000)]
Whoops, NULL is a macro, hence not available here

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

22 years agoThe force-response-1.0 and downgrade-1.0 checks were swapped. This
Justin Erenkrantz [Tue, 23 Apr 2002 22:15:09 +0000 (22:15 +0000)]
The force-response-1.0 and downgrade-1.0 checks were swapped.  This
would mean that downgraded requests were ineligible for force-response
checks.

Previously, 1.3 would do the downgrade in process_request_internal and
then the force-response later on in basic_http_header.

PR: 8357

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

22 years agoI seem to recall this about FreeBSD
Jim Jagielski [Tue, 23 Apr 2002 12:38:51 +0000 (12:38 +0000)]
I seem to recall this about FreeBSD

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

22 years agoJust add a file to use to house some platform dependent knowledge...
Jim Jagielski [Tue, 23 Apr 2002 12:18:35 +0000 (12:18 +0000)]
Just add a file to use to house some platform dependent knowledge...
Right now, just some Darwin notes.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoSync to the latest English version.
Yoshiki Hayashi [Tue, 23 Apr 2002 10:21:22 +0000 (10:21 +0000)]
Sync to the latest English version.

Submitted by: Nobuyuki Morita <marika@plum.freemail.ne.jp>
Reviewd by: Yoshiki Hayashi

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

22 years agoSync to the latest English version.
Yoshiki Hayashi [Tue, 23 Apr 2002 10:20:00 +0000 (10:20 +0000)]
Sync to the latest English version.

Submitted by: Nobuyuki Morita <marika@plum.freemail.ne.jp>, Yoshiki Hayashi

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

22 years agos/.html.html/.html/
Yoshiki Hayashi [Tue, 23 Apr 2002 10:01:38 +0000 (10:01 +0000)]
s/.html.html/.html/

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

22 years agoClarify the remaining problems with Range: headers. The seg faults went away
Greg Ames [Mon, 22 Apr 2002 20:37:34 +0000 (20:37 +0000)]
Clarify the remaining problems with Range: headers.  The seg faults went away
when we changed ap_send_error_response to get rid of resource filters.

This was triggered because we generate a lot of invalid 416 responses for SSI.
That happens because the complete length of the entity body (response) isn't
known accurately until after the C/L filter runs.  That's C/L's job, after all.

Flipping the order of the byterange and C/L filters fixes the invalid
Content-Range headers and 416's.  But then the Content-Length header contains
the full length, rather than the sum of the returned ranges.  That's wrong, but
doesn't seem too hard to fix.

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

22 years agoThis one appears to have been fixed by Greg and Jeff in http_protocol.c
Cliff Woolley [Mon, 22 Apr 2002 19:41:41 +0000 (19:41 +0000)]
This one appears to have been fixed by Greg and Jeff in http_protocol.c
rev 1.408.

showstoppers--;

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

22 years agoFix perchild MPM so that it can be configured with the move to the
Ryan Bloom [Mon, 22 Apr 2002 18:57:12 +0000 (18:57 +0000)]
Fix perchild MPM so that it can be configured with the move to the
experimental directory.  Fix perchild MPM so that it uses ap_gname2id
for groups instead of ap_uname2id.

Submitted by: Scott Lamb <slamb@slamb.org>

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

22 years ago Fix this optimization. We will skip along so long as we aren't at the
William A. Rowe Jr [Mon, 22 Apr 2002 17:33:28 +0000 (17:33 +0000)]
  Fix this optimization.  We will skip along so long as we aren't at the
  right number of components, -or- we mismatch on the current component.

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

22 years ago Small optimization, if we are behind (at the 5th segment, for example),
William A. Rowe Jr [Mon, 22 Apr 2002 16:43:46 +0000 (16:43 +0000)]
  Small optimization, if we are behind (at the 5th segment, for example),
  catch up the segment-count-sorted directory list without string compares.
  Mostly affects win32 which jumps from seg 0 (root) to 4 for UNC path names.

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

22 years agoUpdate for APR rename of apr_get_groupname to apr_group_name_get.
Sander Striker [Mon, 22 Apr 2002 10:27:01 +0000 (10:27 +0000)]
Update for APR rename of apr_get_groupname to apr_group_name_get.

Submitted by: Thom May <thom@planetarytramp.net>

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

22 years agoAcceptPathInfo was totally backwards... it would reject when set to on and
Cliff Woolley [Mon, 22 Apr 2002 08:08:38 +0000 (08:08 +0000)]
AcceptPathInfo was totally backwards... it would reject when set to on and
by default and accept when set to off for the default handler, and would
reject only if set to accept for mod_cgi(d) and mod_isapi.

PR: 8234

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

22 years agoOptimization: short-circuit out of ap_set_byterange() more quickly if the
Brian Pane [Mon, 22 Apr 2002 05:05:50 +0000 (05:05 +0000)]
Optimization: short-circuit out of ap_set_byterange() more quickly if the
client isn't requesting a range

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

22 years agoSkip a potentially heavyweight call to sysconf, plus some
Brian Pane [Mon, 22 Apr 2002 04:48:11 +0000 (04:48 +0000)]
Skip a potentially heavyweight call to sysconf, plus some
local variable initializations, in the common case where the
request is not for the server status page

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

22 years agoAdded the APLOG_TOCLIENT flag to ap_log_rerror() to
Bill Stoddard [Mon, 22 Apr 2002 03:25:40 +0000 (03:25 +0000)]
Added the APLOG_TOCLIENT flag to ap_log_rerror() to
explicitly tell the server that warning messages should be sent
to the client in addition to being recorded in the error log.
Prior to this change, ap_log_rerror() always sent warning
messages to the client. In one case, a faulty CGI script caused
the server to send a warning message to the client that contained
the full path to the CGI script. This could be considered a
minor security exposure.

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

22 years agoFailure to fork cgid is a shooting offense.
Bill Stoddard [Mon, 22 Apr 2002 01:36:49 +0000 (01:36 +0000)]
Failure to fork cgid is a shooting offense.

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

22 years agoIgnore stuff
Cliff Woolley [Sun, 21 Apr 2002 21:09:16 +0000 (21:09 +0000)]
Ignore stuff

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

22 years agoFix HTML 3.2 validation error: &O is not a valid entity. Should be &amp;O
Cliff Woolley [Sun, 21 Apr 2002 19:10:07 +0000 (19:10 +0000)]
Fix HTML 3.2 validation error: &O is not a valid entity.  Should be &amp;O

Reported by: validator.w3.org

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

22 years agoFix mod_autoindex output with SuppressRules turned on.
Cliff Woolley [Sun, 21 Apr 2002 18:35:26 +0000 (18:35 +0000)]
Fix mod_autoindex output with SuppressRules turned on.

PR: 8016
Submitted by: David Shane Holden <dpejesh@yahoo.com>

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

22 years agoUse the day and month names exported from APR, rather than duplicating them
Brian Pane [Sun, 21 Apr 2002 08:41:01 +0000 (08:41 +0000)]
Use the day and month names exported from APR, rather than duplicating them

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

22 years agoAdded ap_recent_rfc822_date(), which uses the recent timestamp cache
Brian Pane [Sun, 21 Apr 2002 07:55:50 +0000 (07:55 +0000)]
Added ap_recent_rfc822_date(), which uses the recent timestamp cache
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoWorkaround to get leader/follower compiling on recent Linuxes:
Brian Pane [Sat, 20 Apr 2002 20:41:33 +0000 (20:41 +0000)]
Workaround to get leader/follower compiling on recent Linuxes:
apr_atomic.h includes some <asm/*.h> header files that clash
with stdlib.h, so I've moved apr_atomic.h so that it's included
after all the other header files.

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

22 years agoPropogate the change to insert "bucket_" into the names of the
Cliff Woolley [Sat, 20 Apr 2002 05:02:30 +0000 (05:02 +0000)]
Propogate the change to insert "bucket_" into the names of the
static functions that operate on various bucket types to make
backtraces more sensible-looking.

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

22 years agoum, one too many negatives in that paragraph. :)
Cliff Woolley [Fri, 19 Apr 2002 23:32:58 +0000 (23:32 +0000)]
um, one too many negatives in that paragraph.  :)

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

22 years agoshowstoppers--;
Cliff Woolley [Fri, 19 Apr 2002 23:31:35 +0000 (23:31 +0000)]
showstoppers--;

showstoppers+=2;  :-(  ...but these might have already been fixed, I just
                       never got a response on-list about them and wanted
                       to note them somewhere where they wouldn't be
                       forgotten

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

22 years agosomebody just wrote a PR on something Paul fixed earlier today;
Jeff Trawick [Fri, 19 Apr 2002 21:30:20 +0000 (21:30 +0000)]
somebody just wrote a PR on something Paul fixed earlier today;
mention that PR in the changelog

PR:      8314

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

22 years agoAdded the NetWare make files to build the proxy modules
Bradley Nicholes [Fri, 19 Apr 2002 21:01:16 +0000 (21:01 +0000)]
Added the NetWare make files to build the proxy modules

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

22 years agoAdded the NetWare .def files to build the proxy modules
Bradley Nicholes [Fri, 19 Apr 2002 21:00:27 +0000 (21:00 +0000)]
Added the NetWare .def files to build the proxy modules

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

22 years agoCorrected the NLM names for the proxy modules
Bradley Nicholes [Fri, 19 Apr 2002 20:57:52 +0000 (20:57 +0000)]
Corrected the NLM names for the proxy modules

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

22 years agoAdded new targets to the project build file to build the separate proxy modules
Bradley Nicholes [Fri, 19 Apr 2002 20:57:01 +0000 (20:57 +0000)]
Added new targets to the project build file to build the separate proxy modules

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

22 years ago Fix Restart and Stop from the service taskbar list.
William A. Rowe Jr [Fri, 19 Apr 2002 19:19:44 +0000 (19:19 +0000)]
  Fix Restart and Stop from the service taskbar list.

PR: 7930
Obtained from: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7930
Submitted by: David Shane Holden <dpejesh@yahoo.com>
Reviewed by: Mladen Turk, William Rowe

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

22 years ago Moved the call to apr_mmap_dup outside the error branch so
Paul J. Reder [Fri, 19 Apr 2002 19:16:23 +0000 (19:16 +0000)]
 Moved the call to apr_mmap_dup outside the error branch so
 that it would actually get called. This fixes a core dump
 at init everytime you use the MMapFile directive. [Paul J. Reder]

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

22 years agoTrigger an error when a LoadModule directive attempts to
Jeff Trawick [Fri, 19 Apr 2002 18:31:20 +0000 (18:31 +0000)]
Trigger an error when a LoadModule directive attempts to
load a module which is built-in.  This is a common error when
switching from a DSO build to a static build.

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

22 years agohot hot hot
Jeff Trawick [Fri, 19 Apr 2002 18:21:45 +0000 (18:21 +0000)]
hot hot hot

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

22 years ago SOCKETs are HANDLEs, but they type mismatch. This fix has now been
William A. Rowe Jr [Fri, 19 Apr 2002 17:51:31 +0000 (17:51 +0000)]
  SOCKETs are HANDLEs, but they type mismatch.  This fix has now been
  verified by the vast majority of folks complaining about the "Not a
  handle" failures in WSADuplicateHandle, later in the code flow.

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

22 years agofix a spelling error in a comment
Jeff Trawick [Fri, 19 Apr 2002 16:04:24 +0000 (16:04 +0000)]
fix a spelling error in a comment

Submitted by: Stas Bekman
Reviewed by: Jeff Trawick

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

22 years agoChange instdso.sh to use libtool --install everywhere and then
Jeff Trawick [Fri, 19 Apr 2002 14:04:30 +0000 (14:04 +0000)]
Change instdso.sh to use libtool --install everywhere and then
clean up some stray files and symlinks that libtool leaves around
on some platforms.  This gets subversion building properly since
it needed a re-link to be performed by libtool at install time,
and the old instdso.sh logic to simply cp the DSO didn't handle
that requirement.

Submitted by: Sander Striker
Reviewed by:  Jeff Trawick

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

22 years agofix a typo in a comment for ap_get_client_block()
Jeff Trawick [Fri, 19 Apr 2002 11:33:29 +0000 (11:33 +0000)]
fix a typo in a comment for ap_get_client_block()

Submitted by: Stas Bekman
Reviewed by: Jeff Trawick

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

22 years agoSome code transformations to improve the generated assembly
Brian Pane [Fri, 19 Apr 2002 08:02:00 +0000 (08:02 +0000)]
Some code transformations to improve the generated assembly
code within the critical region inside the spin locks.  (Shortening
this code path reduces the probability that we'll have to spin.)

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

22 years agoReplaced the mutex around the idle worker stack with
Brian Pane [Fri, 19 Apr 2002 06:33:08 +0000 (06:33 +0000)]
Replaced the mutex around the idle worker stack with
atomic compare-and-swap loops

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

22 years agoSwitch ap_http_filter to use ap_get_brigade and apr_brigade_flatten
Justin Erenkrantz [Thu, 18 Apr 2002 22:50:54 +0000 (22:50 +0000)]
Switch ap_http_filter to use ap_get_brigade and apr_brigade_flatten
instead of ap_getline - this prevents some odd looping issues that
can cause problems.

Also, when we call get_mime_headers to read the trailers, we need
to reset our ctx->state to BODY_NONE - there should only be MIME-header
information (followed by a blank CRLF line) - and we don't know
how much data there will be - so it is by definition BODY_NONE.

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

22 years agoSimplify last commit by only calling cat once (this should hopefully resolve
Justin Erenkrantz [Thu, 18 Apr 2002 18:44:03 +0000 (18:44 +0000)]
Simplify last commit by only calling cat once (this should hopefully resolve
rbb's concern about maintainability and still address mine about annoying /s).

Don't call mkdir when we are the top-level directory.  We *have* to have
been created before hand.

Also add this fix to the bsd_makefile section.

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

22 years agoReplace this bogus check with something that actually works. I have no
Justin Erenkrantz [Thu, 18 Apr 2002 17:51:54 +0000 (17:51 +0000)]
Replace this bogus check with something that actually works.  I have no
idea what this line is attempting to do, but it doesn't work in the
top-level Makefile - causing an error.  Therefore, take the line we use
in APR to check if a file exists.

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

22 years agoThe pedant in me wishes to see all extraneous trailing / go away.
Justin Erenkrantz [Thu, 18 Apr 2002 17:49:41 +0000 (17:49 +0000)]
The pedant in me wishes to see all extraneous trailing / go away.
So, if we are in the top-level makefile, don't add an extra trailing
slash to srcdir, builddir, or VPATH.  It's annoying.

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

22 years agoback out ill-conceived attempt to fix a segfault during
Jeff Trawick [Thu, 18 Apr 2002 17:46:20 +0000 (17:46 +0000)]
back out ill-conceived attempt to fix a segfault during
graceless termination

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

22 years agoMove the mkdir_p check outside of the cache check so that we will always
Justin Erenkrantz [Thu, 18 Apr 2002 17:29:59 +0000 (17:29 +0000)]
Move the mkdir_p check outside of the cache check so that we will always
set that variable.

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

22 years agoAllow VPATH builds to succeed when configured from an empty directory.
Justin Erenkrantz [Thu, 18 Apr 2002 09:01:31 +0000 (09:01 +0000)]
Allow VPATH builds to succeed when configured from an empty directory.

(Justin removed some unneeded changes in Makefile.in.)

Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz

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

22 years agoFix so that we can compile with OpenSSL 0.9.8-dev.
Justin Erenkrantz [Thu, 18 Apr 2002 08:45:34 +0000 (08:45 +0000)]
Fix so that we can compile with OpenSSL 0.9.8-dev.

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

22 years agoFix 'control reaches end of non-void function' warning
Justin Erenkrantz [Thu, 18 Apr 2002 08:27:28 +0000 (08:27 +0000)]
Fix 'control reaches end of non-void function' warning

Submitted by: Ben Collins-Sussman <sussman@collab.net>
Tweaked by:     Justin Erenkrantz

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

22 years agoCcccccchanges.
Justin Erenkrantz [Thu, 18 Apr 2002 08:24:22 +0000 (08:24 +0000)]
Ccccccchanges.

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

22 years agoPerchild has been deemed experimental and has been moved to
Justin Erenkrantz [Thu, 18 Apr 2002 08:16:56 +0000 (08:16 +0000)]
Perchild has been deemed experimental and has been moved to
server/mpm/experimental/perchild.

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

22 years agoPerchild has been deemed experimental and has been moved to
Justin Erenkrantz [Thu, 18 Apr 2002 08:04:57 +0000 (08:04 +0000)]
Perchild has been deemed experimental and has been moved to
server/mpm/experimental/perchild.

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

22 years agoSync up to the latest English version (convert to XHTML).
Yoshiki Hayashi [Thu, 18 Apr 2002 07:42:05 +0000 (07:42 +0000)]
Sync up to the latest English version (convert to XHTML).

Submitted by: Nobuyuki Morita <marika@@plum.freemail.ne.jp>
Reviewed by: Yoshiki Hayashi

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

22 years agoSync up to the latest English version (convert to XHTML).
Yoshiki Hayashi [Thu, 18 Apr 2002 07:09:12 +0000 (07:09 +0000)]
Sync up to the latest English version (convert to XHTML).

Submitted by: Nobuyuki Morita <marika@plum.freemail.ne.jp>
Reviewed by: Yoshiki Hayashi

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

22 years agoTypo.
Martin Kraemer [Thu, 18 Apr 2002 06:26:17 +0000 (06:26 +0000)]
Typo.

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

22 years agoRemove images that are no longer needed.
Joshua Slive [Wed, 17 Apr 2002 21:28:52 +0000 (21:28 +0000)]
Remove images that are no longer needed.

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

22 years ago- reference has been moved to the modules directory
Joshua Slive [Wed, 17 Apr 2002 21:23:06 +0000 (21:23 +0000)]
- reference has been moved to the modules directory
- overview is no longer needed

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

22 years agoContinuing wml removal.
Joshua Slive [Wed, 17 Apr 2002 21:21:42 +0000 (21:21 +0000)]
Continuing wml removal.

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

22 years agoRemoving old WML stuff from the ssl directory. These files are now just plain
Joshua Slive [Wed, 17 Apr 2002 21:20:25 +0000 (21:20 +0000)]
Removing old WML stuff from the ssl directory.  These files are now just plain
old html.

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

22 years agoFix seg fault when garbage collecting an expired entry. remove_entity
Bill Stoddard [Wed, 17 Apr 2002 18:52:32 +0000 (18:52 +0000)]
Fix seg fault when garbage collecting an expired entry.  remove_entity
should just remove the object from the cache and set the cleanup flag
in the object. decrement_refcount will clean the object up when the refcount
goes to zero.

Defect reported by Jean-Jacques Clar at Novell.

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

22 years ago Experimental patch that may mitigate (but not eliminate) the errors in
William A. Rowe Jr [Wed, 17 Apr 2002 16:39:12 +0000 (16:39 +0000)]
  Experimental patch that may mitigate (but not eliminate) the errors in
  [crit] (32538)An operation was attempted on something that is not a socket.
       : Parent: WSADuplicateSocket failed for socket ...
  if the particular stacks' bug is that it won't associate a handle as a
  socket if that handle was duped with DuplicateHandle().  Other bugs with
  unimplemented WSADuplicateSocket are not addressed by this patch.

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

22 years ago Introduced -E startup_logfile_name option to httpd to allow admins
William A. Rowe Jr [Wed, 17 Apr 2002 16:36:28 +0000 (16:36 +0000)]
 Introduced -E startup_logfile_name option to httpd to allow admins
     to begin logging errors immediately.  This provides Win32 users
     an alternative to sending startup errors to the event viewer, and
     allows other daemon tool authors an alternative to logging to stderr.

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

22 years agouse an independent pool for threads so that when we abandon them
Jeff Trawick [Wed, 17 Apr 2002 15:45:27 +0000 (15:45 +0000)]
use an independent pool for threads so that when we abandon them
during graceless termination the cleanups on pchild won't mess with
stuff they are still referencing

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

22 years agoWhen an exception in a worker thread initiates a child shutdown, get things
Brian Havard [Wed, 17 Apr 2002 14:55:20 +0000 (14:55 +0000)]
When an exception in a worker thread initiates a child shutdown, get things
moving sooner by sending a SIGHUP to the accept thread, breaking it out
of its accept/poll.

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

22 years agodon't call strchr(); we have a safer version -- ap_strchr_c()
Jeff Trawick [Wed, 17 Apr 2002 13:06:32 +0000 (13:06 +0000)]
don't call strchr(); we have a safer version -- ap_strchr_c()

Submitted by: Stas Bekman
Reviewed by: Jeff Trawick

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

22 years agoFix subreqs with non-defined Content-Types being served improperly.
Justin Erenkrantz [Wed, 17 Apr 2002 04:09:07 +0000 (04:09 +0000)]
Fix subreqs with non-defined Content-Types being served improperly.

If we do not know a C-T for a subreq, we *must* propogate that
non-knowledge upwards to the main request.

Previously, if you used a DirectoryIndex with a file without a C-T (say
.shtml without AddType), the r->content_type will be kept as
httpd/unix-directory when we promoted the subreq in mod_dir.  Since there
would be no handler on this file, ap_invoke_handler (config.c:355) would
set the handler to be httpd/unix-directory (which was the old C-T of the
dir).  This would then trigger the handler to become httpd/unix-directory.
mod_autoindex would then try to serve the request.  But, the filename
was propogated upwards by mod_dir's DirectoryIndex via
internal_fast_redirect - it would then return a 403 trying to generate a
mod_autoindex page for a file.

Now, we will use ap_default_type() which is correct.

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

22 years ago Tired of 'foo.h not found' messages in the build. Checked ms's docs,
William A. Rowe Jr [Wed, 17 Apr 2002 03:02:02 +0000 (03:02 +0000)]
  Tired of 'foo.h not found' messages in the build.  Checked ms's docs,
  seems xcopy's /y arg goes all the way back to Win95.  This shouldn't
  introduce any hassles.

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

22 years agoAdd warning message when selecting an experimental MPM.
Justin Erenkrantz [Tue, 16 Apr 2002 23:44:56 +0000 (23:44 +0000)]
Add warning message when selecting an experimental MPM.

While this message will scroll by without their reading it, we can
reasonably say that we warned them if they report errors.

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

22 years agoAdded support for the threadpool MPM
Brian Pane [Tue, 16 Apr 2002 23:39:09 +0000 (23:39 +0000)]
Added support for the threadpool MPM

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

22 years agoAnother experimental MPM derived from worker:
Brian Pane [Tue, 16 Apr 2002 23:37:06 +0000 (23:37 +0000)]
Another experimental MPM derived from worker:

The threadpool MPM implements Aaron Bannert's "time-space tradeoff"
design managing idle workers.  Rather than putting accepted connections
into a queue, the threadpool MPM keeps idle worker threads in a stack.
Its dedicated listener thread retrieves an idle worker from the stack
before accepting a connection.  If there are no idle workers, the
listener blocks until a worker becomes available before doing an accept.

In many ways, threadpool is also a variant of leader/follower.  They
both maintain a stack of idle threads.  The difference is that threadpool
has a dedicated listener thread, and leader/follower rotates the listening
responsibility among its worker threads.  In my initial testing, the
leader/follower MPM performs very well on multiprocessor Solaris 8 when
listening on a single port, but poorly when listening on multiple ports.
(I don't know why this is happening.  What I've found so far is that
when you add a poll on the listen socket(s) before the accept in the
leader/follower MPM, all the socket-related syscalls in the httpd get
slower.  My hypothesis is that the thread scheduler is making an optimal
decision about where (on what CPU) to run the newly awakened thread if
its first syscall is an accept, and a nonoptimal decision if its first
syscall is a poll.)  The threadpool MPM performs better with multiple
listener ports, and in my testing so far it looks competitive with
leader/follower when running with a single listener.

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

22 years agoMerge in latest GNU config.guess and config.sub files. Synchronize all
Justin Erenkrantz [Tue, 16 Apr 2002 08:49:03 +0000 (08:49 +0000)]
Merge in latest GNU config.guess and config.sub files.  Synchronize all
config.guess/config.sub files to be identical.  Previously, we had three
different versions of the guess files - now they are the same.

I attempted to merge in ASF changes that were marked and still needed.
Please verify that these work on your platform.  (Particular attention
is required for the IBM platforms.)

Part of PR 7818 stems from the fact that the bundled expat did not have an
included config.guess/config.sub.  Therefore, it would take the config.guess
from the system.  Icarus's autoconf/libtool is very old (2.13/1.3.5).  The
machine that was used to roll 2.0.32 had a recent autoconf/libtool which
explains the behavior that Sander saw in the PR.  Therefore, we now
explicitly provide a config.guess/.sub for the bundled expat so that
all of the versions are in sync.  This should minimize configuration
problems.

pcre was using a config.guess that was imported when Brian made the 3.9
import.  It did not have the Apache modifications, but seems to have
had the Darwin changes.  Go figure.  Sync it up as well.

PR: 7818
Obtained from: GNU FSF - ftp.gnu.org/gnu/config

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

22 years agoworker is not the default Unix MPM. [This statement has been in the docs
Cliff Woolley [Tue, 16 Apr 2002 06:13:48 +0000 (06:13 +0000)]
worker is not the default Unix MPM.  [This statement has been in the docs
ever since this was copy-and-pasted from the threaded MPM documentation,
and threaded *was* the default at one point.]

Reported by: kap@katchoo.org

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

22 years agoI doubt this was the intention.
Justin Erenkrantz [Tue, 16 Apr 2002 05:57:50 +0000 (05:57 +0000)]
I doubt this was the intention.

(Change 1.3->2.0)

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

22 years agoMove 100 - Continue support to the HTTP_IN filter so that filters
Justin Erenkrantz [Tue, 16 Apr 2002 05:50:37 +0000 (05:50 +0000)]
Move 100 - Continue support to the HTTP_IN filter so that filters
are guaranteed to support 100 - Continue logic without any
intervention.

This requires some reshuffling of the code in http_protocol.c so
that some static declarations are available early enough in the
code so that ap_http_filter can access them.

Note that we can not read the chunk until after (possibly) sending the
100.

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

22 years agoAdds support for reading trailers on input by exporting get_mime_headers
Justin Erenkrantz [Tue, 16 Apr 2002 05:43:09 +0000 (05:43 +0000)]
Adds support for reading trailers on input by exporting get_mime_headers
to ap_get_mime_headers and calling it in the appropriate place in
ap_http_filter.

showstoppers--;

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

22 years agoEliminated the extraneous code that caused each exiting worker to
Brian Pane [Tue, 16 Apr 2002 02:04:14 +0000 (02:04 +0000)]
Eliminated the extraneous code that caused each exiting worker to
wake up the next one in the list

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

22 years agoFix an uninitialized variable
Brian Pane [Mon, 15 Apr 2002 23:43:04 +0000 (23:43 +0000)]
Fix an uninitialized variable

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

22 years agoFixed some broken shutdown code
Brian Pane [Mon, 15 Apr 2002 23:11:51 +0000 (23:11 +0000)]
Fixed some broken shutdown code

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

22 years agoap_send_error_response: reset r->output filters to the protocol filters.
Greg Ames [Mon, 15 Apr 2002 20:42:45 +0000 (20:42 +0000)]
ap_send_error_response: reset r->output filters to the protocol filters.
The equivalent logic was deleted when request filters were renamed to
RESOURCE filters.  This fixes the seg faults that sometimes happen on
daedalus after a bogus 416 HTTP response is generated.

In this case, includes_filter had found an <!--#include virtual > tag, and
sent a brigade representing the data before it down the filter chain.  The
byterange filter generated the bogus 416.  ap_send_error_response essentially
starts over with a new response, but it didn't do anything to clean up the
filter chain.  So the same instance of the includes_filter got driven from the
top with the canned error text and and EOS bucket, which confused the heck
out of it.  It inserted a sentinel from the original brigade into the
error page brigade, causing problems further down the filter chain.

Submitted by: Greg Ames, Jeff Trawick

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

22 years agoFixing the link to the bug reporting page.
Bradley Nicholes [Mon, 15 Apr 2002 19:45:23 +0000 (19:45 +0000)]
Fixing the link to the bug reporting page.

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

22 years agoAdd some additional shutdown synchronization so that we don't get the OS
Bradley Nicholes [Mon, 15 Apr 2002 19:23:59 +0000 (19:23 +0000)]
Add some additional shutdown synchronization so that we don't get the OS
message to force the module to unload.

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

22 years agoBring the beos mpm into the new age with the new lock functions and some
David Reid [Mon, 15 Apr 2002 16:56:37 +0000 (16:56 +0000)]
Bring the beos mpm into the new age with the new lock functions and some
small corrections to get us building again.

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

22 years agoAdd note about closed PR. If a PR was filed, it's probably worthy to be
Justin Erenkrantz [Mon, 15 Apr 2002 03:03:43 +0000 (03:03 +0000)]
Add note about closed PR.  If a PR was filed, it's probably worthy to be
listed in CHANGES (IMHO).

I meant to include this with the vhost.c commit.
I am not doing good with commits today.  Grr.

PR: 7441

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

22 years agoAllow empty Host: header arguments.
Justin Erenkrantz [Mon, 15 Apr 2002 02:58:11 +0000 (02:58 +0000)]
Allow empty Host: header arguments.

Previously, request that sent:

GET / HTTP/1.1
Host:

would get a 400.  RFC 2616 specifically allows for a "blank" host field.

The read_request code properly handled this, but the fix_hostname in
vhost.c would cause the 400.  Now, simply return in fix_hostname when
we see a blank hostname rather than erroring out.

PR: 7441

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

22 years agoAck. That was bad. Revert this.
Justin Erenkrantz [Mon, 15 Apr 2002 00:44:30 +0000 (00:44 +0000)]
Ack.  That was bad.  Revert this.

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

22 years agoProperly substitute sbindir as httpd's location in apachectl.
Justin Erenkrantz [Mon, 15 Apr 2002 00:41:25 +0000 (00:41 +0000)]
Properly substitute sbindir as httpd's location in apachectl.

We install $(PROGRAMS) into $(sbindir) not $(bindir), so this is correct.

PR: 7840
Submitted by: Andreas Hasenack <andreas@netbank.com.br>
Reviewed by: Justin Erenkrantz

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

22 years agoRemove some leftover debug code that was closing an already-closed socket
Brian Pane [Mon, 15 Apr 2002 00:10:53 +0000 (00:10 +0000)]
Remove some leftover debug code that was closing an already-closed socket

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

22 years agoAddmodule doesn't exist in 2.0.
Joshua Slive [Sun, 14 Apr 2002 22:08:44 +0000 (22:08 +0000)]
Addmodule doesn't exist in 2.0.

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

22 years agoFix html comments in directive examples and defaults.
Joshua Slive [Sun, 14 Apr 2002 17:08:53 +0000 (17:08 +0000)]
Fix html comments in directive examples and defaults.

PR: 7832
Submitted by: sn@neopoly.com (Sven Neuhaus)

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

22 years agoLet people know what a "cgi-script" is and how to reference it.
Joshua Slive [Sun, 14 Apr 2002 16:57:46 +0000 (16:57 +0000)]
Let people know what a "cgi-script" is and how to reference it.

PR: 8037

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

22 years agoMessed up that last one. Here is the proper xhtml+xml type.
Joshua Slive [Sun, 14 Apr 2002 16:42:37 +0000 (16:42 +0000)]
Messed up that last one.  Here is the proper xhtml+xml type.

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

22 years agoAdd a couple requested (and properly registered) mime types.
Joshua Slive [Sun, 14 Apr 2002 16:40:38 +0000 (16:40 +0000)]
Add a couple requested (and properly registered) mime types.
See:
http://www.iana.org/assignments/media-types/application/
http://www.rfc-editor.org/rfc/rfc3236.txt
http://www.iana.org/assignments/media-types/image/vnd.djvu

PR: 7795,7969

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

22 years agofixed a typo
Brian Pane [Sun, 14 Apr 2002 09:21:43 +0000 (09:21 +0000)]
fixed a typo

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

22 years agoGet local address info in listener sockets initialized when constructed in
Brian Havard [Sun, 14 Apr 2002 08:38:15 +0000 (08:38 +0000)]
Get local address info in listener sockets initialized when constructed in
the child process from a descriptor passed from the parent. This fixed vhost
address matching.

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

22 years agoapr_bucket_alloc_create() now registers a cleanup that does a
Brian Havard [Sun, 14 Apr 2002 06:18:13 +0000 (06:18 +0000)]
apr_bucket_alloc_create() now registers a cleanup that does a
apr_bucket_alloc_destroy(). Don't double free by calling it explicitly.

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

22 years agoFixed a race condition
Brian Pane [Sun, 14 Apr 2002 00:31:43 +0000 (00:31 +0000)]
Fixed a race condition

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

22 years ago Respect the process_cgi argument
William A. Rowe Jr [Sat, 13 Apr 2002 22:34:16 +0000 (22:34 +0000)]
  Respect the process_cgi argument

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

22 years ago process_cgi is more descriptive than replace_cmd.
William A. Rowe Jr [Sat, 13 Apr 2002 20:42:35 +0000 (20:42 +0000)]
  process_cgi is more descriptive than replace_cmd.

  It also affects query_string args.

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