]> granicus.if.org Git - apache/log
apache
22 years ago32-dev is now it
Ian Holsman [Thu, 31 Jan 2002 05:28:43 +0000 (05:28 +0000)]
32-dev is now it
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoits tag time
Ian Holsman [Thu, 31 Jan 2002 05:22:37 +0000 (05:22 +0000)]
its tag time
v31 is being tagged

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

22 years ago The missing xcopy's <.a bit was a showstopper, but to ensure any win32
William A. Rowe Jr [Thu, 31 Jan 2002 01:25:49 +0000 (01:25 +0000)]
  The missing xcopy's <.a bit was a showstopper, but to ensure any win32
  command.com/cmd.exe lives with us, add the <.y for all copy commands
  where the file could already exist.

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

22 years agoEliminate variables where unneeded; move ";type=" checking code to front;
Martin Kraemer [Wed, 30 Jan 2002 22:41:59 +0000 (22:41 +0000)]
Eliminate variables where unneeded; move ";type=" checking code to front;
drop redundant log messages (covered by proxy_ftp_command());
do checks for /%2f as in apache-1.3.24;
escape path argument in SIZE command

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

22 years agoChange the Windows MPM to only use the pre_mpm phase in the parent process.
Ryan Bloom [Wed, 30 Jan 2002 22:35:57 +0000 (22:35 +0000)]
Change the Windows MPM to only use the pre_mpm phase in the parent process.
The child processes use the child_init phase to reattach to the shared
memory.  This makes Windows work like Unix, which should make it easier
for module authors to write portable modules.

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

22 years agochange filter's/handlers to static.
Ian Holsman [Wed, 30 Jan 2002 18:53:33 +0000 (18:53 +0000)]
change filter's/handlers to static.
changed a directive to a flag (which is what it was)
Submitted by:  Jeff Trawick

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

22 years agoadd a ProxyTimeout directive
Ian Holsman [Wed, 30 Jan 2002 18:46:56 +0000 (18:46 +0000)]
add a ProxyTimeout directive

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

22 years agoWhoops, forgot to update this 'way back when..
Ken Coar [Wed, 30 Jan 2002 18:38:09 +0000 (18:38 +0000)]
Whoops, forgot to update this 'way back when..

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

22 years agoout damn warnings out
Ian Holsman [Wed, 30 Jan 2002 18:05:26 +0000 (18:05 +0000)]
out damn warnings out

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

22 years agoFix a type-d'oh
Ken Coar [Wed, 30 Jan 2002 16:53:44 +0000 (16:53 +0000)]
Fix a type-d'oh

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

22 years agoIf we die we need to write an epitaph..
Ken Coar [Wed, 30 Jan 2002 16:11:10 +0000 (16:11 +0000)]
If we die we need to write an epitaph..

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

22 years agoUpdate documentation, and lowercase all html tags
Martin Kraemer [Wed, 30 Jan 2002 15:51:01 +0000 (15:51 +0000)]
Update documentation, and lowercase all html tags

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

22 years agoMinor tipos
Martin Kraemer [Wed, 30 Jan 2002 15:30:09 +0000 (15:30 +0000)]
Minor tipos

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

22 years agoOf course, more wildcard characters
Martin Kraemer [Wed, 30 Jan 2002 15:14:39 +0000 (15:14 +0000)]
Of course, more wildcard characters

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

22 years agoDescribe the proxy_ftp changes:
Martin Kraemer [Wed, 30 Jan 2002 15:12:57 +0000 (15:12 +0000)]
Describe the proxy_ftp changes:
FTP directory listings are now always retrieved in ASCII mode.
The FTP proxy properly escapes URI's and HTML in the generated
listing, and escapes the path components when talking to the FTP
server. It is now possible to browse the root directory by using
a url like:   ftp://user@host/%2f/ (ported from apache_1.3.24)
Also, the last path component may contain wildcard characters
'*' and '?', and if they do, a directory listing is created instead
of a file retrieval. Example: ftp://user@host/httpd/server/*.c

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

22 years agoPort the "squid %2f hack" from apache_1.3.24.
Martin Kraemer [Wed, 30 Jan 2002 15:07:48 +0000 (15:07 +0000)]
Port the "squid %2f hack" from apache_1.3.24.
It is now possible to browse the root directory by using a url
like:   ftp://user@host/%2f/
Also, the last path component may contain wildcard characters
'*' and '?', and if they do, a directory listing is created instead
of a file retrieval. Example: ftp://user@host/httpd/server/*.c

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

22 years agoOops, sorry. Lost one line.
Martin Kraemer [Wed, 30 Jan 2002 14:59:46 +0000 (14:59 +0000)]
Oops, sorry. Lost one line.

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

22 years agoSomething sets the content_encoding, even if a directory listing
Martin Kraemer [Wed, 30 Jan 2002 14:56:42 +0000 (14:56 +0000)]
Something sets the content_encoding, even if a directory listing
is going to be returned. Hack: unset the content_encoding if
dirlisting == TRUE.

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

22 years agoFor the ftp commands CWD and RETR, do escaping for the path elements,
Martin Kraemer [Wed, 30 Jan 2002 14:54:18 +0000 (14:54 +0000)]
For the ftp commands CWD and RETR, do escaping for the path elements,
because FTP servers do globbing, which we do not want for filenames
from the directory listing.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years ago Fix nmake -f makefile.win clean on win32.
William A. Rowe Jr [Wed, 30 Jan 2002 13:40:42 +0000 (13:40 +0000)]
  Fix nmake -f makefile.win clean on win32.

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

22 years agoIn the debug log, say 'decline' instead of 'reject' when DECLINEing
Martin Kraemer [Wed, 30 Jan 2002 12:40:39 +0000 (12:40 +0000)]
In the debug log, say 'decline' instead of 'reject' when DECLINEing

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

22 years agoRemove more spmt_os2 MPM leftovers.
Brian Havard [Wed, 30 Jan 2002 12:32:07 +0000 (12:32 +0000)]
Remove more spmt_os2 MPM leftovers.

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

22 years agoget rid of a bunch of warnings about unused variables
Jeff Trawick [Wed, 30 Jan 2002 11:56:26 +0000 (11:56 +0000)]
get rid of a bunch of warnings about unused variables

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

22 years agozap a warning on AIX... given that time_t isn't an APR construct
Jeff Trawick [Wed, 30 Jan 2002 11:54:15 +0000 (11:54 +0000)]
zap a warning on AIX...  given that time_t isn't an APR construct
I don't know of a better fix

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

22 years agoOops: wrong variable
Martin Kraemer [Wed, 30 Jan 2002 09:55:33 +0000 (09:55 +0000)]
Oops: wrong variable

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

22 years agoSimplify the complexity by using a common proxy_ftp_command() routine.
Martin Kraemer [Wed, 30 Jan 2002 09:47:22 +0000 (09:47 +0000)]
Simplify the complexity by using a common proxy_ftp_command() routine.
Strip the ";type=X" suffix from the header generated in dir listings.
Set type to ASCII for directory listings. Use common get_PWD() routine.

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

22 years agoUpdated to support the use of the ap_mpm_pod API in worker
Brian Pane [Wed, 30 Jan 2002 06:34:12 +0000 (06:34 +0000)]
Updated to support the use of the ap_mpm_pod API in worker

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

22 years agoAdded logic to the worker MPM to skip the poll before accept
Brian Pane [Wed, 30 Jan 2002 06:33:18 +0000 (06:33 +0000)]
Added logic to the worker MPM to skip the poll before accept
if there's only one listener socket (based on the implementation
in the prefork MPM).  This also enables us to do single-listener
unserialized accept

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

22 years ago Need the long name of the build model for ssl/abs (e.g. Release/Debug).
William A. Rowe Jr [Wed, 30 Jan 2002 05:17:58 +0000 (05:17 +0000)]
  Need the long name of the build model for ssl/abs (e.g. Release/Debug).

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

22 years agomake it compile on win32
Ian Holsman [Wed, 30 Jan 2002 04:37:29 +0000 (04:37 +0000)]
make it compile on win32

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

22 years agoCleanup some fallout from the recent install_transport_filters commit.
Bill Stoddard [Wed, 30 Jan 2002 04:34:11 +0000 (04:34 +0000)]
Cleanup some fallout from the recent install_transport_filters commit.
Deprecate ap_proxy_pre_http_connection.

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

22 years agoSimplify the exit paths of ap_rgetline by creating a second brigade for
Justin Erenkrantz [Wed, 30 Jan 2002 02:06:09 +0000 (02:06 +0000)]
Simplify the exit paths of ap_rgetline by creating a second brigade for
use when we do AP_MODE_SPECULATIVE.  This allows us to delete the
brigades earlier.

(In practice, it really doesn't matter if we delete the brigade or not
since it will be destroyed when it's pool is destroyed, but we'll try
to be nice.)

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

22 years agoNow how did this slip by. Fixes a segfault. I tested this code, really...
Bill Stoddard [Wed, 30 Jan 2002 01:57:53 +0000 (01:57 +0000)]
Now how did this slip by. Fixes a segfault. I tested this code, really...

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

22 years agoget prefork to build again.
Greg Ames [Tue, 29 Jan 2002 22:31:25 +0000 (22:31 +0000)]
get prefork to build again.

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

22 years agonew directive 'ProxyPreserveHost' which allows the incoming host line to
Ian Holsman [Tue, 29 Jan 2002 21:08:37 +0000 (21:08 +0000)]
new directive 'ProxyPreserveHost'  which allows the incoming host line to
be sent to the proxied server.

Submitted by: g.russell@ieee.org (1.3 version)
Reviewed by: Ian Holsman/Graham Legget/Chuck Murcko

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

22 years agojust make it a bit more explicit
Ian Holsman [Tue, 29 Jan 2002 19:33:25 +0000 (19:33 +0000)]
just make it a bit more explicit

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

22 years agoThis patch restores most of Ryan's patch (11/12/2001) to remove the
Bill Stoddard [Tue, 29 Jan 2002 19:02:04 +0000 (19:02 +0000)]
This patch restores most of Ryan's patch (11/12/2001) to remove the
client_socket from the conn_rec.  Diffs from Ryan's patch include:

- rename the create_connection hook to install_transport_filters
- move the point of invocation of the hook till after the call to
  after ap_update_vhost_given_ip to enable the hook to use vhost
  config info in its decision making.

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

22 years agoconfiguration change.
Ian Holsman [Tue, 29 Jan 2002 19:00:45 +0000 (19:00 +0000)]
configuration change.
allow a '!' directive to stop proxying these requests
eg.

  ProxyPass /services/images/     !
  ProxyPass /services/            http://service-machine/services/

which will stop requests to /services/images/ from being proxied

Submitted by: Jukka Pihl <jukka.pihl@entirem.com>
Reviewed by: Ian Holsman, Graham Legget, Chuck Murcko

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

22 years ago BuildBin never made it to this home. Makefile.win got lost, since it
William A. Rowe Jr [Tue, 29 Jan 2002 18:19:17 +0000 (18:19 +0000)]
  BuildBin never made it to this home.  Makefile.win got lost, since it
  would have been invoked from another path, trying to validate that the
  apr and apr-util repositories had been checked out.  Too much trouble :)

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

22 years ago Move the _tryssl targets across to the BuildBin target
William A. Rowe Jr [Tue, 29 Jan 2002 18:16:54 +0000 (18:16 +0000)]
  Move the _tryssl targets across to the BuildBin target

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

22 years ago Trust MS to manage it's project.
William A. Rowe Jr [Tue, 29 Jan 2002 18:15:13 +0000 (18:15 +0000)]
  Trust MS to manage it's project.

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

22 years ago By popular demand and some of my own observations - here is a build
William A. Rowe Jr [Tue, 29 Jan 2002 18:13:33 +0000 (18:13 +0000)]
  By popular demand and some of my own observations - here is a build
  target one can use as a dummy, without 'installing binaries'.  Now
  Win32's makefile.win will simply kick off BuildBin and let it fire
  off all the targets from a command line build.  This will help to
  resolve some of the misses on incremental builds.

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

22 years agoIf the ftp proxy could not guess the output format of the ftp server's
Martin Kraemer [Tue, 29 Jan 2002 17:56:42 +0000 (17:56 +0000)]
If the ftp proxy could not guess the output format of the ftp server's
directory listing, it makes another attempt: it tries a format similar to
the output of "ls -s1" (optional whitespace followed by size, followed by
whitespace, followed by filename, where filename may contain no more whitespace).
This format works at least with one FTP server for which previously only
the (non-clickable) output was displayed.

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

22 years ago Many of our platform's apr_dir_read() aren't returning APR_FINFO_TYPE,
William A. Rowe Jr [Tue, 29 Jan 2002 17:46:30 +0000 (17:46 +0000)]
  Many of our platform's apr_dir_read() aren't returning APR_FINFO_TYPE,
  so we will take the long way through (and the long way for LNK's as well.)

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

22 years ago Prepare for some changes to the .dsw - phase 1.
William A. Rowe Jr [Tue, 29 Jan 2002 17:22:20 +0000 (17:22 +0000)]
  Prepare for some changes to the .dsw - phase 1.

  Add /USEENV for msdev so the user with awk.exe in the path can resolve.

  Add _dummy: for a new compile-all target.

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

22 years agoFix handling of \r\n at the end of FTP directory listings (\r characters
Martin Kraemer [Tue, 29 Jan 2002 17:07:26 +0000 (17:07 +0000)]
Fix handling of \r\n at the end of FTP directory listings (\r characters
were left in the output and would create additional line breaks in most
browsers)

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

22 years agoFor NoProxy connections (when no backend->connection is needed), a NULL
Martin Kraemer [Tue, 29 Jan 2002 16:55:07 +0000 (16:55 +0000)]
For NoProxy connections (when no backend->connection is needed), a NULL
pointer would be dereferenced. Check it more thoroughly.

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

22 years agoScriptAlias requires mod_cgi
Joshua Slive [Tue, 29 Jan 2002 15:46:58 +0000 (15:46 +0000)]
ScriptAlias requires mod_cgi

Submitted by: TD - Sales International Holland B.V. <td@salesint.com>

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

22 years ago* Prefer compatibility with both HTML-4 and XHTML (rather than XHTML only)
Martin Kraemer [Tue, 29 Jan 2002 15:31:28 +0000 (15:31 +0000)]
* Prefer compatibility with both HTML-4 and XHTML (rather than XHTML only)
* Properly escape URIs and HTML in the FTP filename list
* Avoid a pointer underrun

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

22 years agoAdd some more apr_ types
Martin Kraemer [Tue, 29 Jan 2002 15:27:30 +0000 (15:27 +0000)]
Add some more apr_ types

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

22 years agoconst is nice
Jeff Trawick [Tue, 29 Jan 2002 12:30:52 +0000 (12:30 +0000)]
const is nice

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

22 years agoNo need to use strcpy() where a ptr assignment is ok
Martin Kraemer [Tue, 29 Jan 2002 09:09:47 +0000 (09:09 +0000)]
No need to use strcpy() where a ptr assignment is ok

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

22 years agoDon't let the default handler try to serve a raw directory. At
Jeff Trawick [Tue, 29 Jan 2002 04:54:05 +0000 (04:54 +0000)]
Don't let the default handler try to serve a raw directory.  At
best you get gibberish.  Much worse things can happen depending
on the OS.

This can happen when autoindex isn't loaded.

On AIX, I had a directory file which was reported to be 1536 bytes
in size.  mmap() failed so we went to the fall-back logic.
The first read() got 624 bytes and the next read() got 0
(supposedly EOF).  This confused us greatly, we kept allocating
buffers and reading and exercised the paging space.

Reviewed by:  Bill Rowe

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

22 years agoTake advantage of the new pre_config return value when apr_proc_detach
Aaron Bannert [Tue, 29 Jan 2002 02:41:46 +0000 (02:41 +0000)]
Take advantage of the new pre_config return value when apr_proc_detach
fails. I'll be making some changes to apr_proc_detach, and it will be
nice to be able to report runtime errors.

Tested on worker but the code changes are identical on other MPMs.

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

22 years agoAdded MOD_Auth_Digest to the build project
Bradley Nicholes [Tue, 29 Jan 2002 00:42:34 +0000 (00:42 +0000)]
Added MOD_Auth_Digest to the build project

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

22 years agoAdded some type casting to the appropriate types to avoid type mismatches
Bradley Nicholes [Tue, 29 Jan 2002 00:23:30 +0000 (00:23 +0000)]
Added some type casting to the appropriate types to avoid type mismatches
on the CodeWarrior compiler

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

22 years agoI think this was supposed to have been bumped a couple times since
Aaron Bannert [Tue, 29 Jan 2002 00:00:39 +0000 (00:00 +0000)]
I think this was supposed to have been bumped a couple times since
the 14th, and was perhaps forgotten about? In any case, it needs to
be bumped now -- pre_config hook return type has changed.

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

22 years agoMention the pre_config prototype change, and fix some grammar.
Aaron Bannert [Mon, 28 Jan 2002 23:58:27 +0000 (23:58 +0000)]
Mention the pre_config prototype change, and fix some grammar.

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

22 years agoThe pre_config hook now takes a return value. This allows modules to
Aaron Bannert [Mon, 28 Jan 2002 23:49:40 +0000 (23:49 +0000)]
The pre_config hook now takes a return value. This allows modules to
cause the server to bail out under error conditions.

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

22 years agobacking out fix for missing path info and query string. wrowe beat me to
Greg Ames [Mon, 28 Jan 2002 21:18:10 +0000 (21:18 +0000)]
backing out fix for missing path info and query string.  wrowe beat me to
it.

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

22 years agohandle_multi: pass along the original path info and query string if
Greg Ames [Mon, 28 Jan 2002 18:43:19 +0000 (18:43 +0000)]
handle_multi: pass along the original path info and query string if
we redirect due to negotiation

pointed out by: Bill Rowe

also, clarify what some code in handle_map_file is doing

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

22 years agoFix some unix socket descriptor leaks in the handler side of
Jeff Trawick [Mon, 28 Jan 2002 18:30:07 +0000 (18:30 +0000)]
Fix some unix socket descriptor leaks in the handler side of
mod_cgid (the part that runs in the server process).  Whack a
silly "close(-1)" in the handler too.

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

22 years agoFirst step: send proxy_ftp.c thru
Martin Kraemer [Mon, 28 Jan 2002 16:54:05 +0000 (16:54 +0000)]
First step: send proxy_ftp.c thru
  indent | pr -e8 -t
(no other changes)

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

22 years agoUpdate --with-mpm help text wrt available OS/2 MPM name.
Brian Havard [Mon, 28 Jan 2002 05:08:38 +0000 (05:08 +0000)]
Update --with-mpm help text wrt available OS/2 MPM name.

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

22 years agozap an unintended (and incorrect) comment that slipped in with
Jeff Trawick [Mon, 28 Jan 2002 00:49:04 +0000 (00:49 +0000)]
zap an unintended (and incorrect) comment that slipped in with
the last commit; sorry!

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

22 years agosome level of gcc seems to be confused about whether or not
Jeff Trawick [Mon, 28 Jan 2002 00:43:48 +0000 (00:43 +0000)]
some level of gcc seems to be confused about whether or not
b is used before being set; shut it up

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

22 years agofix the problem where a scoreboard init failure could leave
Jeff Trawick [Mon, 28 Jan 2002 00:41:32 +0000 (00:41 +0000)]
fix the problem where a scoreboard init failure could leave
mod_cgid stranded

a pre_mpm hook can now return failures, so problems in
ap_create_scoreboard percolate back to a place where Apache
can exit cleanly

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

22 years agooptimized away one more filter name lookup during request processing
Brian Pane [Sun, 27 Jan 2002 19:24:20 +0000 (19:24 +0000)]
optimized away one more filter name lookup during request processing

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

22 years agoReplaced some more ap_add_output_filter() calls with
Brian Pane [Sun, 27 Jan 2002 19:12:56 +0000 (19:12 +0000)]
Replaced some more ap_add_output_filter() calls with
ap_add_output_filter_handle() for efficiency

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

22 years agoRemove the create_connection hook and put the client_socket back into the
Bill Stoddard [Sun, 27 Jan 2002 12:52:08 +0000 (12:52 +0000)]
Remove the create_connection hook and put the client_socket back into the
conn_rec. The create_connection_hook has a design flaw that prevents it
from making decisions based on vhost information.

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

22 years agoAPR might not return everything we're asking for. Let that slide...
Greg Stein [Sun, 27 Jan 2002 12:39:25 +0000 (12:39 +0000)]
APR might not return everything we're asking for. Let that slide...

Submitted by: Kenny Sy <itc_kennysy@hotmail.com>

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

22 years agoAdded a note about potential performance improvements for the
Brian Pane [Sun, 27 Jan 2002 08:11:09 +0000 (08:11 +0000)]
Added a note about potential performance improvements for the
worker MPM

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

22 years ago Whoops - this patch is required by the last request.c change.
William A. Rowe Jr [Sun, 27 Jan 2002 07:49:05 +0000 (07:49 +0000)]
  Whoops - this patch is required by the last request.c change.

  Fulfills Brian Pane's suggestion that we always overallocate by one
  to make /foo/bar quickly convertable to /foo/bar/

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

22 years ago Shortcut where the resource has no language [discovered with no
William A. Rowe Jr [Sun, 27 Jan 2002 07:47:30 +0000 (07:47 +0000)]
  Shortcut where the resource has no language [discovered with no
  DefaultLanguage in cgi-bin, resolving Greg Ames' observations, we
  had a lurking segfault.]

  This begs the question, what exactly did the fn do with no language
  in terms of serving content back in 1.3.  Should be reviewed.

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

22 years ago Which PR? I can't count them all. Get QUERY_STRING and PATH_INFO
William A. Rowe Jr [Sun, 27 Jan 2002 07:44:07 +0000 (07:44 +0000)]
  Which PR?  I can't count them all.  Get QUERY_STRING and PATH_INFO
  working again.  Also rounds out our fix to work around negotiated
  directories which Greg Ames fixed; this addition in request.c simply
  shortcuts all further processing.

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

22 years agoFixed a read from a deleted brigade in the new version of
Brian Pane [Sun, 27 Jan 2002 07:30:02 +0000 (07:30 +0000)]
Fixed a read from a deleted brigade in the new version of
ap_rgetline()...

In the "folding" case, there was an ap_get_brigade() call after
the brigade had been destroyed.  I noticed this while debugging
a memory leak that showed up while testing the httpd with ab.

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

22 years agoFixed segfault in "-i" mode of ab
Brian Pane [Sun, 27 Jan 2002 06:38:25 +0000 (06:38 +0000)]
Fixed segfault in "-i" mode of ab

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

22 years ago Been bad - forgot to keep my thoughts up to date.
William A. Rowe Jr [Sun, 27 Jan 2002 05:48:31 +0000 (05:48 +0000)]
  Been bad - forgot to keep my thoughts up to date.

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

22 years agooptimization: switched to ap_add_output_filter_handle() for installation of
Brian Pane [Sun, 27 Jan 2002 02:38:45 +0000 (02:38 +0000)]
optimization: switched to ap_add_output_filter_handle() for installation of
subreq filter

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

22 years agoPerformance improvement: incorporated the use of the new
Brian Pane [Sun, 27 Jan 2002 02:13:10 +0000 (02:13 +0000)]
Performance improvement: incorporated the use of the new
ap_add_input_filter_handle() and ap_add_output_filter_handle()
functions for core filters

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

22 years agoAdded new functions ap_add_input_filter_handle() and
Brian Pane [Sun, 27 Jan 2002 01:54:54 +0000 (01:54 +0000)]
Added new functions ap_add_input_filter_handle() and
ap_add_output_filter_handle()

There are many places in the core modules where we do
ap_add_input_filter() or ap_add_output_filter() on a
hardcoded filter name (e.g., "CORE" or "BYTERANGE").
This requires a string-to-filter mapping that wastes
CPU time.  (Even though the string lookup uses a trie
for speed, it still ranks as a big consumer of CPU time
because of the large number of filters added per request.)

The new ap_add_*_filter_handle() functions will allow
us to skip the string-to-filter mapping in cases where
the module adding the filter happens to have the
ap_filter_rec_t* for the registered filter (e.g., because
it's the same module that registered the filter in the
first place).

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

22 years agoavoid a palloc of zero bytes so memory debuggers don't barf
Jeff Trawick [Sat, 26 Jan 2002 23:05:10 +0000 (23:05 +0000)]
avoid a palloc of zero bytes so memory debuggers don't barf

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

22 years agoap_rgetline(): completely ignore an empty bucket... previously the logic
Jeff Trawick [Sat, 26 Jan 2002 23:01:31 +0000 (23:01 +0000)]
ap_rgetline(): completely ignore an empty bucket...  previously the logic
               generally worked but with a memory debug build it could
               crash since some memory debuggers don't like an alloc of
               zero bytes

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

22 years agoremove one showstopper and add the next
Greg Ames [Sat, 26 Jan 2002 20:25:27 +0000 (20:25 +0000)]
remove one showstopper and add the next

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

22 years agoap_sub_req_lookup_dirent: fix mod_negotiation loop with near infinite
Greg Ames [Sat, 26 Jan 2002 20:16:01 +0000 (20:16 +0000)]
ap_sub_req_lookup_dirent: fix mod_negotiation loop with near infinite
subrequests

this function has been creating bogus subrequest URIs when there is
path_info for a long time.  They didn't matter until fixup_dir started
using them for URI subrequests, which led to a loop with ever growing
bogus internal URIs and filenames.

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

22 years agoget mod_mem_cache to compile with compilers that bother to check for
Jeff Trawick [Sat, 26 Jan 2002 12:39:49 +0000 (12:39 +0000)]
get mod_mem_cache to compile with compilers that bother to check for

  Function argument assignment between types "int*" and "long*"

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

22 years agoAdded symbol prefixing to the export list
Bradley Nicholes [Fri, 25 Jan 2002 23:38:01 +0000 (23:38 +0000)]
Added symbol prefixing to the export list

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

22 years agoGrammar police coming through
Justin Erenkrantz [Fri, 25 Jan 2002 20:21:10 +0000 (20:21 +0000)]
Grammar police coming through

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

22 years agota da
Ian Holsman [Fri, 25 Jan 2002 20:11:30 +0000 (20:11 +0000)]
ta da

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

22 years agoI haven't created the optional function to specify the cache_key yet,
Ian Holsman [Fri, 25 Jan 2002 20:09:33 +0000 (20:09 +0000)]
I haven't created the optional function to specify the cache_key yet,
That will come after this patch.

ok.. brief summary of whats changed

* new Optional Directives
* CacheMemEntrySize -- max size of a individual entry in memory
cache
* CacheIgnoreNoLastMod - so we can cache mod-included files

* it tries to figure out the size of the request based on buckets if the
content-length header isn't set

* mem_cache now caches the subprocess_env & notes tables
* the CACHE_IN/OUT/CONDITIONAL run at FTYPE_CONTENT+1, so that
all other content filters run BEFORE the cache in.

note: the code is still experimental, and we need a bit more work
mainly...
* garbage collection
* cache stats/reporting
* manual removal of a key.

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

22 years agoaxe an unused variable
Jeff Trawick [Fri, 25 Jan 2002 12:04:56 +0000 (12:04 +0000)]
axe an unused variable

don't pass uninitialized rv to ap_log_error as the error code

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

22 years ago No. I don't like this patch. I like what it does [shared scoreboard
William A. Rowe Jr [Fri, 25 Jan 2002 07:21:40 +0000 (07:21 +0000)]
  No.  I don't like this patch.  I like what it does [shared scoreboard
  for Windows, finally] but not how it's implemented.

  However it works, and is equally crufty to what already exists for
  win32 listeners and other exposed data within scoreboard.c.

  To do this right, we need to drop all the external references to data
  within the scoreboard, and add an accessor for remaining bits (such as
  Win32's need for direct access to the apr_shm_t.)  And within Win32,
  we need to stack all this _within_ the pre-mpm hook.  But those are
  missions in and of themselves.

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

22 years agoEliminate needless variable that wasn't initialized anyway.
Justin Erenkrantz [Fri, 25 Jan 2002 05:39:21 +0000 (05:39 +0000)]
Eliminate needless variable that wasn't initialized anyway.

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

22 years agoAdd another status code to ignore in the error_log.
Justin Erenkrantz [Fri, 25 Jan 2002 02:38:52 +0000 (02:38 +0000)]
Add another status code to ignore in the error_log.
(I'm really tempted to ditch this log line altogether.)

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

22 years agoshowstoppers--;
Justin Erenkrantz [Fri, 25 Jan 2002 02:23:37 +0000 (02:23 +0000)]
showstoppers--;

APR knows when to let go of those pesty kids now.

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

22 years agoTurn the log verbosity WAY down by not logging TIMEUP and EOF errors in
Justin Erenkrantz [Fri, 25 Jan 2002 02:15:09 +0000 (02:15 +0000)]
Turn the log verbosity WAY down by not logging TIMEUP and EOF errors in
read_request_line as these are very common place with HTTP keepalive
timeouts.

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

22 years agoI Heard It Through The Grapevine...
Justin Erenkrantz [Fri, 25 Jan 2002 01:21:10 +0000 (01:21 +0000)]
I Heard It Through The Grapevine...

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

22 years agoSomehow, I lost this condition when I changed to account for ap_rgetline.
Justin Erenkrantz [Fri, 25 Jan 2002 01:20:00 +0000 (01:20 +0000)]
Somehow, I lost this condition when I changed to account for ap_rgetline.

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

22 years agoChange ap_get_brigade prototype to remove *readbytes in favor of readbytes.
Justin Erenkrantz [Fri, 25 Jan 2002 01:11:47 +0000 (01:11 +0000)]
Change ap_get_brigade prototype to remove *readbytes in favor of readbytes.
If you need the length, you should be using apr_brigade_length.  This is
much more consistent.  Of all the places that call ap_get_brigade, only
one (ap_http_filter) needs the length.  This makes it now possible to
pass constants down without assigning them to a temporary variable first.

Also:
- Change proxy_ftp to use EXHAUSTIVE mode (didn't catch its -1 before)
- Fix buglet in mod_ssl that would cause it to return too much data in
  some circumstances

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

22 years agoEnable the BrowserMatch for Microsoft's DAV client -- we know it is
Greg Stein [Fri, 25 Jan 2002 00:24:47 +0000 (00:24 +0000)]
Enable the BrowserMatch for Microsoft's DAV client -- we know it is
broken.

Add a match for the WebDrive client. It is similarly broken.

Sync up the NetWare and Windows .conf files a bit.

Submitted by: Sander Striker <striker@apache.org>, Greg Stein

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