]> granicus.if.org Git - apache/log
apache
22 years agoRemove a patch that is no longer needed (bug was fixed a LONG time ago)
Ryan Bloom [Sun, 7 Apr 2002 16:58:31 +0000 (16:58 +0000)]
Remove a patch that is no longer needed (bug was fixed a LONG time ago)

Add a sign-up area for people to volunteer to create binaries for
2.0.35.

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

22 years agoUpdate CHANGES to reflect the mod_dav change.
Sander Striker [Sun, 7 Apr 2002 13:06:37 +0000 (13:06 +0000)]
Update CHANGES to reflect the mod_dav change.

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

22 years agoPR:
Doug MacEachern [Sun, 7 Apr 2002 06:32:21 +0000 (06:32 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
ssl_io_input_read now returns APR_EOF if ssl_io_hook_read returns 0
bytes for a reason other than SSL_ERROR_WANT_READ.  this should
prevent a possible endless loop.

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

22 years agofix ProxyPass when frontend is https and backend is http
Doug MacEachern [Sun, 7 Apr 2002 03:37:35 +0000 (03:37 +0000)]
fix ProxyPass when frontend is https and backend is http

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

22 years agoPass the --includedir flag to the apr and apr-util configure calls.
Aaron Bannert [Sun, 7 Apr 2002 01:51:42 +0000 (01:51 +0000)]
Pass the --includedir flag to the apr and apr-util configure calls.

Submitted by: Pier Fumagalli <pier@betaversion.org>
Reviewed by: Aaron Bannert

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

22 years agoGenerate rel_libdir and exp_libdir variables.
Aaron Bannert [Sat, 6 Apr 2002 22:00:56 +0000 (22:00 +0000)]
Generate rel_libdir and exp_libdir variables.

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

22 years agoAllow us to override the default --libdir from the config.layout
Aaron Bannert [Sat, 6 Apr 2002 21:50:58 +0000 (21:50 +0000)]
Allow us to override the default --libdir from the config.layout
if it was specified to configure.

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

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

22 years agoAdd libdir entries to config.layout.
Aaron Bannert [Sat, 6 Apr 2002 21:44:44 +0000 (21:44 +0000)]
Add libdir entries to config.layout.

Submitted by: Pier Fumagalli <pier@betaversion.org>
Reviewed by: Aaron Bannert

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

22 years agoFix export of variables that have "extern" before their AP_DECLARE_DATA.
Brian Havard [Sat, 6 Apr 2002 13:48:51 +0000 (13:48 +0000)]
Fix export of variables that have "extern" before their AP_DECLARE_DATA.
This includes ap_subreq_core_filter_handle which mod_autoindex.c now needs.

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

22 years agoQuick fix to an incorrect comment.
Graham Leggett [Sat, 6 Apr 2002 12:43:47 +0000 (12:43 +0000)]
Quick fix to an incorrect comment.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoAdd DASL(SEARCH) support to mod_dav.
Sander Striker [Sat, 6 Apr 2002 01:11:50 +0000 (01:11 +0000)]
Add DASL(SEARCH) support to mod_dav.

Submitted by: Sung Kim <hunkim@cse.ucsc.edu>

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

22 years agoPort over some fixes to mod_dav 1.0 so that the Apache 2.0 DAV code
Greg Stein [Sat, 6 Apr 2002 00:19:19 +0000 (00:19 +0000)]
Port over some fixes to mod_dav 1.0 so that the Apache 2.0 DAV code
will pass the "litmus" DAV test tool.

In particular, we need to properly handle empty namespaces properly.

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

22 years agoAdded a call to apr_bucket_alloc_destroy() to the clean_child_exit() code that
Bradley Nicholes [Sat, 6 Apr 2002 00:03:32 +0000 (00:03 +0000)]
Added a call to apr_bucket_alloc_destroy() to the clean_child_exit() code that
is called when each worker thread terminates.  This stopped the memory leak.

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

22 years agoUse the new format for the tarballs. httpd-2.0.xx-alpha.tar.gz
Ryan Bloom [Fri, 5 Apr 2002 23:12:11 +0000 (23:12 +0000)]
Use the new format for the tarballs.   httpd-2.0.xx-alpha.tar.gz

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

22 years agoBump after the tag and roll
Ryan Bloom [Fri, 5 Apr 2002 22:17:34 +0000 (22:17 +0000)]
Bump after the tag and roll

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

22 years agoAdded replacement values for the new tags in the httpd.conf file template
Bradley Nicholes [Fri, 5 Apr 2002 21:39:11 +0000 (21:39 +0000)]
Added replacement values for the new tags in the httpd.conf file template

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

22 years agoChanged the make file to pick up the renamed httpd.conf file template.
Bradley Nicholes [Fri, 5 Apr 2002 21:38:28 +0000 (21:38 +0000)]
Changed the make file to pick up the renamed httpd.conf file template.

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

22 years agoFix a segfault. Only try to set this if the sub_Request has a c-t.
Ryan Bloom [Fri, 5 Apr 2002 21:24:13 +0000 (21:24 +0000)]
Fix a segfault.  Only try to set this if the sub_Request has a c-t.

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

22 years agoIf we are doing a fast_redirect, and we don't have a main request, then
Ryan Bloom [Fri, 5 Apr 2002 21:16:11 +0000 (21:16 +0000)]
If we are doing a fast_redirect, and we don't have a main request, then
make sure that we don't have the sub_req_output_filter.  This was
causing problems when there were multiple sub_Requests, and some should
have had the filter, but the last one shouldn't.

This fixes the final known bug in 2.0.35

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

22 years ago Whoops, missed this. Moved these symbols to mod_core.h
William A. Rowe Jr [Fri, 5 Apr 2002 20:55:38 +0000 (20:55 +0000)]
  Whoops, missed this.  Moved these symbols to mod_core.h

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

22 years ago Correct partitioning of filter handles between core and http, and
William A. Rowe Jr [Fri, 5 Apr 2002 20:55:00 +0000 (20:55 +0000)]
  Correct partitioning of filter handles between core and http, and
  export the handle pointers on Win32.

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

22 years ago Clean up breakage introduced recently that sent the wrong headers through
William A. Rowe Jr [Fri, 5 Apr 2002 20:06:52 +0000 (20:06 +0000)]
  Clean up breakage introduced recently that sent the wrong headers through
  the http_headers output filter.  Now we will always point every filter at
  the 'redirected' request, e.g. the actual error message response rather
  than the request that failed.

Reviewed by: JimJag, Rbb, DougM

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

22 years agoBump for the 2.0.35 tag. Just waiting for Will's commit to actually do
Ryan Bloom [Fri, 5 Apr 2002 20:05:05 +0000 (20:05 +0000)]
Bump for the 2.0.35 tag.  Just waiting for Will's commit to actually do
the tag.

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

22 years agoUpdate mod_rewrite to use the new APR global mutex type.
Aaron Bannert [Fri, 5 Apr 2002 20:01:20 +0000 (20:01 +0000)]
Update mod_rewrite to use the new APR global mutex type.

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

22 years agoWith VPATH builds, the httpd.conf-std file is found in the build directory,
Ryan Bloom [Fri, 5 Apr 2002 19:36:06 +0000 (19:36 +0000)]
With VPATH builds, the httpd.conf-std file is found in the build directory,
not the source directory.  Make sure we check both from now on.

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

22 years agoPR:
Doug MacEachern [Fri, 5 Apr 2002 18:08:07 +0000 (18:08 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:    Ryan Bloom
remove flush bucket from ap_proxy_http_process_response.
this allows for the response content-length header to be properly
calculated/inserted.

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

22 years agoDocument the mod_include fixes from yesterday
Brian Pane [Fri, 5 Apr 2002 17:53:45 +0000 (17:53 +0000)]
Document the mod_include fixes from yesterday

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

22 years agoThis is a HACK! The problem is that the fast_internal_redirect is
Ryan Bloom [Fri, 5 Apr 2002 17:50:37 +0000 (17:50 +0000)]
This is a HACK!  The problem is that the fast_internal_redirect is
removing the OLD_WRITE filter. Obviously that is wrong.  For right now,
the fix is to hack around the problem and just make it work.  Long term,
we need to find a real solution to this, but this gets autoindex working
today.

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

22 years agoThis fixes the mod_autoindex problem of not getting the list of files.
Ryan Bloom [Fri, 5 Apr 2002 17:43:03 +0000 (17:43 +0000)]
This fixes the mod_autoindex problem of not getting the list of files.
The problem was that the internal_fast_redirect removed the SUB_REQ
filter, but we are still in a sub_request.  The solution is to have the
fast_internal_Redirect function check if we are in a sub_Request and
re-add the filter if we are.
Submitted by: Ryan Bloom, Greg Ames, Jeff Trawick, and Will Rowe

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

22 years agoWith a cool spin cast...
Jim Jagielski [Fri, 5 Apr 2002 17:22:19 +0000 (17:22 +0000)]
With a cool spin cast...

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

22 years agoFix for the boundary case in which each character of an SSI directive
Brian Pane [Fri, 5 Apr 2002 07:44:14 +0000 (07:44 +0000)]
Fix for the boundary case in which each character of an SSI directive
is in a separate bucket...the code in send_parsed_content() doesn't
expect a case where ctx->state==PARSE_DIRECTIVE but ctx->tag_start_buffer
is NULL.  So in found_start_sequence(), we set ctx->tag_start_buffer
to point to the next bucket if the end of the <!--# is at the very
end of the current bucket.

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

22 years agoGet the HTTP-on-HTTPS hint to come through again. We're in AP_MODE_GETLINE
Cliff Woolley [Fri, 5 Apr 2002 07:31:44 +0000 (07:31 +0000)]
Get the HTTP-on-HTTPS hint to come through again.  We're in AP_MODE_GETLINE
at this point, so the \r\n\r\n just confuses the http input filter.

One concern: this patch is only correct as long as we only ever call this
function while in AP_MODE_GETLINE.  Ideally we would account for the mode
and return the newlines if not in GETLINE mode, but at the moment it doesn't
seem to matter.

Reviewed by: Doug MacEachern

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

22 years agoGet rid of overlay bogosity by copying the static string to the stack.
Cliff Woolley [Fri, 5 Apr 2002 07:03:07 +0000 (07:03 +0000)]
Get rid of overlay bogosity by copying the static string to the stack.
This keeps DEBUG_INCLUDE from segfaulting.

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

22 years agoRemove an invalid comment. (The only way that the bucket will
Brian Pane [Fri, 5 Apr 2002 06:03:30 +0000 (06:03 +0000)]
Remove an invalid comment.  (The only way that the bucket will
contain only a single byte is if slen==1, meaning that we've
replaced <!--# with a single-character token, and that character
is the first character in the bucket.  If that happens, then
pos+slen (aka 1) is the right amount by which to increase
bytes_parsed.

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

22 years agoSilence an irrelevant gcc warning
Cliff Woolley [Fri, 5 Apr 2002 05:23:11 +0000 (05:23 +0000)]
Silence an irrelevant gcc warning

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

22 years agoFix variable name typo
Cliff Woolley [Fri, 5 Apr 2002 05:05:20 +0000 (05:05 +0000)]
Fix variable name typo

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

22 years ago One for 2.0.34 - to fix the problem of utf-8 configuration files saved
William A. Rowe Jr [Fri, 5 Apr 2002 04:22:45 +0000 (04:22 +0000)]
  One for 2.0.34 - to fix the problem of utf-8 configuration files saved
  from MeSsed up editors that believe zero byte joiner lead bytes signify
  a utf-8 file.  Someone point me at an RFC ... gheesh.

  FWIW; fixes bugs report 10125

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

22 years ago Mix 'n match signedness? Make some emits go away.
William A. Rowe Jr [Fri, 5 Apr 2002 04:20:22 +0000 (04:20 +0000)]
  Mix 'n match signedness?  Make some emits go away.

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

22 years agoPR:
Doug MacEachern [Fri, 5 Apr 2002 02:31:04 +0000 (02:31 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
avoid the error_log message: [error] mod_ssl: Certificate Verification: Error ...
if SSLProxyVerify is not configured or set to "none".
the verify callback does not happen in the server context when
SSLVerify is not configured or set to "none".

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

22 years agoquiet a bogus gcc warning that crops up with -O2
Jeff Trawick [Fri, 5 Apr 2002 02:23:02 +0000 (02:23 +0000)]
quiet a bogus gcc warning that crops up with -O2

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

22 years agoimplement FOREGROUND for perchild and beos MPMs too
Jeff Trawick [Fri, 5 Apr 2002 00:34:22 +0000 (00:34 +0000)]
implement FOREGROUND for perchild and beos MPMs too

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

22 years agoworker MPM: add -DFOREGROUND option to use when you want
Jeff Trawick [Fri, 5 Apr 2002 00:18:14 +0000 (00:18 +0000)]
worker MPM:  add -DFOREGROUND option to use when you want
             the parent process to run in the foreground

             (NO_DETACH is a special mode for running under
             programs like daemontools)

             the existing flag -DDEBUG turns on FOREGROUND
             now instead of NO_DETACH

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

22 years ago Uhmmm... notices only when we are running as a service [I hate strcmp.]
William A. Rowe Jr [Thu, 4 Apr 2002 23:36:45 +0000 (23:36 +0000)]
  Uhmmm... notices only when we are running as a service [I hate strcmp.]

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

22 years ago One emit is an error, not a notice. Neither have 'error codes'...
William A. Rowe Jr [Thu, 4 Apr 2002 23:35:11 +0000 (23:35 +0000)]
  One emit is an error, not a notice.  Neither have 'error codes'...

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

22 years ago Another, potential race. Assure we are allowing worker threads to finish
William A. Rowe Jr [Thu, 4 Apr 2002 23:33:44 +0000 (23:33 +0000)]
  Another, potential race.  Assure we are allowing worker threads to finish
  from the time we begin our shutdown exercise.

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

22 years ago Race condition one ... we were occasionally escaping all the way out to
William A. Rowe Jr [Thu, 4 Apr 2002 23:32:36 +0000 (23:32 +0000)]
  Race condition one ... we were occasionally escaping all the way out to
  WSATerminate() before this thread picked up it's sleepy head to discover
  the world was gone beneath it on 1GHz+ CPU WinXP configurations.

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

22 years agoThis patch fixes a core dump that occurs in mod_include during tag parsing
Paul J. Reder [Thu, 4 Apr 2002 21:19:32 +0000 (21:19 +0000)]
This patch fixes a core dump that occurs in mod_include during tag parsing
if the starting sequence (<!--#) finishes at the end of a bucket and the
directive starts at the beginning of the next bucket.

There is still a bug in the handling of conditional directives that span
buckets, but the core dump is now fixed and the conditional bug should
be even rarer than the core dump was. I'm fixing the conditional bug
seperately.

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

22 years agoignore generated file ap_config_layout.h
Jeff Trawick [Thu, 4 Apr 2002 20:00:38 +0000 (20:00 +0000)]
ignore generated file ap_config_layout.h

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

22 years agoAdded support for Posix semaphore-based mutex locking (AcceptMutex posixsem).
Jim Jagielski [Thu, 4 Apr 2002 18:36:03 +0000 (18:36 +0000)]
Added support for Posix semaphore-based mutex locking (AcceptMutex posixsem).
It's between pthread and sysvsem in the DEFAULT priority ranking. This
makes it the new default for Darwin, and adds support for it for other
platforms as well (like Solaris).
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoAIX: Fix the syntax for setting the LDR_CNTRL and AIXTHREAD_SCOPE
Jeff Trawick [Thu, 4 Apr 2002 12:51:58 +0000 (12:51 +0000)]
AIX: Fix the syntax for setting the LDR_CNTRL and AIXTHREAD_SCOPE
     environment variables in the envvars file.

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

22 years agoRemove hardcoded paths from MPMs and move them to a more central
Sander Striker [Thu, 4 Apr 2002 09:15:44 +0000 (09:15 +0000)]
Remove hardcoded paths from MPMs and move them to a more central
place.  Expand paths in httpd-std.conf in a similar fashion as we do
in our headers.

Submitted by: Pier Fumagalli <pier@betaversion.org>

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

22 years agoFix a potential size mismatch (apr_off_t might be 64bits on some platforms).
Aaron Bannert [Thu, 4 Apr 2002 06:39:22 +0000 (06:39 +0000)]
Fix a potential size mismatch (apr_off_t might be 64bits on some platforms).

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

22 years agoFix a couple of edge cases when the content being cached is generated locally.
Bill Stoddard [Wed, 3 Apr 2002 21:26:35 +0000 (21:26 +0000)]
Fix a couple of edge cases when the content being cached is generated locally.
(ie, the HTTP_HEADER_FILTER has not yet run)

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

22 years agoAdd mod_cache to allmodules.xml and do the transforms to get
Joshua Slive [Wed, 3 Apr 2002 18:36:31 +0000 (18:36 +0000)]
Add mod_cache to allmodules.xml and do the transforms to get
it into the indexes.

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

22 years agoMake comments and function name agree with what the functions actually do.
Bill Stoddard [Wed, 3 Apr 2002 17:34:01 +0000 (17:34 +0000)]
Make comments and function name agree with what the functions actually do.

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

22 years agoworker MPM:
Jeff Trawick [Wed, 3 Apr 2002 15:47:59 +0000 (15:47 +0000)]
worker MPM:

Don't create a listener thread until we have a worker thread.  Otherwise,
in situations where we'll have to wait a while to take over scoreboard
slots from a previous generation, we'll be accepting connections we can't
process yet.

Don't let the listener thread clobber the scoreboard entry of the first
worker thread.

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

22 years agoprefork MPM: add -DFOREGROUND option to use when you want
Jeff Trawick [Wed, 3 Apr 2002 13:45:57 +0000 (13:45 +0000)]
prefork MPM: add -DFOREGROUND option to use when you want
             the parent process to run in the foreground

             (NO_DETACH is a special mode for running under
             programs like daemontools)

             the existing flag -DDEBUG turns on FOREGROUND
             now instead of NO_DETACH

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

22 years agostyle change only
Jeff Trawick [Wed, 3 Apr 2002 13:38:06 +0000 (13:38 +0000)]
style change only

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

22 years agoAllow worker MPM to build on systems without pthread_kill().
Jeff Trawick [Wed, 3 Apr 2002 13:10:56 +0000 (13:10 +0000)]
Allow worker MPM to build on systems without pthread_kill().

Submitted by:  Pier Fumagalli (and mangled by Jeff)

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

22 years ago Elimiate references of subreferences to simplify rebuild logic
William A. Rowe Jr [Wed, 3 Apr 2002 06:16:24 +0000 (06:16 +0000)]
  Elimiate references of subreferences to simplify rebuild logic

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

22 years ago Much easier to clone first than fix later - next batch of builds this
William A. Rowe Jr [Wed, 3 Apr 2002 06:09:18 +0000 (06:09 +0000)]
  Much easier to clone first than fix later - next batch of builds this
  poorly thought out will simply be vetoed - do you really expect M$'s
  defaults to make any sense?  And what's with /I "C:\foo" ???

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

22 years ago Would really prefer if the authors of the .dsp's would maintain this...
William A. Rowe Jr [Wed, 3 Apr 2002 06:07:36 +0000 (06:07 +0000)]
  Would really prefer if the authors of the .dsp's would maintain this...
  better yet - clone existing .dsp's to assure they are correct

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

22 years ago Can't we -please- rename mod_file_cache if it doesn't fit in the
William A. Rowe Jr [Wed, 3 Apr 2002 05:53:33 +0000 (05:53 +0000)]
  Can't we -please- rename mod_file_cache if it doesn't fit in the
  mod_cache scheme of things?

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

22 years ago Gheesh
William A. Rowe Jr [Wed, 3 Apr 2002 05:52:08 +0000 (05:52 +0000)]
  Gheesh

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

22 years ago On second thought ... I can see some weird sign bit magic messing this
William A. Rowe Jr [Wed, 3 Apr 2002 05:29:35 +0000 (05:29 +0000)]
  On second thought ... I can see some weird sign bit magic messing this
  up on some hypothetical CPU... better to cast the net expression.

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

22 years ago A very safe cast for any ^2 based cpu. Are we expecting any trinary CPUs
William A. Rowe Jr [Wed, 3 Apr 2002 05:28:04 +0000 (05:28 +0000)]
  A very safe cast for any ^2 based cpu.  Are we expecting any trinary CPUs
  any time soon for Apache support?  Cleans up an emit on 32 bit builds.

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

22 years agoFirst meager steps to documenting mod_cache
Bill Stoddard [Wed, 3 Apr 2002 04:07:35 +0000 (04:07 +0000)]
First meager steps to documenting mod_cache

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

22 years agofix SSL_X509_INFO_load_path so SSLProxyMachineCertificatePath works
Doug MacEachern [Tue, 2 Apr 2002 22:07:09 +0000 (22:07 +0000)]
fix SSL_X509_INFO_load_path so SSLProxyMachineCertificatePath works

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

22 years agocopy-n-pasto: need to use SSL_X509_INFO_load_*path* on pkp->cert_path
Doug MacEachern [Tue, 2 Apr 2002 21:57:31 +0000 (21:57 +0000)]
copy-n-pasto: need to use SSL_X509_INFO_load_*path* on pkp->cert_path

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

22 years agocopy-n-pasto: ssl_cmd_SSLProxyMachineCertificatePath needs to set cert_path
Doug MacEachern [Tue, 2 Apr 2002 21:56:12 +0000 (21:56 +0000)]
copy-n-pasto: ssl_cmd_SSLProxyMachineCertificatePath needs to set cert_path

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

22 years agofix copy-n-pasto: ssl_cmd_SSLProxyCACertificatePath needs to use
Doug MacEachern [Tue, 2 Apr 2002 21:32:35 +0000 (21:32 +0000)]
fix copy-n-pasto: ssl_cmd_SSLProxyCACertificatePath needs to use
ssl_cmd_check_dir rather than ssl_cmd_check_file

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

22 years agoanother todo
Doug MacEachern [Tue, 2 Apr 2002 20:53:17 +0000 (20:53 +0000)]
another todo

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

22 years agoUpdate the transformations.
Joshua Slive [Tue, 2 Apr 2002 20:40:48 +0000 (20:40 +0000)]
Update the transformations.

Sorry for the huge diff.  It seems that switching from Xalan-j to xalan-c
causes the attributes to get reordered.

Suggestions for improvements to the build system would be greatly
appreciated.

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

22 years agoJust a little change so that this will validate.
Joshua Slive [Tue, 2 Apr 2002 20:39:16 +0000 (20:39 +0000)]
Just a little change so that this will validate.

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

22 years agoPR:
Doug MacEachern [Tue, 2 Apr 2002 17:30:08 +0000 (17:30 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:    Ryan Bloom
ap_remove_output_filter no longer works for connection filters.
change logic in the case of "HTTP spoken on HTTPS port" to disable the
ssl filters rather than attempt to remove the filters.

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

22 years agovarious updates
Doug MacEachern [Tue, 2 Apr 2002 17:23:41 +0000 (17:23 +0000)]
various updates

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

22 years agoCheck for a NULL pointer in the case of the OS address space
Bradley Nicholes [Tue, 2 Apr 2002 16:25:23 +0000 (16:25 +0000)]
Check for a NULL pointer in the case of the OS address space

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

22 years agoWin32: tweak some messages
Bill Stoddard [Tue, 2 Apr 2002 14:48:54 +0000 (14:48 +0000)]
Win32: tweak some messages

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

22 years agoWin32: Change startup/shutdown message class to NOTICE. These messages should always
Bill Stoddard [Tue, 2 Apr 2002 14:42:06 +0000 (14:42 +0000)]
Win32: Change startup/shutdown message class to NOTICE. These messages should always
be written to the error log regardless of the loglevel.

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

22 years agoAdd myself on this bright and sunny day.
Sander Striker [Tue, 2 Apr 2002 11:55:19 +0000 (11:55 +0000)]
Add myself on this bright and sunny day.

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

22 years agoPR:
Doug MacEachern [Tue, 2 Apr 2002 04:30:49 +0000 (04:30 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by: Ryan Bloom
remove call to ap_proxy_reset_output_filters() and the function itself.
this call breaks ssl proxy when the client is using keepalives.
this function is also no longer needed with recent-ish filter changes.

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

22 years agoNote about ap_cache_msec2hex() and ap_cache_hex2msec() to keep me from forgetting
Bill Stoddard [Tue, 2 Apr 2002 04:15:55 +0000 (04:15 +0000)]
Note about ap_cache_msec2hex() and ap_cache_hex2msec() to keep me from forgetting
to fix it...

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

22 years agoWin32: Add mod_cache, mod_mem_cache and mod_disk_cache to the build and
Bill Stoddard [Tue, 2 Apr 2002 04:14:04 +0000 (04:14 +0000)]
Win32: Add mod_cache, mod_mem_cache and mod_disk_cache to the build and
install.

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

22 years agoUse runtime library linking. This reduces the size of the *.so files substantially
Bill Stoddard [Tue, 2 Apr 2002 04:04:17 +0000 (04:04 +0000)]
Use runtime library linking. This reduces the size of the *.so files substantially

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

22 years agoCleanup some compile warnings.
Bill Stoddard [Tue, 2 Apr 2002 03:54:38 +0000 (03:54 +0000)]
Cleanup some compile warnings.

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

22 years agoA few additional examples added to the docs.
Richard Bowen [Tue, 2 Apr 2002 03:09:53 +0000 (03:09 +0000)]
A few additional examples added to the docs.

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

22 years agoGrammar police. (Well, you asked for it. ;) There's still a split
Cliff Woolley [Tue, 2 Apr 2002 02:38:31 +0000 (02:38 +0000)]
Grammar police.  (Well, you asked for it.  ;)  There's still a split
infinitive in the last sentence, but I don't really believe in that
rule, so...

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

22 years agoUpdate the docs on the ScoreBoardFile directive for the new
Aaron Bannert [Tue, 2 Apr 2002 01:07:43 +0000 (01:07 +0000)]
Update the docs on the ScoreBoardFile directive for the new
apr_shm.h API and the removal of the old SCOREBOARD_FILE stuff.

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

22 years agoReplaced a hack for getting the address space with the real API
Bradley Nicholes [Tue, 2 Apr 2002 00:29:23 +0000 (00:29 +0000)]
Replaced a hack for getting the address space with the real API

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

22 years agoPrevent ap_add_output_filters_by_type from being called in
Justin Erenkrantz [Mon, 1 Apr 2002 22:26:09 +0000 (22:26 +0000)]
Prevent ap_add_output_filters_by_type from being called in
ap_set_content_type if the content-type hasn't changed.

Reviewed by: Ryan Bloom

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

22 years agoFix some of the cache size checks.
Bill Stoddard [Mon, 1 Apr 2002 22:06:49 +0000 (22:06 +0000)]
Fix some of the cache size checks.

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

22 years agoAnd it only took me what, 10 months? :)
Cliff Woolley [Mon, 1 Apr 2002 21:19:41 +0000 (21:19 +0000)]
And it only took me what, 10 months?  :)

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

22 years agoWin32: Move apr_bucket_alloc() to a more reasonable location to fix memory leak.
Bill Stoddard [Mon, 1 Apr 2002 18:55:46 +0000 (18:55 +0000)]
Win32: Move apr_bucket_alloc() to a more reasonable location to fix memory leak.

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

22 years agoRemove some gratuitous comments.
Bill Stoddard [Mon, 1 Apr 2002 17:13:19 +0000 (17:13 +0000)]
Remove some gratuitous comments.

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

22 years agoDestroy the connection pool (and therefore run the cleanups) before destroying
Brian Havard [Mon, 1 Apr 2002 16:42:02 +0000 (16:42 +0000)]
Destroy the connection pool (and therefore run the cleanups) before destroying
the bucket_alloc as the cleanups refer to buckets allocated by the
bucket_alloc.

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

22 years agoIf this is a subrequest, register the cleanup against
Bill Stoddard [Mon, 1 Apr 2002 16:09:46 +0000 (16:09 +0000)]
If this is a subrequest, register the cleanup against
the main request. This will prevent the cache object
from being cleaned up from under the request after the
subrequest is destroyed.

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

22 years agoDon't allow initialization to succeed if we can't get a socket
Jeff Trawick [Mon, 1 Apr 2002 12:53:09 +0000 (12:53 +0000)]
Don't allow initialization to succeed if we can't get a socket
corresponding to one of the Listen statements.

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

22 years agoMigrate perchild to the new lock API, and clean up some of the logic
Ryan Bloom [Mon, 1 Apr 2002 08:27:42 +0000 (08:27 +0000)]
Migrate perchild to the new lock API, and clean up some of the logic
surrounding the FD passing.  This doesn't work yet, but it is getting
closer.  Currently, the problem is that we don't correctly read the data
from the socket so that it can be passed to the correct child.

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

22 years agoMatch the new APR_BUCKET_BUFF_SIZE. We want this to be slightly less than
Cliff Woolley [Mon, 1 Apr 2002 05:43:47 +0000 (05:43 +0000)]
Match the new APR_BUCKET_BUFF_SIZE.  We want this to be slightly less than
8KB to leave room for the various allocators' internal structures while
still fitting into a total of 8KB.

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

22 years agoMade AB's use of the Host: header rfc2616 compliant as
Dirk-Willem van Gulik [Mon, 1 Apr 2002 04:32:40 +0000 (04:32 +0000)]
Made AB's use of the Host: header rfc2616 compliant as
reported by Taisuke Yamada <tai@iij.ad.jp>

PR:
Obtained from: Mailing list
Submitted by: Taisuke Yamada <tai@iij.ad.jp>
Reviewed by: Dirk-Willem van Gulik

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