]> granicus.if.org Git - apache/log
apache
23 years agoRemove more of the directives that moved to mpm_common.html
Joshua Slive [Sun, 19 Nov 2000 05:04:08 +0000 (05:04 +0000)]
Remove more of the directives that moved to mpm_common.html

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

23 years agoWoops, I just discovere UNIX_DAEMON_COMMANDS and LISTEN_COMMANDS. Add
Joshua Slive [Sun, 19 Nov 2000 05:02:36 +0000 (05:02 +0000)]
Woops, I just discovere UNIX_DAEMON_COMMANDS and LISTEN_COMMANDS.  Add
in those directives and dexter.

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

23 years agoUsing an mpm_common.html file for the common directives makes
Joshua Slive [Sun, 19 Nov 2000 04:24:18 +0000 (04:24 +0000)]
Using an mpm_common.html file for the common directives makes
things considerably easier.  But, there is still lots of work to do.
Clearly, some of the directives are not implemented exactly the same.

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

23 years agoclean out some liveprop hooks which are now handled by AP_HOOK functions
Greg Stein [Sun, 19 Nov 2000 02:13:55 +0000 (02:13 +0000)]
clean out some liveprop hooks which are now handled by AP_HOOK functions

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

23 years agoAdd apr_get_sockaddr() for getting the address of one of the
Jeff Trawick [Sat, 18 Nov 2000 20:52:27 +0000 (20:52 +0000)]
Add apr_get_sockaddr() for getting the address of one of the
apr_sockaddr_t structures for a socket.

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

23 years agoFix an error message since we are using common code to add all filters.
Ryan Bloom [Sat, 18 Nov 2000 20:03:16 +0000 (20:03 +0000)]
Fix an error message since we are using common code to add all filters.
Submitted by: Greg Stein

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

23 years agoRemove some common code in adding filters to either the input or
Ryan Bloom [Sat, 18 Nov 2000 18:57:17 +0000 (18:57 +0000)]
Remove some common code in adding filters to either the input or
output filter lists.
Submitted by: Sascha Schumann <sascha@schumann.cx>

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

23 years agoBegin to remove some of the cache-ing logic from the http proxy.
Ryan Bloom [Sat, 18 Nov 2000 17:13:29 +0000 (17:13 +0000)]
Begin to remove some of the cache-ing logic from the http proxy.

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

23 years agoChange references of AF_ to reflect APR_ so they should work
David Reid [Sat, 18 Nov 2000 16:04:06 +0000 (16:04 +0000)]
Change references of AF_ to reflect APR_ so they should work
on all systems.

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

23 years ago Cleanup a signed/unsigned warning
William A. Rowe Jr [Sat, 18 Nov 2000 15:22:45 +0000 (15:22 +0000)]
  Cleanup a signed/unsigned warning

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

23 years ago Cleanup more compiler warnings.
William A. Rowe Jr [Sat, 18 Nov 2000 15:12:47 +0000 (15:12 +0000)]
  Cleanup more compiler warnings.

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

23 years ago Extern symbols (per the warning) belong elsewhere, since (on Win32) the
William A. Rowe Jr [Sat, 18 Nov 2000 15:00:39 +0000 (15:00 +0000)]
  Extern symbols (per the warning) belong elsewhere, since (on Win32) the
  http_main.c is both the startup and entry stub.

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

23 years ago As promised, and discussed on new-httpd, goodbye ordinals.
William A. Rowe Jr [Sat, 18 Nov 2000 14:58:21 +0000 (14:58 +0000)]
  As promised, and discussed on new-httpd, goodbye ordinals.

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

23 years agoremove unused variable
Jeff Trawick [Sat, 18 Nov 2000 14:55:44 +0000 (14:55 +0000)]
remove unused variable

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

23 years ago Clean up some timeout arg warnings
William A. Rowe Jr [Sat, 18 Nov 2000 14:43:26 +0000 (14:43 +0000)]
  Clean up some timeout arg warnings

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

23 years ago Some signedness issues - consistify the size_t references
William A. Rowe Jr [Sat, 18 Nov 2000 13:53:07 +0000 (13:53 +0000)]
  Some signedness issues - consistify the size_t references

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

23 years agoGet Multi-Views working again. It wasn't working because we weren't
Ryan Bloom [Sat, 18 Nov 2000 05:44:53 +0000 (05:44 +0000)]
Get Multi-Views working again.  It wasn't working because we weren't
setting the path_info field correctly if we didn't find the specified
file.

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

23 years agoFix 204 handling. This moves some logic that used to be in
Ryan Bloom [Sat, 18 Nov 2000 04:53:23 +0000 (04:53 +0000)]
Fix 204 handling.  This moves some logic that used to be in
ap_send_error_response to the http_header filter.  The reason for the move,
is that the header filter takes care of all header processing now.  Without
this change, we were sending garbage data to the client whenever we sent
304 responses.
Submitted by: Brian Havard and Ryan Bloom

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

23 years agoMore proxy fixes. There are still some bugs in this code, but this has
Ryan Bloom [Sat, 18 Nov 2000 03:17:21 +0000 (03:17 +0000)]
More proxy fixes.  There are still some bugs in this code, but this has
successfully proxied www.yahoo.com and www.ntrnet.net among other test
sites that I chose at random.

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

23 years agoadd some docco from John Vasta
Greg Stein [Sat, 18 Nov 2000 01:29:06 +0000 (01:29 +0000)]
add some docco from John Vasta

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

23 years agoSuggestion of files to delete from httpd-docs-2.0.
Joshua Slive [Fri, 17 Nov 2000 20:14:40 +0000 (20:14 +0000)]
Suggestion of files to delete from httpd-docs-2.0.

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

23 years agoI forgot one change for the start of the MPM docs.
Joshua Slive [Fri, 17 Nov 2000 19:41:20 +0000 (19:41 +0000)]
I forgot one change for the start of the MPM docs.

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

23 years agoFirst attempt at MPM documentation. Feedback appreciated. Discussion
Joshua Slive [Fri, 17 Nov 2000 19:29:59 +0000 (19:29 +0000)]
First attempt at MPM documentation.  Feedback appreciated.  Discussion
to follow on apache-docs.

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

23 years ago Just style nits before someone goes and does something significant.
William A. Rowe Jr [Fri, 17 Nov 2000 19:26:15 +0000 (19:26 +0000)]
  Just style nits before someone goes and does something significant.

Submitted by: Victor J. Orlikowski [v.j.orlikowski@gte.net]
Reviewed by: William Rowe

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

23 years agoFirst pass at a set of caching filters and handlers. This implements a
Ryan Bloom [Fri, 17 Nov 2000 18:33:33 +0000 (18:33 +0000)]
First pass at a set of caching filters and handlers.  This implements a
working disk cache.  There are a lot of improvements to be made to this,
but this is a pretty good start to a dynamic cache.

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

23 years agofix apr_getaddrinfo() call
Chuck Murcko [Fri, 17 Nov 2000 17:26:32 +0000 (17:26 +0000)]
fix apr_getaddrinfo() call

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

23 years agoGet rid of a bit more BUFF cruft in mpm_winnt.c
Bill Stoddard [Fri, 17 Nov 2000 17:11:07 +0000 (17:11 +0000)]
Get rid of a bit more BUFF cruft in mpm_winnt.c

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

23 years agoMake function definition agree with the declaration, which fixes a compile break on
Bill Stoddard [Fri, 17 Nov 2000 13:57:32 +0000 (13:57 +0000)]
Make function definition agree with the declaration, which fixes a compile break on
Windows.

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

23 years agoAPR: Change apr_connect() to take apr_sockaddr_t instead of hostname.
Jeff Trawick [Fri, 17 Nov 2000 03:45:02 +0000 (03:45 +0000)]
APR: Change apr_connect() to take apr_sockaddr_t instead of hostname.
Add generic apr_create_socket().  Add apr_getaddrinfo() for doing
hostname resolution/address string parsing and building
apr_sockaddr_t.
Submitted by: David Reid
Reviewed by: Jeff Trawick

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

23 years agoGet exports.c symbols to compile even if the declaration is hidden in
Jeff Trawick [Fri, 17 Nov 2000 02:33:00 +0000 (02:33 +0000)]
Get exports.c symbols to compile even if the declaration is hidden in
APR include file.

Implement all exports.c symbols even if the package or function isn't
available in the current configuration.

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

23 years agoThis removes all BUFF's from the HTTP proxy. This code is relatively
Ryan Bloom [Fri, 17 Nov 2000 00:19:30 +0000 (00:19 +0000)]
This removes all BUFF's from the HTTP proxy.  This code is relatively
ugly, but it does proxy pages.  This even fixes the content-type bug
that I introduced yesterday sometime.  As soon as BUFF is removed from
the FTP proxy, the buff.c and buff.h files need to go away.

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

23 years agoYet another broken link.
Joshua Slive [Fri, 17 Nov 2000 00:18:17 +0000 (00:18 +0000)]
Yet another broken link.

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

23 years agoBring a couple typo fixes forward from 1.3.
Joshua Slive [Thu, 16 Nov 2000 22:25:14 +0000 (22:25 +0000)]
Bring a couple typo fixes forward from 1.3.

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

23 years agoadd apr_create_socket to the list of symbols
Jeff Trawick [Thu, 16 Nov 2000 22:08:40 +0000 (22:08 +0000)]
add apr_create_socket to the list of symbols

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

23 years agoUpdate httpd.exp for recent symbol changes.
Jeff Trawick [Thu, 16 Nov 2000 21:19:25 +0000 (21:19 +0000)]
Update httpd.exp for recent symbol changes.
Submitted by: "Victor J. Orlikowski" <v.j.orlikowski@gte.net>

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

23 years agouse apr_size_t and a few minor tweaks
Greg Stein [Thu, 16 Nov 2000 07:13:43 +0000 (07:13 +0000)]
use apr_size_t and a few minor tweaks

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

23 years agoMake the proxy work with filters. We are still using BUFF for the
Ryan Bloom [Thu, 16 Nov 2000 01:57:46 +0000 (01:57 +0000)]
Make the proxy work with filters.  We are still using BUFF for the
back-end communication, but BUFF has been removed from the communication
with the client.  The headers are not working correctly yet, but we are
making progress.  The most important part of this commit is that we are
able to actually filter data coming from the proxy.

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

23 years agouse apr_size_t
Greg Stein [Thu, 16 Nov 2000 00:40:49 +0000 (00:40 +0000)]
use apr_size_t

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

23 years agoDo not send a content-length if and only if this is a HEAD request and
Ryan Bloom [Wed, 15 Nov 2000 22:08:44 +0000 (22:08 +0000)]
Do not send a content-length if and only if this is a HEAD request and
the content-length is 0.  The problem is that the C-L on a HEAD response
has to be the correct C-L, but if a handler returns saying the handled
the request without sending data, the core sends an EOS down the filter
stack, and we compute a 0 C-L.

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

23 years agoFirst stab at a STATUS file for httpd-docs-2.0.
Joshua Slive [Wed, 15 Nov 2000 20:44:50 +0000 (20:44 +0000)]
First stab at a STATUS file for httpd-docs-2.0.

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

24 years agoMake cgi-bin work as a regular directory when using mod_vhost_alias
Tony Finch [Wed, 15 Nov 2000 02:54:48 +0000 (02:54 +0000)]
Make cgi-bin work as a regular directory when using mod_vhost_alias
with no VirtualScriptAlias directives.
PR: 6829

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

24 years agoApply a patch from John Vasta for adding (some/more) DeltaV support to
Greg Stein [Wed, 15 Nov 2000 02:05:12 +0000 (02:05 +0000)]
Apply a patch from John Vasta for adding (some/more) DeltaV support to
mod_dav. The patch applied and compiled cleanly, so I'm committing. Any
necessary changes from a review will come later, so that we can easily track
what needed to change (and can be back-ported to mod_dav 1.1).

Submitted by: John Vasta <jvasta@rational.com>

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

24 years agoHmmm... It appears that there were some translation in the 2.0 "it works"
Joshua Slive [Wed, 15 Nov 2000 01:28:40 +0000 (01:28 +0000)]
Hmmm... It appears that there were some translation in the 2.0 "it works"
page that were not in the 1.3 version.  Bring these up to date with the
new name for the http server web site.

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

24 years agoBring the "it worked" pages in 2.0 in sync with the ones in 1.3.
Joshua Slive [Wed, 15 Nov 2000 01:11:16 +0000 (01:11 +0000)]
Bring the "it worked" pages in 2.0 in sync with the ones in 1.3.

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

24 years agoRemove BUFF from the CONNECT handler. This works as well as the rest
Ryan Bloom [Tue, 14 Nov 2000 23:58:54 +0000 (23:58 +0000)]
Remove BUFF from the CONNECT handler.  This works as well as the rest
of the proxy, meaning that it has proxied a page.

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

24 years agoGet the proxy to look at requests that are being proxied again. In the
Ryan Bloom [Tue, 14 Nov 2000 22:28:56 +0000 (22:28 +0000)]
Get the proxy to look at requests that are being proxied again.  In the
big commit of the other day, a few !r->proxyreq's were changed to
r->proxyreq, which made the proxy decline requests when it shouldn't
have.
Submitted by: Cliff Woolley <cliffwoolley@yahoo.com>
Reviewed by: Ryan Bloom

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

24 years agoTypo in example.
Joshua Slive [Tue, 14 Nov 2000 22:18:20 +0000 (22:18 +0000)]
Typo in example.

PR: 6836
Submitted by: Joakim Forsberg <forsberg@usa.net>

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

24 years agorepair cgi's on Windows
Allan K. Edwards [Tue, 14 Nov 2000 22:02:07 +0000 (22:02 +0000)]
repair cgi's on Windows

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

24 years agoChanges for previous ap_proxy_doconnect() calling
Chuck Murcko [Tue, 14 Nov 2000 19:32:03 +0000 (19:32 +0000)]
Changes for previous ap_proxy_doconnect() calling
PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoGet the proxy working again. With this change in, I have successfully
Ryan Bloom [Tue, 14 Nov 2000 18:27:58 +0000 (18:27 +0000)]
Get the proxy working again.  With this change in, I have successfully
proxied a page from perl.apache.org.

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

24 years agoSimplify ap_proxy_doconnect(); now returns apr_status_t
Chuck Murcko [Tue, 14 Nov 2000 17:15:11 +0000 (17:15 +0000)]
Simplify ap_proxy_doconnect(); now returns apr_status_t
PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoIgnore generated file pcre.h.
Jeff Trawick [Tue, 14 Nov 2000 12:10:29 +0000 (12:10 +0000)]
Ignore generated file pcre.h.

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

24 years agoGet "make install" to work on Tru64.
Jeff Trawick [Tue, 14 Nov 2000 12:00:44 +0000 (12:00 +0000)]
Get "make install" to work on Tru64.

With Tru64, make picks up a bad status from the child shell process
when it evaluates the "`echo ($static) | grep 'mod_so'` (see below),
causing make to bail out.

But that grep should always fail when "make install" runs in
modules/extra and unless we have mod_so it will fail when "make
install" runs in modules/standard.

The work-around is to explicitly ignore the exit status from the
grep.

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

24 years agoRemove the change from earlier tonight to not send a content-length of
Ryan Bloom [Tue, 14 Nov 2000 06:41:37 +0000 (06:41 +0000)]
Remove the change from earlier tonight to not send a content-length of
0.
Submitted by: Roy Fielding

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

24 years agoStop the default_handler from trying to deal with HEAD requests. By doing
Ryan Bloom [Tue, 14 Nov 2000 06:11:24 +0000 (06:11 +0000)]
Stop the default_handler from trying to deal with HEAD requests.  By doing
this, the content-length filter can determine the C-L before we send the
response, and we get a better response.

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

24 years agoMake the header filter decide if a body should be sent. This gives us a
Ryan Bloom [Tue, 14 Nov 2000 06:07:40 +0000 (06:07 +0000)]
Make the header filter decide if a body should be sent.  This gives us a
chance to compute the proper content-length before we try to send a set
of headers.  If a handler wants to ignore the HEAD method, then it can
either just return from the handler function or pass an EOS bucket down
the filter stack.  Either method will still get the headers sent to the
client.

This change allows handlers to actually run the request like it is a GET
request.  The core itself will then ensure that no body is sent.  This
allows us to get more information about the request before sending out the
headers for the HEAD request.

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

24 years agoIf the content-length is zero, then we don't output the Content-Length
Ryan Bloom [Tue, 14 Nov 2000 04:52:33 +0000 (04:52 +0000)]
If the content-length is zero, then we don't output the Content-Length
header file.  The only time that the C-L should be zero is if there is
no body.  Zero is a valid content-length, but the only time that we ever
really send it is on a HEAD request right now, and that is incorrect.
The HEAD response should have the actual content's length.

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

24 years agoAssociate a pool with the pool bucket so that it serves it's intended
Ryan Bloom [Tue, 14 Nov 2000 04:22:03 +0000 (04:22 +0000)]
Associate a pool with the pool bucket so that it serves it's intended
purpose.  This also moves the create_pool function outside of an if to
decrease complexity.

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

24 years agoAdd the referer to the error log if one is available.
Ryan Bloom [Tue, 14 Nov 2000 02:42:51 +0000 (02:42 +0000)]
Add the referer to the error log if one is available.
PR: 73
Submitted by: Markus Gyger <mgyger@itr.ch>

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

24 years agoInclude ap_config.h to get the definition of AP_DECLARE_DATA.
Jeff Trawick [Tue, 14 Nov 2000 02:30:35 +0000 (02:30 +0000)]
Include ap_config.h to get the definition of AP_DECLARE_DATA.

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

24 years agoGet http_core to compile again after the last change.
Jeff Trawick [Tue, 14 Nov 2000 02:13:41 +0000 (02:13 +0000)]
Get http_core to compile again after the last change.

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

24 years agoPort mod_info to 2.0. This is basically a complete re-write to use the
Ryan Bloom [Tue, 14 Nov 2000 01:55:26 +0000 (01:55 +0000)]
Port mod_info to 2.0.  This is basically a complete re-write to use the
config tree instead of re-reading the config file.  As a part of this
change, the config tree needs to be exposed to modules as ap_conftree.
Submitted by: Ryan Morgan <rmorgan@covalent.net>
Reviewed by: Ryan Bloom

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

24 years agoWe can not use heap buckets for data that was allocated out of a pool.
Ryan Bloom [Tue, 14 Nov 2000 01:46:39 +0000 (01:46 +0000)]
We can not use heap buckets for data that was allocated out of a pool.
The basic problem is that when the pool is destroyed, the data will go
away unless it is in a pool bucket.  If it is in a pool bucket, then the
data will be copied into a heap bucket when the pool is destroyed.  This
becomes a real issue when we set some data off to the side to deal with
pipelined requests.

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

24 years agoGet rid of warning on Tru64:
Jeff Trawick [Tue, 14 Nov 2000 01:45:11 +0000 (01:45 +0000)]
Get rid of warning on Tru64:

cc: Info: mod_vhost_alias.c, line 469: Extraneous semicolon. (extrasemi)
};
-^

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

24 years agoGet the default_handler to use the bucket code directly. This keeps us
Ryan Bloom [Mon, 13 Nov 2000 23:42:40 +0000 (23:42 +0000)]
Get the default_handler to use the bucket code directly.  This keeps us
from traveling down the stack multiple time for a static page.

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

24 years agoUpdate coalesce filter to use heap buckets rather than pool buckets. This should...
Bill Stoddard [Mon, 13 Nov 2000 22:52:19 +0000 (22:52 +0000)]
Update coalesce filter to use heap buckets rather than pool buckets. This should fix the
mod_autoindex funky chunking behaviour until the ap_r* routines are reimplemented, at which
time this filter should probably go away.

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

24 years agoGet send the content-type header sent correctly for both regular requests
Ryan Bloom [Mon, 13 Nov 2000 20:23:41 +0000 (20:23 +0000)]
Get send the content-type header sent correctly for both regular requests
and byteranges.
Submitted by:   Ryan Bloom and Will Rowe

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

24 years agoUpdate the httpd.exp file.
Ryan Bloom [Mon, 13 Nov 2000 18:45:46 +0000 (18:45 +0000)]
Update the httpd.exp file.
Submitted by: Victor J. Orlikowski <v.j.orlikowski@gte.net>

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

24 years ago Win32 symlink (NTFS Junction) support for mod_rewrite
William A. Rowe Jr [Mon, 13 Nov 2000 18:11:12 +0000 (18:11 +0000)]
  Win32 symlink (NTFS Junction) support for mod_rewrite

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

24 years agoFix type complaints on Xlc.
Ryan Bloom [Mon, 13 Nov 2000 16:26:42 +0000 (16:26 +0000)]
Fix type complaints on Xlc.
Submitted by: Victor J. Orlikowski <v.j.orlikowski@gte.net>

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

24 years agoThe core handler should never close a file, because we haven't actually
Ryan Bloom [Mon, 13 Nov 2000 14:19:41 +0000 (14:19 +0000)]
The core handler should never close a file, because we haven't actually
sent the file yet.  This also removes the send_http_headers call, because
that's a no-op so it doesn't make much sense to leave it in.

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

24 years agoGet the hints file working on Linux. This also gets SINGLE_LISTEN....
Ryan Bloom [Mon, 13 Nov 2000 04:50:34 +0000 (04:50 +0000)]
Get the hints file working on Linux.  This also gets SINGLE_LISTEN....
working on linux 2.2.

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

24 years agoChange mod_rewrite's tilde expansion to use apr_get_home_directory().
Jeff Trawick [Mon, 13 Nov 2000 04:12:28 +0000 (04:12 +0000)]
Change mod_rewrite's tilde expansion to use apr_get_home_directory().

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

24 years agoClean up some of the warnings from a Tru64 build, mostly due to
Jeff Trawick [Mon, 13 Nov 2000 03:50:16 +0000 (03:50 +0000)]
Clean up some of the warnings from a Tru64 build, mostly due to
the recent apr_ssize_t->apr_size_t changes.  The problem in mod_cgid
was an int function which didn't have a return statement.

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

24 years agoGet SINGLE_LISTEN_UNSERIALIZED_ACCEPT working again. This defines that
Ryan Bloom [Mon, 13 Nov 2000 03:42:02 +0000 (03:42 +0000)]
Get SINGLE_LISTEN_UNSERIALIZED_ACCEPT working again. This defines that
macro on those platforms that have it defined in 1.3.  The only platform
that doesn't work yet is Linux 2.2.

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

24 years agoadd apr_get_home_directory(), teach mod_userdir to use that
Jeff Trawick [Mon, 13 Nov 2000 03:18:18 +0000 (03:18 +0000)]
add apr_get_home_directory(), teach mod_userdir to use that
instead of calling getpwnam[_r] directly, back out mod_userdir's
config check for getpwnam_r

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

24 years agoFix a few broken links.
Joshua Slive [Mon, 13 Nov 2000 02:03:37 +0000 (02:03 +0000)]
Fix a few broken links.

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

24 years agoTypo in mod_rewrite.html.
Joshua Slive [Sun, 12 Nov 2000 20:19:08 +0000 (20:19 +0000)]
Typo in mod_rewrite.html.

PR: 6835
Submitted by: ap@rupp.de

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

24 years agoThe whole proxy compiles cleanly now. Now we need to make it actually work
Ryan Bloom [Sat, 11 Nov 2000 18:34:10 +0000 (18:34 +0000)]
The whole proxy compiles cleanly now.  Now we need to make it actually work
again, but at least we are making progress.

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

24 years agoproxy_ftp and proxy_http both compile now. Not tested because the rest of
Ryan Bloom [Sat, 11 Nov 2000 18:13:04 +0000 (18:13 +0000)]
proxy_ftp and proxy_http both compile now.  Not tested because the rest of
the proxy is still not compiling, but we are making progress.

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

24 years agoMake proxy_connect.c compile cleanly again. Not sure if it works or not,
Ryan Bloom [Sat, 11 Nov 2000 17:51:58 +0000 (17:51 +0000)]
Make proxy_connect.c compile cleanly again.  Not sure if it works or not,
but it does compile.

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

24 years agoPick up buff.h for the moment, now to get the conn_rec changes from the last
Chuck Murcko [Sat, 11 Nov 2000 11:54:10 +0000 (11:54 +0000)]
Pick up buff.h for the moment, now to get the conn_rec changes from the last
few days taken care of.

PR:
Obtained from: Chuck Murcko
Submitted by:
Reviewed by:

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

24 years agoFix small thinko in void funcs
Chuck Murcko [Sat, 11 Nov 2000 11:12:22 +0000 (11:12 +0000)]
Fix small thinko in void funcs
PR:
Obtained from: Chuck Murcko
Submitted by:
Reviewed by:

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

24 years agoThis is the 1.3.x current proxy into 2.0 - first stage
Chuck Murcko [Sat, 11 Nov 2000 11:07:03 +0000 (11:07 +0000)]
This is the 1.3.x current proxy into 2.0 - first stage
PR:
Obtained from: Sam Magnuson
Submitted by:  Chuck Murcko
Reviewed by:

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

24 years agoThis is the 1.3.x current proxy into 2.0 - first stage
Chuck Murcko [Sat, 11 Nov 2000 11:05:18 +0000 (11:05 +0000)]
This is the 1.3.x current proxy into 2.0 - first stage
PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoThis is the 1.3.x current proxy code into 2.0.
Chuck Murcko [Sat, 11 Nov 2000 11:03:42 +0000 (11:03 +0000)]
This is the 1.3.x current proxy code into 2.0.
PR:
Obtained from: Sam Magnuson
Submitted by: Chuck Murcko
Reviewed by:

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

24 years agoThis is 1.3.x current proxy folded into 2.0.
Chuck Murcko [Sat, 11 Nov 2000 11:02:47 +0000 (11:02 +0000)]
This is 1.3.x current proxy folded into 2.0.
PR:
Obtained from: Sam Magnuson
Submitted by: Chuck Murcko
Reviewed by:

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

24 years agoNot all platforms have INADDR_NONE defined by default. Apache used to
Ryan Bloom [Sat, 11 Nov 2000 06:06:00 +0000 (06:06 +0000)]
Not all platforms have INADDR_NONE defined by default.  Apache used to
check for this and the define it if needed.  Since APR also needs this
check it makes more sense for APR to just check and export a symobl that
is always available.
Submitted by: Branko �ibej <brane@xbc.nu>
Reviewed by: Ryan Bloom

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

24 years ago A good thing, allow W2K to perform the symlink test.
William A. Rowe Jr [Sat, 11 Nov 2000 01:20:03 +0000 (01:20 +0000)]
  A good thing, allow W2K to perform the symlink test.

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

24 years agoGet mod_userdir compiling on FreeBSD when APR_HAS_THREADS.
Jeff Trawick [Fri, 10 Nov 2000 23:52:18 +0000 (23:52 +0000)]
Get mod_userdir compiling on FreeBSD when APR_HAS_THREADS.
This doesn't account for the fact that getpwnam() isn't
thread-safe on FreeBSD; it also doesn't account for systems
where getpwnam_r lives outside of libc.

See thread with subject "[?PATCH?] using getpwnam_r in mod_userdir"
in Nov. 2000 new-httpd for some better long-term ideas for how to
handle the problem.

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

24 years agoMM has a bug that when you ask for a specific amount of shared memory
Ryan Bloom [Fri, 10 Nov 2000 21:51:10 +0000 (21:51 +0000)]
MM has a bug that when you ask for a specific amount of shared memory
it allocates just that amount.  But, MM actually uses some of it, so we
need to over allocate just a bit.  On 32 bit machines 40 bytes is enough,
but on a 64 bit machine it isn't.  So, we bump it up to 80 bytes until
MM fixes this bug.
Submitted by: David Hill <David.D.Hill@compaq.com>

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

24 years agoFix a lot of the fallback from the apr_ssize_t to apr_size_t change
Ryan Bloom [Fri, 10 Nov 2000 19:01:33 +0000 (19:01 +0000)]
Fix a lot of the fallback from the apr_ssize_t to apr_size_t change
Submitted by: Victor J. Orlikowski <v.j.orlikowski@gte.net>

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

24 years agoremove a thread un-safe function from mod_rewrite
Ryan Bloom [Fri, 10 Nov 2000 18:42:40 +0000 (18:42 +0000)]
remove a thread un-safe function from mod_rewrite

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

24 years agoRemove the comments that I accidentally left in from testing. Doh!
Ryan Bloom [Fri, 10 Nov 2000 18:18:57 +0000 (18:18 +0000)]
Remove the comments that I accidentally left in from testing.  Doh!

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

24 years agoRemove a thread un-safe function when APR_HAS_THREADS
Ryan Bloom [Fri, 10 Nov 2000 18:16:52 +0000 (18:16 +0000)]
Remove a thread un-safe function when APR_HAS_THREADS

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

24 years agoDon't use ap_bucket_read() to find the length unless e->length is
Jeff Trawick [Fri, 10 Nov 2000 18:04:44 +0000 (18:04 +0000)]
Don't use ap_bucket_read() to find the length unless e->length is
-1.  Otherwise, we'll never use apr_sendfile().

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

24 years agoMore local/remote changes and tidy up http_vhost a bit.
David Reid [Fri, 10 Nov 2000 16:11:14 +0000 (16:11 +0000)]
More local/remote changes and tidy up http_vhost a bit.

Also add a new function to get an ap_ina_addr_t from a socket.

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

24 years ago Fix symbol break.
William A. Rowe Jr [Fri, 10 Nov 2000 15:33:31 +0000 (15:33 +0000)]
  Fix symbol break.

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

24 years ago Killing ap_os_is_filename_valid. Left actual win32 code, since it is
William A. Rowe Jr [Fri, 10 Nov 2000 15:29:07 +0000 (15:29 +0000)]
  Killing ap_os_is_filename_valid.  Left actual win32 code, since it is
  moving into apr and the check_safe_file call.

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

24 years agoThis is always displayed to the console. There is no reason to print the
Ryan Bloom [Fri, 10 Nov 2000 14:55:27 +0000 (14:55 +0000)]
This is always displayed to the console. There is no reason to print the
date and time to the console, so we should use APLOG_STARTUP to suppress
them

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