]> granicus.if.org Git - apache/log
apache
22 years agoWin32: Handles returned by GetStdHandle are psuedo handles and should never be
Bill Stoddard [Mon, 11 Feb 2002 15:46:44 +0000 (15:46 +0000)]
Win32: Handles returned by GetStdHandle are psuedo handles and should never be
passed to a CloseHandle call.

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

22 years agoMake apache -k shutdown an alias for apache -k stop. "shutdown" maintained
Bill Stoddard [Mon, 11 Feb 2002 15:40:07 +0000 (15:40 +0000)]
Make apache -k shutdown an alias for apache -k stop. "shutdown" maintained
for backward compatability.

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

22 years agoGet apache -k restart -n apache2 working reliabily again.
Bill Stoddard [Mon, 11 Feb 2002 15:24:46 +0000 (15:24 +0000)]
Get apache -k restart -n apache2 working reliabily again.

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

22 years agoRemove all signal handling from the worker MPM's child processes. Instead,
Ryan Bloom [Mon, 11 Feb 2002 04:56:10 +0000 (04:56 +0000)]
Remove all signal handling from the worker MPM's child processes.  Instead,
we use the pipe of death for all communication between parent and child.

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

22 years agoaccept() error handling should be OK now.
Greg Ames [Sun, 10 Feb 2002 21:16:25 +0000 (21:16 +0000)]
accept() error handling should be OK now.

I don't have a strong opinion on what we should do if the parent dies, now
that we don't have a real life example of that any more.  It was a little
confusing at first, but OTOH it kept serving requests.

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

22 years agoprefork shouldn't be killing its parent if a child runs out of resources.
Greg Ames [Sun, 10 Feb 2002 14:21:44 +0000 (14:21 +0000)]
prefork shouldn't be killing its parent if a child runs out of resources.

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

22 years agoCopied changes that have been made recently to the 1.3 documentation.
Rich Bowen [Sat, 9 Feb 2002 21:15:55 +0000 (21:15 +0000)]
Copied changes that have been made recently to the 1.3 documentation.
Primarily additional explanation and examples.

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

22 years agoWindows should not hold up an otherwise excellent release.
Bill Stoddard [Sat, 9 Feb 2002 14:24:36 +0000 (14:24 +0000)]
Windows should not hold up an otherwise excellent release.

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

22 years agoit's cold outside
Jeff Trawick [Sat, 9 Feb 2002 13:44:07 +0000 (13:44 +0000)]
it's cold outside

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

22 years agoI say the input filtering change are as complete as it will be for 2.0,
Justin Erenkrantz [Sat, 9 Feb 2002 06:20:53 +0000 (06:20 +0000)]
I say the input filtering change are as complete as it will be for 2.0,
so remove the note in STATUS.

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

22 years agoPoint at the JRE_1 tag if anyone is interested.
Justin Erenkrantz [Sat, 9 Feb 2002 06:15:01 +0000 (06:15 +0000)]
Point at the JRE_1 tag if anyone is interested.
IMHO, v31 is dead.

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

22 years agoGet rid of the DAVParam support. That was a concept to help out
Greg Stein [Sat, 9 Feb 2002 01:57:38 +0000 (01:57 +0000)]
Get rid of the DAVParam support. That was a concept to help out
mod_dav providers in the 1.0.x series. Nowadays, the providers are
full-fledged Apache modules and can define their own directives and
set up per-server and per-directory parameters. (for example,
mod_dav_fs and the DAVLockDB directive)

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

22 years agohmmm... not so sure anymore
Jeff Trawick [Fri, 8 Feb 2002 23:35:21 +0000 (23:35 +0000)]
hmmm... not so sure anymore

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

22 years agoFixed an alignment problem between httpd and aprlib
Bradley Nicholes [Fri, 8 Feb 2002 22:07:03 +0000 (22:07 +0000)]
Fixed an alignment problem between httpd and aprlib

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

22 years agoadd another log message showing when we server a cached file (as info not debug)
Ian Holsman [Fri, 8 Feb 2002 19:58:26 +0000 (19:58 +0000)]
add another log message showing when we server a cached file (as info not debug)

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

22 years ago Some considerable fixes in sending log messages out to the event log.
William A. Rowe Jr [Fri, 8 Feb 2002 19:37:47 +0000 (19:37 +0000)]
  Some considerable fixes in sending log messages out to the event log.

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

22 years ago Drawing attention to the timing problem; push the wait up so we do about
William A. Rowe Jr [Fri, 8 Feb 2002 19:37:02 +0000 (19:37 +0000)]
  Drawing attention to the timing problem; push the wait up so we do about
  nothing until WinNT initializes the app.

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

22 years agoRenamed the internal environment variable reference from NDK to LIBC
Bradley Nicholes [Fri, 8 Feb 2002 19:17:58 +0000 (19:17 +0000)]
Renamed the internal environment variable reference from NDK to LIBC

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

22 years agoAdded the renaming of apr_ldap.hnw to the prebuild precessing
Bradley Nicholes [Fri, 8 Feb 2002 19:17:26 +0000 (19:17 +0000)]
Added the renaming of apr_ldap.hnw to the prebuild precessing

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

22 years agoUpdated to use the newer locking API's. This file should probably be moved
Bradley Nicholes [Fri, 8 Feb 2002 18:32:50 +0000 (18:32 +0000)]
Updated to use the newer locking API's.  This file should probably be moved
to the httpd-ldap with the rest of the auth_ldap stuff.

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

22 years agoAdded .def files for build on NetWare
Bradley Nicholes [Fri, 8 Feb 2002 18:31:32 +0000 (18:31 +0000)]
Added .def files for build on NetWare

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

22 years agoUpdated to use the newer locking APIs
Bradley Nicholes [Fri, 8 Feb 2002 18:29:17 +0000 (18:29 +0000)]
Updated to use the newer locking APIs

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

22 years agowhy are the skies cloudy all day?
Jeff Trawick [Fri, 8 Feb 2002 18:00:58 +0000 (18:00 +0000)]
why are the skies cloudy all day?

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

22 years agoExplain why I'm sitting on .32.
Justin Erenkrantz [Fri, 8 Feb 2002 17:15:01 +0000 (17:15 +0000)]
Explain why I'm sitting on .32.

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

22 years agoupdate CHANGES for an input side seg fault fix.
Greg Ames [Fri, 8 Feb 2002 14:47:10 +0000 (14:47 +0000)]
update CHANGES for an input side seg fault fix.

also, get rid of a mainframe term that somehow leaked into a comment which
might confuse people.

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

22 years agostyle police
Ian Holsman [Fri, 8 Feb 2002 06:09:34 +0000 (06:09 +0000)]
style police
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoensure that ap_rgetline allocates storage for the request line each time it is
Greg Ames [Fri, 8 Feb 2002 02:25:42 +0000 (02:25 +0000)]
ensure that ap_rgetline allocates storage for the request line each time it is
called.

This fixes a number of segfaults on daedalus where the first line is
empty (i.e. \r\n followed by a bunch of garbage)

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

22 years agoAllow statically linked support binaries with the new
Aaron Bannert [Thu, 7 Feb 2002 23:01:47 +0000 (23:01 +0000)]
Allow statically linked support binaries with the new
--enable-static-support flag, and enable this behavior in
the binbuild script. Also add a new --enable-static-htdbm
flag.

BTW, this takes care of 7/8th of a showstopper.

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

22 years agoThat check is superfluous since we must have savename defined
Justin Erenkrantz [Thu, 7 Feb 2002 06:50:52 +0000 (06:50 +0000)]
That check is superfluous since we must have savename defined
(otherwise, we'd get APR_INCOMPLETE on apr_dir_read).

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

22 years agoAllow mod_autoindex to serve symlinks if permitted and optimize our stats
Justin Erenkrantz [Thu, 7 Feb 2002 06:37:09 +0000 (06:37 +0000)]
Allow mod_autoindex to serve symlinks if permitted and optimize our stats
so that only one stat() is needed.

If we get APR_FINFO_MIN bits, lookup_dirent won't do a repeated stat()
call.  So, let's do it here.  Also, if we see a symlink, expand it.
(Technically, we don't *have* to expand the symlinks - the resolve_symlink
fix handles that, but we can't really assume that.)  Since we know that
dirent will be rr->finfo anyway, go back to relying on dirent only for
APR_DIR checks.

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

22 years agoFix resolve_symlink to save the original symlink name if known.
Justin Erenkrantz [Thu, 7 Feb 2002 06:29:57 +0000 (06:29 +0000)]
Fix resolve_symlink to save the original symlink name if known.

We would previously receive APR_INCOMPLETE on symlinks if wanted has
FINFO_NAME set because it isn't supported via apr_stat().  Furthermore, we
don't care what the real name is anyway (even if it apr_stat returned
.name) - we want to call it by the name the symlink says it is.

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

22 years ago Eliminate tons o cruft - we are in another thread - and these can all
William A. Rowe Jr [Thu, 7 Feb 2002 06:28:45 +0000 (06:28 +0000)]
  Eliminate tons o cruft - we are in another thread - and these can all
  be longlived malloced regions, or sit upon the stack.  No need to mess
  with pool conflicts.

  The remaining pool accesses are still a problem to resolve.

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

22 years ago Upon advice of the FirstBill, I began looking for exceptions that occur
William A. Rowe Jr [Thu, 7 Feb 2002 00:24:12 +0000 (00:24 +0000)]
  Upon advice of the FirstBill, I began looking for exceptions that occur
  only in the service-mode.  SetServiceDescription was borked, now fixed.
  Since we don't use the posix/libc style stderr, I've also pitched that
  code, which was causing an exception.

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

22 years agobit foggy
Ian Holsman [Wed, 6 Feb 2002 22:52:15 +0000 (22:52 +0000)]
bit foggy
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoThis issue is completed.
Justin Erenkrantz [Wed, 6 Feb 2002 22:34:47 +0000 (22:34 +0000)]
This issue is completed.

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

22 years agoChanging my vote. I no longer have a problem with this. At the time,
Cliff Woolley [Wed, 6 Feb 2002 22:32:34 +0000 (22:32 +0000)]
Changing my vote.  I no longer have a problem with this.  At the time,
lots of changes were being made to worker to fix bugs, and it seemed
premature.  Haven't seen much of that as of late.

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

22 years agoMove the 31 + fixes note to the beginning of the section.
Justin Erenkrantz [Wed, 6 Feb 2002 22:30:56 +0000 (22:30 +0000)]
Move the 31 + fixes note to the beginning of the section.

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

22 years ago- We're not going to be doing an unmodified 2.0.31 release, so noting the
Justin Erenkrantz [Wed, 6 Feb 2002 22:27:24 +0000 (22:27 +0000)]
- We're not going to be doing an unmodified 2.0.31 release, so noting the
  AP_DEBUG_ASSERT fix isn't helpful.
- The vote for perchild being required for GA is unanimous against.  No
  matter what interpretation you take, it isn't going to be a showstopper.

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

22 years agoSplit out anything that calls for a vote to be in its own section.
Justin Erenkrantz [Wed, 6 Feb 2002 22:23:48 +0000 (22:23 +0000)]
Split out anything that calls for a vote to be in its own section.

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

22 years agoBe nice if we recorded that this problem might be fixed. =)
Justin Erenkrantz [Wed, 6 Feb 2002 22:19:57 +0000 (22:19 +0000)]
Be nice if we recorded that this problem might be fixed.  =)

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

22 years agoRearrange the titles a bit.
Justin Erenkrantz [Wed, 6 Feb 2002 22:17:47 +0000 (22:17 +0000)]
Rearrange the titles a bit.

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

22 years agoDocument the new default behavior for ServerName and improve the readability
Joshua Slive [Wed, 6 Feb 2002 21:34:10 +0000 (21:34 +0000)]
Document the new default behavior for ServerName and improve the readability
a little.

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

22 years agoImplemented the handling of the SIGABRT signal.
Bradley Nicholes [Wed, 6 Feb 2002 21:13:57 +0000 (21:13 +0000)]
Implemented the handling of the SIGABRT signal.

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

22 years agoRemoved the #ifdef NETWARE to allow the standard abort() function to
Bradley Nicholes [Wed, 6 Feb 2002 21:13:28 +0000 (21:13 +0000)]
Removed the #ifdef NETWARE to allow the standard abort() function to
be called.

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

22 years ago If we only need to toggle the event, don't ask for the whole ball 'o wax.
William A. Rowe Jr [Wed, 6 Feb 2002 21:09:26 +0000 (21:09 +0000)]
  If we only need to toggle the event, don't ask for the whole ball 'o wax.

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

22 years agoPoint at Greg's daedalus patches.
Justin Erenkrantz [Wed, 6 Feb 2002 21:00:39 +0000 (21:00 +0000)]
Point at Greg's daedalus patches.

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

22 years agoCite the message id not the URL.
Justin Erenkrantz [Wed, 6 Feb 2002 20:05:49 +0000 (20:05 +0000)]
Cite the message id not the URL.

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

22 years agoDe-tabify. No content changes.
Ken Coar [Wed, 6 Feb 2002 20:02:22 +0000 (20:02 +0000)]
De-tabify.  No content changes.

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

22 years ago Separate showstoppers into next-beta and final-release sections.
Ken Coar [Wed, 6 Feb 2002 19:42:12 +0000 (19:42 +0000)]
Separate showstoppers into next-beta and final-release sections.
Change a couple of my votes.  Some minor formatting changes
(it's not code, so just deal with it ;-).

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

22 years ago Occifer Will from the Redundacy Dept of Redundancy reporting for duty...
William A. Rowe Jr [Wed, 6 Feb 2002 19:23:43 +0000 (19:23 +0000)]
  Occifer Will from the Redundacy Dept of Redundancy reporting for duty...
  Cleaning up a few more variables and fix a logged err status.

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

22 years agoAdd the FileETag description
Ken Coar [Wed, 6 Feb 2002 19:09:47 +0000 (19:09 +0000)]
Add the FileETag description

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

22 years ago Move around a bit of code so I can follow it better. -> EOF should always
William A. Rowe Jr [Wed, 6 Feb 2002 19:06:39 +0000 (19:06 +0000)]
  Move around a bit of code so I can follow it better.  -> EOF should always
  take us to the module struct, and working backwards, the register hooks
  and then top-level init stuff.  At least that's how any other Apache
  module is authored.

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

22 years agoImprove example perl script.
Joshua Slive [Wed, 6 Feb 2002 18:59:20 +0000 (18:59 +0000)]
Improve example perl script.

I'm no perl expert, so additional reviewing eyes may be needed.

PR: 9686
Submitted by: rodrigo campos <camposr@uol.com.br>, Patrik Grip-Jansson <patrikj@gnulix.org>

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

22 years agoUmmmm experience on Daedalus implies we could do better :)
Jim Jagielski [Wed, 6 Feb 2002 18:39:50 +0000 (18:39 +0000)]
Ummmm experience on Daedalus implies we could do better :)

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

22 years agoLink to patch that incorporates all relevant bug fixes seen so far.
Justin Erenkrantz [Wed, 6 Feb 2002 18:32:03 +0000 (18:32 +0000)]
Link to patch that incorporates all relevant bug fixes seen so far.
(only conflict from HEAD is in core.c where rbb/FirstBill snuck in some
hook changes...)

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

22 years ago Give the child GENERIC_WRITE only to the stderr log channel,
William A. Rowe Jr [Wed, 6 Feb 2002 18:23:31 +0000 (18:23 +0000)]
  Give the child GENERIC_WRITE only to the stderr log channel,
  GENERIC_READ|GENERIC_WRITE to the scoreboard mapping,
  EVENT_MODIFY_STATE|SYNCHRONIZE to it's exit event,
  and fix a _major_ bug in the NullACL code that set the length
  by the size of the pointer-to-acl, rather than the size of an acl.

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

22 years agoAdd note about APR_BRIGADE_NORMALIZE usage in core_input_filter.
Justin Erenkrantz [Wed, 6 Feb 2002 17:19:41 +0000 (17:19 +0000)]
Add note about APR_BRIGADE_NORMALIZE usage in core_input_filter.

Consensus has overruled the hook ordering showstopper and is now demoted
accordingly.

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

22 years agoRevision 1.79 was bogus.
Justin Erenkrantz [Wed, 6 Feb 2002 17:11:38 +0000 (17:11 +0000)]
Revision 1.79 was bogus.

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

22 years agoBe a bit more sane with regard to CanonicalNames. If the user has
Ryan Bloom [Wed, 6 Feb 2002 16:58:37 +0000 (16:58 +0000)]
Be a bit more sane with regard to CanonicalNames.  If the user has
specified they want to use the CanonicalName, but they have not
configured a port with the ServerName, then use the same port that
the original request used.

Submitted by:   Ryan Bloom and Ken Coar

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

22 years agoWe totally disregard the fact that notice is level 5 and always print
Justin Erenkrantz [Wed, 6 Feb 2002 16:56:52 +0000 (16:56 +0000)]
We totally disregard the fact that notice is level 5 and always print
that.  Yuck.  Make these error message DEBUG level then.

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

22 years agodon't try to place a header field in error-notes if ap_rgetline()
Jeff Trawick [Wed, 6 Feb 2002 16:19:03 +0000 (16:19 +0000)]
don't try to place a header field in error-notes if ap_rgetline()
returned something like APR_EOF, since len is not set in this
case and we can go off the end of storage

make sure we set r->status to something when we bail out due
to an error; otherwise, the request goes forward with meaningless
headers

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

22 years agoyet another tweak to empty brigade checking on entry to core_input_filter():
Jeff Trawick [Wed, 6 Feb 2002 16:16:55 +0000 (16:16 +0000)]
yet another tweak to empty brigade checking on entry to core_input_filter():

  since APR_BRIGADE_EMPTY() assumes a non-empty brigade, we have to check
  before invoking that macro

  since APR_BRIGADE_EMPTY() can make a brigade empty, we have to check
  after invoking that macro

An obvious variation of this fix would be to change APR_BRIGADE_NORMALIZE()
to deal with empty brigades.

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

22 years agore-read this, and withdrew my vote. I thought we were talking binbuild,
Greg Ames [Wed, 6 Feb 2002 15:56:07 +0000 (15:56 +0000)]
re-read this, and withdrew my vote.  I thought we were talking binbuild,
but it seems more general.

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

22 years agoThat Train Don't Run
Justin Erenkrantz [Wed, 6 Feb 2002 08:55:12 +0000 (08:55 +0000)]
That Train Don't Run

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

22 years agoNote fixes so that DB1 on a FreeBSD box work with apr-util.
Justin Erenkrantz [Wed, 6 Feb 2002 08:44:13 +0000 (08:44 +0000)]
Note fixes so that DB1 on a FreeBSD box work with apr-util.

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

22 years ago A cleanup from the redundancy dept. of redundancy
William A. Rowe Jr [Wed, 6 Feb 2002 08:14:11 +0000 (08:14 +0000)]
  A cleanup from the redundancy dept. of redundancy

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

22 years ago Leaky as a sieve.
William A. Rowe Jr [Wed, 6 Feb 2002 08:11:23 +0000 (08:11 +0000)]
  Leaky as a sieve.

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

22 years ago Didn't mean to leave that in there. MPM works, how well I haven't yet
William A. Rowe Jr [Wed, 6 Feb 2002 07:31:31 +0000 (07:31 +0000)]
  Didn't mean to leave that in there.  MPM works, how well I haven't yet
  determined.

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

22 years ago Clean up more bogosity and leaky pipes [and fix a recent bug].
William A. Rowe Jr [Wed, 6 Feb 2002 07:30:22 +0000 (07:30 +0000)]
  Clean up more bogosity and leaky pipes [and fix a recent bug].

  1. The only good assert is a deleted assert.

  2. The child exit event is a very private item, can't pollute into
     other processes we create, shouldn't be named, and should never
     be accessable to anyone but the parent.

  3. We now pass 'handles', not just a single scoreboard.

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

22 years ago BS. This isn't an assert. This is a friggin developer's black hole.
William A. Rowe Jr [Wed, 6 Feb 2002 07:25:01 +0000 (07:25 +0000)]
  BS.  This isn't an assert.  This is a friggin developer's black hole.
  Suggesion: Netware needs to implement the appropriate abort() style
  fn.  If there is none on Netware, this is non-portable, undebuggable,
  and will be yanked by tommorow evening.

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

22 years ago 1. gotta look at the child return code (think kindergarden, you've got
William A. Rowe Jr [Wed, 6 Feb 2002 05:53:10 +0000 (05:53 +0000)]
  1. gotta look at the child return code (think kindergarden, you've got
     to keep an eye on those kids.)

  2. gotta return a respectable exit code.

  3. gotta have a few sensible messages.

  4. gotta know where we went.

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

22 years ago Start simplifying and grouping code. Building on the work that rbb
William A. Rowe Jr [Wed, 6 Feb 2002 04:27:22 +0000 (04:27 +0000)]
  Start simplifying and grouping code.  Building on the work that rbb
  had begun; we need to start organizing this so it can be groked by
  more than one person at a time [or simply by more than one person.]

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

22 years agobrrrrrrrr
Jeff Trawick [Wed, 6 Feb 2002 03:55:42 +0000 (03:55 +0000)]
brrrrrrrr

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

22 years agoWe seem to have fixes in our tree for all of our cited problems.
Justin Erenkrantz [Wed, 6 Feb 2002 02:40:37 +0000 (02:40 +0000)]
We seem to have fixes in our tree for all of our cited problems.
If we could take the v31 tree and apply those revisions that fixes bugs
to make v32, I'd be game for beta.

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

22 years agosegfaults--;
Justin Erenkrantz [Wed, 6 Feb 2002 02:35:20 +0000 (02:35 +0000)]
segfaults--;

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

22 years agoTone down the logging levels for these two messages from ERROR to NOTICE.
Justin Erenkrantz [Wed, 6 Feb 2002 02:29:54 +0000 (02:29 +0000)]
Tone down the logging levels for these two messages from ERROR to NOTICE.
It's something to note, but it isn't an error worthy of logging by default.
(Also always log any status values in read_request_line() - incl. timeouts.)

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

22 years ago- Fix up a comment so that it makes more sense and explains why we return
Justin Erenkrantz [Wed, 6 Feb 2002 02:24:18 +0000 (02:24 +0000)]
- Fix up a comment so that it makes more sense and explains why we return
  APR_EOF instead of an EOS bucket.
- Start to try to be nice when we *know* we are EOS by removing the
  bucket.  This is only one case where we could end up with a 0 bucket
  in ctx->b, but let's remove it and move on.  (If the bucket were to
  return 0 bytes and still have data left to read on blocking mode,
  it's blantly broken, IMHO)

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

22 years agoIf the MIME-continuation line returns nothing, then we should return not
Justin Erenkrantz [Wed, 6 Feb 2002 02:20:13 +0000 (02:20 +0000)]
If the MIME-continuation line returns nothing, then we should return not
segfault.

(A minor change to Jeff's patch is that we ignore the EBCDIC code path.)

Submitted by: Jeff Trawick
Reviewed by: Justin Erenkrantz

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

22 years agoUpdating my vote on 2.0.31 based on the segfaults on daedalus
Brian Pane [Wed, 6 Feb 2002 02:08:46 +0000 (02:08 +0000)]
Updating my vote on 2.0.31 based on the segfaults on daedalus

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

22 years agoJeff seems to have fixed this. Go Jeff!
Justin Erenkrantz [Wed, 6 Feb 2002 00:04:55 +0000 (00:04 +0000)]
Jeff seems to have fixed this.  Go Jeff!

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

22 years ago While the tide was turning twords my take... this number of bugs in the
William A. Rowe Jr [Tue, 5 Feb 2002 23:24:07 +0000 (23:24 +0000)]
  While the tide was turning twords my take... this number of bugs in the
  Winnt mpm mean I can't go against Unix getting a good beta.  Now the
  Q, is unix a good beta :-?

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

22 years ago Some compatibility fixes. Built yet untested, read three times through.
William A. Rowe Jr [Tue, 5 Feb 2002 23:17:22 +0000 (23:17 +0000)]
  Some compatibility fixes.  Built yet untested, read three times through.
  Please review and raise the flag if any of these introduce bad mojo.

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

22 years ago Do we have sys/socket.h?
William A. Rowe Jr [Tue, 5 Feb 2002 23:13:42 +0000 (23:13 +0000)]
  Do we have sys/socket.h?

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

22 years agoIn core_input_filter, check for an empty brigade after
Jeff Trawick [Tue, 5 Feb 2002 22:56:44 +0000 (22:56 +0000)]
In core_input_filter, check for an empty brigade after
APR_BRIGADE_NORMALIZE().  Otherwise, we can get segfaults if a
client says it will post some data but we get FIN before any
data arrives.

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

22 years agoWe don't have weather in Irvine. We do have that chick who does the
Justin Erenkrantz [Tue, 5 Feb 2002 22:49:03 +0000 (22:49 +0000)]
We don't have weather in Irvine.  We do have that chick who does the
NFL "weather" for Fox Sports.  'Nuf said.

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

22 years agoRemove all non-portable DBM calls in mod_auth_dbm and rely only on the
Justin Erenkrantz [Tue, 5 Feb 2002 22:41:18 +0000 (22:41 +0000)]
Remove all non-portable DBM calls in mod_auth_dbm and rely only on the
apr-util DBM code.

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

22 years agoRemove the install_transport_filters hook. The same function can be
Ryan Bloom [Tue, 5 Feb 2002 22:18:49 +0000 (22:18 +0000)]
Remove the install_transport_filters hook.  The same function can be
acheived with the pre_connection hook.  I have added the socket to the
pre_connection phase to make this possible.
Reviewed by: Bill Stoddard

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

22 years agoLast week it was spring, this week it's winter. What's wrong with this
Greg Ames [Tue, 5 Feb 2002 22:13:20 +0000 (22:13 +0000)]
Last week it was spring, this week it's winter.  What's wrong with this
picture?

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

22 years ago These crit errors make -0- sense. Interesting info entry, however.
William A. Rowe Jr [Tue, 5 Feb 2002 22:00:48 +0000 (22:00 +0000)]
  These crit errors make -0- sense.  Interesting info entry, however.

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

22 years agoVetoed by Ken
Cliff Woolley [Tue, 5 Feb 2002 15:35:54 +0000 (15:35 +0000)]
Vetoed by Ken

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

22 years agorestore the SO_REUSEADDR for listening sockets; it is absolutely
Jeff Trawick [Tue, 5 Feb 2002 12:52:01 +0000 (12:52 +0000)]
restore the SO_REUSEADDR for listening sockets; it is absolutely
required on most (all?) platforms, regardless of what code changes
might be required to work around the ability on Windows to
inadvertently have more than one server listening on the same ports

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

22 years ago Change the 'we turned /foo into http://host/foo' log message
Ken Coar [Tue, 5 Feb 2002 11:35:57 +0000 (11:35 +0000)]
Change the 'we turned /foo into http://host/foo' log message
to DEBUG; no reason to clutter people's log files with this
when it's supported behaviour.  Of course, they can find out
about the performance impact by LogLeveling Debug. :-)

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

22 years agoList files that would result in HTTP_UNAUTHORIZED in addition to
Cliff Woolley [Tue, 5 Feb 2002 09:26:02 +0000 (09:26 +0000)]
List files that would result in HTTP_UNAUTHORIZED in addition to
successes and redirections, since there's a chance the client will
actually have the proper authorization to retrieve them.

Reported by: Stas Bekman

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

22 years agoThis change keeps the server from allowing multiple instances to bind to
Ryan Bloom [Tue, 5 Feb 2002 06:16:04 +0000 (06:16 +0000)]
This change keeps the server from allowing multiple instances to bind to
the same port.  Previously, this was necessary, because the Windows MPM
was binding to the socket in both the parent and child.  Today's code
passes the attached socket to the child from the parent, so we don't need
to re-attach in the child.

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

22 years agoJinH found a shared memory problem
Ian Holsman [Tue, 5 Feb 2002 04:38:18 +0000 (04:38 +0000)]
JinH found a shared memory problem
IMHO a beta killer

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

22 years agoMisc cleanup to fix compile warnings and a segfault. This module is still
Bill Stoddard [Tue, 5 Feb 2002 02:48:34 +0000 (02:48 +0000)]
Misc cleanup to fix compile warnings and a segfault. This module is still
a long ways from doing anything useful, but every bit helps.

Submitted by: Joe Norton

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

22 years agoAdd the return type to the function definition.
Bill Stoddard [Tue, 5 Feb 2002 02:47:29 +0000 (02:47 +0000)]
Add the return type to the function definition.

Submitted by: Joe Norton

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

22 years agoPort the listener bind patch from the Unix MPMs to Windows. This allows
Ryan Bloom [Tue, 5 Feb 2002 01:13:37 +0000 (01:13 +0000)]
Port the listener bind patch from the Unix MPMs to Windows.  This allows
ANy windows bind message to be printed to the console if the server was
started from the command line.

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

22 years agoBeing stuck in a basement, I have no idea what the weather is like. :-(
Ryan Bloom [Tue, 5 Feb 2002 01:01:54 +0000 (01:01 +0000)]
Being stuck in a basement, I have no idea what the weather is like.  :-(

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

22 years agoadd a optional function ap_cache_generate_key
Ian Holsman [Tue, 5 Feb 2002 00:15:42 +0000 (00:15 +0000)]
add a optional function ap_cache_generate_key
which allows a 3rd party module to generate the key name based
on the request_rec.

the idea here is for it to also be able to mess with expiry times
and cachability

add another option.. CacheIgnoreCacheControl. this ignores a 'incoming request's
attempts to get a fresh copy. Mainly I see this as being usefull in r-proxy's

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