]> granicus.if.org Git - apache/log
apache
23 years agoWe don't really treat this field as a const, and currently we are getting
Ryan Bloom [Sat, 14 Apr 2001 23:00:28 +0000 (23:00 +0000)]
We don't really treat this field as a const, and currently we are getting
warnings because on line 536, we are trying to assign a non-const to a
const.  This started happening after a fix for Windows.  This change should
solve the problem on all systems.

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

23 years agoChanged the threaded mpm to have child_main join to each of the
Paul J. Reder [Sat, 14 Apr 2001 21:11:09 +0000 (21:11 +0000)]
Changed the threaded mpm to have child_main join to each of the
worker threads to make sure the kids are all gone before child_main
exits after a signal (cleanup from perform_idle_server_maintenance).
This is an extension of Ryans recent commit to make the child_main
the signal thread.

But then thats what the new entry in the file says...

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

23 years agoChanged the threaded mpm to have child_main join to each of the
Paul J. Reder [Sat, 14 Apr 2001 21:06:48 +0000 (21:06 +0000)]
Changed the threaded mpm to have child_main join to each of the
worker threads to make sure the kids are all gone before child_main
exits after a signal (cleanup from perform_idle_server_maintenance).
This is an extension of Ryans recent commit to make the child_main
the signal thread.

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

23 years agoWe need a prototype for ap_show_mpm
Ryan Bloom [Sat, 14 Apr 2001 18:20:56 +0000 (18:20 +0000)]
We need a prototype for ap_show_mpm

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

23 years agoFix up the auto-versioning stuff. The new scheme more closely matches the
Greg Stein [Sat, 14 Apr 2001 13:10:23 +0000 (13:10 +0000)]
Fix up the auto-versioning stuff. The new scheme more closely matches the
intent of DeltaV draft 14, simplifying some previous assumptions.

Includes some heavy fixes to MOVE/COPY in a versioning world.

Fix to CHECKOUT when a working resource is not created (checkout in place)

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

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

23 years agoImplement the MERGE method: fill in dav_method_merge(); add merge() function
Greg Stein [Sat, 14 Apr 2001 12:45:30 +0000 (12:45 +0000)]
Implement the MERGE method: fill in dav_method_merge(); add merge() function
to dav_hooks_vsn.

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

23 years agoMake hooks work for the *_canon() functions. Work continues.
Graham Leggett [Sat, 14 Apr 2001 07:03:00 +0000 (07:03 +0000)]
Make hooks work for the *_canon() functions. Work continues.
PR:
Obtained from:
Reviewed by:

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

23 years agoInitial support for proxy protocol handler sub-modules. Work continues.
Graham Leggett [Fri, 13 Apr 2001 23:56:04 +0000 (23:56 +0000)]
Initial support for proxy protocol handler sub-modules. Work continues.
PR:
Obtained from:
Reviewed by:

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

23 years agoForgot the CHANGES file.
Ryan Bloom [Fri, 13 Apr 2001 19:04:42 +0000 (19:04 +0000)]
Forgot the CHANGES file.

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

23 years agoAdd more options to the ap_mpm_query function. This also allows MPMs to
Ryan Bloom [Fri, 13 Apr 2001 19:00:39 +0000 (19:00 +0000)]
Add more options to the ap_mpm_query function.  This also allows MPMs to
report if their threads are dynamic or static.  Finally, this also
implements a new API, ap_show_mpm, which returns the MPM that was
required into the core.

We tried to make all of the MPMs report their threading capabilities
correctly, but each MPM expert should double check us.

Submitted by: Harrie Hazewinkel <harrie@covalent.net>

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

23 years agoBe type safe, avoid possible buffer overrun
Chuck Murcko [Fri, 13 Apr 2001 18:57:25 +0000 (18:57 +0000)]
Be type safe, avoid possible buffer overrun

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

23 years agoNot sure what I was thinking, but this clarifies the logic for nbytes >
Chuck Murcko [Fri, 13 Apr 2001 17:46:54 +0000 (17:46 +0000)]
Not sure what I was thinking, but this clarifies the logic for nbytes >
sizeof(buffer) towards the end of proxy_connect.c

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

23 years agoAdded Max-Forwards support for all request types so as to prevent
Graham Leggett [Fri, 13 Apr 2001 15:51:33 +0000 (15:51 +0000)]
Added Max-Forwards support for all request types so as to prevent
loops.
PR: 1085
Obtained from:
Reviewed by:

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

23 years agoSorted out some content-type oddness with proxy_ftp.c
Graham Leggett [Fri, 13 Apr 2001 15:41:35 +0000 (15:41 +0000)]
Sorted out some content-type oddness with proxy_ftp.c
PR:
Obtained from:
Reviewed by:

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

23 years agoFixed all the APR error codes to make sure they end up in the logfiles
Graham Leggett [Fri, 13 Apr 2001 15:30:32 +0000 (15:30 +0000)]
Fixed all the APR error codes to make sure they end up in the logfiles
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoFix logic in connect handler from previous patch
Chuck Murcko [Fri, 13 Apr 2001 09:34:47 +0000 (09:34 +0000)]
Fix logic in connect handler from previous patch

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

23 years agoFix warnings about byte count type on Darwin
Chuck Murcko [Fri, 13 Apr 2001 08:12:52 +0000 (08:12 +0000)]
Fix warnings about byte count type on Darwin

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

23 years agoChange AP_MIN_BYTES_TO_WRITE from 9000 to 8192 to match the bucket buffer
Cliff Woolley [Fri, 13 Apr 2001 05:19:25 +0000 (05:19 +0000)]
Change AP_MIN_BYTES_TO_WRITE from 9000 to 8192 to match the bucket buffer
size.  This fixes the 8192-808-8192-808 iovec-length sequence problem
on platforms using writev() (eg OS/2).

Reviewed by: Brian Havard

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

23 years agoIPV6 EPSV support for IPV6 in FTP proxy.
Graham Leggett [Fri, 13 Apr 2001 02:30:23 +0000 (02:30 +0000)]
IPV6 EPSV support for IPV6 in FTP proxy.
Some cleanup of the million and one debug statements
PR:
Obtained from:
Reviewed by:

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

23 years agoFixed a problem with FTP directories and charcters being chopped here
Graham Leggett [Fri, 13 Apr 2001 02:07:05 +0000 (02:07 +0000)]
Fixed a problem with FTP directories and charcters being chopped here
and there.
PR:
Obtained from:
Reviewed by:

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

23 years agoDo not install the binaries from the support directory twice.
Ryan Bloom [Fri, 13 Apr 2001 00:46:22 +0000 (00:46 +0000)]
Do not install the binaries from the support directory twice.
PR: 7490
Submitted by: jun-ichiro hagino <itojun@iijlab.net>

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

23 years agos/apr_signal_thread_func/apr_signal_thread/
Doug MacEachern [Fri, 13 Apr 2001 00:41:34 +0000 (00:41 +0000)]
s/apr_signal_thread_func/apr_signal_thread/

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

23 years agoFix the shell syntax error that occurs when a for list is empty due to
Roy T. Fielding [Thu, 12 Apr 2001 20:34:52 +0000 (20:34 +0000)]
Fix the shell syntax error that occurs when a for list is empty due to
an empty variable expansion.

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

23 years agoThe ap_f* functions should flush data to the filter that is passed in,
Ryan Bloom [Thu, 12 Apr 2001 20:06:50 +0000 (20:06 +0000)]
The ap_f* functions should flush data to the filter that is passed in,
not to the filter after the one passed in.  The fixes a bug, where one
filter is skipped when using ap_f*.
Submitted by: Ryan Morgan <rmorgan@covalent.net>

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

23 years agoConvert the apr_create_signal_thread to apr_signal_thread. The main
Ryan Bloom [Thu, 12 Apr 2001 18:46:32 +0000 (18:46 +0000)]
Convert the apr_create_signal_thread to apr_signal_thread.  The main
difference, is that instead of creating a separate thread to listen for
signals, the thread that calls this function does the listening.  Many
platforms have issues when the main thread isn't the thread that is
listening for signals.  Even more platforms complain when the main thread
dies, but the process doesn't.  This gets the main thread back to being
the signal handling thread.

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

23 years agoForce the dav/fs config.m4 file to be added to the configure script after
Ryan Bloom [Thu, 12 Apr 2001 15:14:06 +0000 (15:14 +0000)]
Force the dav/fs config.m4 file to be added to the configure script after
the dav/main config.m4.  This script should make sure that dav is enabled
before turning on dav/fs, but I leave that for somebody else to do.

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

23 years agoMake the dav/main config.m4 file be added to the configure script after
Ryan Bloom [Thu, 12 Apr 2001 15:12:48 +0000 (15:12 +0000)]
Make the dav/main config.m4 file be added to the configure script after
httpd, and make dav default to no if http is not enabled.  Dav still
defaults to yes if http is in the server.  Dav is incredibly HTTP centric,
and makes little to no sense without HTTP

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

23 years ago Clean up some exposed data that should be internal to service.c
William A. Rowe Jr [Thu, 12 Apr 2001 13:58:34 +0000 (13:58 +0000)]
  Clean up some exposed data that should be internal to service.c

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

23 years ago More APR_STATUS_IS_ canonicalization
William A. Rowe Jr [Thu, 12 Apr 2001 13:37:23 +0000 (13:37 +0000)]
  More APR_STATUS_IS_ canonicalization

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

23 years ago Probably my own foobar
William A. Rowe Jr [Thu, 12 Apr 2001 13:36:11 +0000 (13:36 +0000)]
  Probably my own foobar

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

23 years ago Gotta use APR_STATUS_IS_EFOO() wrappers on all except our internally
William A. Rowe Jr [Thu, 12 Apr 2001 13:35:04 +0000 (13:35 +0000)]
  Gotta use APR_STATUS_IS_EFOO() wrappers on all except our internally
  defined status codes (e.g. APR_EOF and APR_STATUS tests are ok.)

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

23 years ago It's critical that apps use the APR_STATUS_IS_EFOO() canonicalization
William A. Rowe Jr [Thu, 12 Apr 2001 13:32:33 +0000 (13:32 +0000)]
  It's critical that apps use the APR_STATUS_IS_EFOO() canonicalization
  wrappers, or some platforms errors are missed.

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

23 years ago Make default install target more consistent with unix.
William A. Rowe Jr [Thu, 12 Apr 2001 13:10:15 +0000 (13:10 +0000)]
  Make default install target more consistent with unix.

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

23 years agoRemove double-quotes from the list of programs to install to make
Roy T. Fielding [Thu, 12 Apr 2001 07:56:16 +0000 (07:56 +0000)]
Remove double-quotes from the list of programs to install to make
it valid shell syntax.

Submitted by: Justin Erenkrantz <jerenkrantz@ebuilt.com>
Reviewed by: Roy Fielding

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

23 years agoMake ab work again by changing its native types to apr types and formats.
Roy T. Fielding [Thu, 12 Apr 2001 07:34:17 +0000 (07:34 +0000)]
Make ab work again by changing its native types to apr types and formats.

Submitted by: Justin Erenkrantz <jerenkrantz@ebuilt.com>
Reviewed by: Roy Fielding

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

23 years agoFTP directory filter works now.
Graham Leggett [Thu, 12 Apr 2001 01:57:48 +0000 (01:57 +0000)]
FTP directory filter works now.
Many FIXME notes added.
Much overhauling of proxy_ftp.c
PR:
Obtained from:
Reviewed by:

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

23 years agoWhen I initially pulled the BYTERANGE filter into the core, Greg Stein
Ryan Bloom [Wed, 11 Apr 2001 23:37:16 +0000 (23:37 +0000)]
When I initially pulled the BYTERANGE filter into the core, Greg Stein
told me I was wrong.  I was wrong, and Greg was right.  This commit
just moves the byterange filter and its related functions out of the core,
and puts them back in the HTTP specific module.
Submitted by: Greg Stein

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

23 years agoFixed some thread-safety issues with the HTTP proxy in mod_proxy.
Graham Leggett [Wed, 11 Apr 2001 23:07:21 +0000 (23:07 +0000)]
Fixed some thread-safety issues with the HTTP proxy in mod_proxy.
PR:
Obtained from:
Reviewed by:

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

23 years agoRemoved apr_bucket_do_create() macro, which was causing warnings
Cliff Woolley [Wed, 11 Apr 2001 19:07:01 +0000 (19:07 +0000)]
Removed apr_bucket_do_create() macro, which was causing warnings
about unreachable code in some compilers (notably MSVC).  What
used to be done by this macro is now done inline in the various
apr_bucket_foo_create() functions.  [Cliff Woolley]

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

23 years agoMake clean, distclean, and extraclean consistently according to the
Roy T. Fielding [Wed, 11 Apr 2001 06:44:07 +0000 (06:44 +0000)]
Make clean, distclean, and extraclean consistently according to the
Gnu makefile guidelines.

Submitted by: Justin Erenkrantz <jerenkrantz@ebuilt.com>
Reviewed by:  Roy Fielding

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

23 years agocommit the CHANGES file, too. This is for fixing the mixup in the naming
Greg Ames [Wed, 11 Apr 2001 02:10:34 +0000 (02:10 +0000)]
commit the CHANGES file, too.  This is for fixing the mixup in the naming
of the apr_threadattr_detach_xxx functions.

(I hope subversion won't make us back up a directory in a few cases...)

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

23 years agoFix the naming of the apr_threadattr_detach_xxx functions. get and set were
Greg Ames [Wed, 11 Apr 2001 02:01:16 +0000 (02:01 +0000)]
Fix the naming of the apr_threadattr_detach_xxx functions.  get and set were
reversed.

This may have broken the Unix threaded mpm's when they started using the
bogus "set" function.  A likely symptom would be failure to stop a threaded
process cleanly.

Note: it appears these functions are essentially no-ops except in Unix.

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

23 years agoSmall docco fix.
Victor J. Orlikowski [Tue, 10 Apr 2001 23:18:27 +0000 (23:18 +0000)]
Small docco fix.

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

23 years agoRemove a needless assignment.
Victor J. Orlikowski [Tue, 10 Apr 2001 23:17:59 +0000 (23:17 +0000)]
Remove a needless assignment.

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

23 years agoIgnore *.slo too....
Victor J. Orlikowski [Tue, 10 Apr 2001 23:16:10 +0000 (23:16 +0000)]
Ignore *.slo too....

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

23 years agoSmall fixes.
Graham Leggett [Tue, 10 Apr 2001 21:31:10 +0000 (21:31 +0000)]
Small fixes.
PR:
Obtained from:
Reviewed by:

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

23 years agoA client POST request would be read entirely into RAM before sending it
Graham Leggett [Tue, 10 Apr 2001 20:55:05 +0000 (20:55 +0000)]
A client POST request would be read entirely into RAM before sending it
on the client - a potential DoS. Fixed.
PR:
Obtained from:
Reviewed by:

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

23 years ago Clean up a yet a couple more emits
William A. Rowe Jr [Tue, 10 Apr 2001 20:45:39 +0000 (20:45 +0000)]
  Clean up a yet a couple more emits

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

23 years agoMake sure the filter stack in a reused downstream connection is reset
Graham Leggett [Tue, 10 Apr 2001 20:44:16 +0000 (20:44 +0000)]
Make sure the filter stack in a reused downstream connection is reset
so we don't get lots of DECHUNK filters when we don't want them.
PR:
Obtained from:
Reviewed by:

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

23 years ago Knock off another couple of compiler emits.
William A. Rowe Jr [Tue, 10 Apr 2001 20:41:45 +0000 (20:41 +0000)]
  Knock off another couple of compiler emits.

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

23 years ago icase is intialized as the result of an (a == b) expression, it makes
William A. Rowe Jr [Tue, 10 Apr 2001 20:35:18 +0000 (20:35 +0000)]
  icase is intialized as the result of an (a == b) expression, it makes
  no sense as an unsigned, and this eliminates all compiler emits from
  the module

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

23 years ago Toss the float nonsense from c-l, and cast atof as a (float), which I
William A. Rowe Jr [Tue, 10 Apr 2001 20:28:01 +0000 (20:28 +0000)]
  Toss the float nonsense from c-l, and cast atof as a (float), which I
  will argue is a totally appropriate use of a cast :-)

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

23 years agoWe now keep the entire conn_rec across downstream keepalives, not
Graham Leggett [Tue, 10 Apr 2001 19:52:40 +0000 (19:52 +0000)]
We now keep the entire conn_rec across downstream keepalives, not
just the socket.
Made the "keepalive mismatch" message more accurate.
PR:
Obtained from:
Reviewed by:

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

23 years agoMissed one...
Victor J. Orlikowski [Tue, 10 Apr 2001 18:44:09 +0000 (18:44 +0000)]
Missed one...

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

23 years agoMore status stuff and wish listing...
Bill Stoddard [Tue, 10 Apr 2001 18:05:19 +0000 (18:05 +0000)]
More status stuff and wish listing...

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

23 years ago*Sigh*. Pointless repetition of calculations. It bothers me. Even if
Victor J. Orlikowski [Tue, 10 Apr 2001 18:03:46 +0000 (18:03 +0000)]
*Sigh*. Pointless repetition of calculations. It bothers me. Even if
it is simple bitwise AND.

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

23 years agoMore status
Bill Stoddard [Tue, 10 Apr 2001 17:54:35 +0000 (17:54 +0000)]
More status

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

23 years agoFix errors in generating docco using make docs.
Victor J. Orlikowski [Tue, 10 Apr 2001 17:48:08 +0000 (17:48 +0000)]
Fix errors in generating docco using make docs.

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

23 years agoGreen and yellow pollen in the air like fog blotting out the sun. Worst I've
Bill Stoddard [Tue, 10 Apr 2001 17:32:08 +0000 (17:32 +0000)]
Green and yellow pollen in the air like fog blotting out the sun. Worst I've
ever seen.

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

23 years agoSmall docco fixes.
Victor J. Orlikowski [Tue, 10 Apr 2001 16:57:37 +0000 (16:57 +0000)]
Small docco fixes.

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

23 years ago change include_handler to include_handler_fn_t, and clean up a nasty
William A. Rowe Jr [Tue, 10 Apr 2001 16:57:27 +0000 (16:57 +0000)]
  change include_handler to include_handler_fn_t, and clean up a nasty
  explicit cast that could float from the include_handler_fn_t declaration.

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

23 years ago We seem to use fn_t *fn throughout the rest of apache, so normalize this
William A. Rowe Jr [Tue, 10 Apr 2001 16:26:21 +0000 (16:26 +0000)]
  We seem to use fn_t *fn throughout the rest of apache, so normalize this
  syntax for mod_include's include_handler(_t)

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

23 years agoMoved config.m4 to config9.m4. This allows most (if not all) other modules
Victor J. Orlikowski [Tue, 10 Apr 2001 15:39:08 +0000 (15:39 +0000)]
Moved config.m4 to config9.m4. This allows most (if not all) other modules
to be handled before mod_so, so that sharedobjs is set if needed, so
that mod_so is enabled as needed if building any modules shared.
NOTE: This is no guarantee. There exists the possibility that a config.m4
could be used after this one, and that the modules it specifies are the only
ones that the server will be built with as shared. This is highly unlikely,
but possible.

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

23 years agoMore fixes...
Graham Leggett [Tue, 10 Apr 2001 12:06:49 +0000 (12:06 +0000)]
More fixes...
PR:
Obtained from:
Reviewed by:

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

23 years agoMemory allocation cleanups
Graham Leggett [Tue, 10 Apr 2001 09:30:12 +0000 (09:30 +0000)]
Memory allocation cleanups
PR:
Obtained from:
Reviewed by:

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

23 years agoChange HTTP proxy to use ap_proxy_string_read() instead of apr_brigade_read()
Graham Leggett [Tue, 10 Apr 2001 00:45:02 +0000 (00:45 +0000)]
Change HTTP proxy to use ap_proxy_string_read() instead of apr_brigade_read()
to make sure all the buckets are read...
PR:
Obtained from:
Reviewed by:

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

23 years agoCompiler warnings - yuck!
Graham Leggett [Tue, 10 Apr 2001 00:13:56 +0000 (00:13 +0000)]
Compiler warnings - yuck!
Moved ap_proxy_string_read() to proxy_util.c so it can be used by
proxy_http.c
PR:
Obtained from:
Reviewed by:

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

23 years agoRemove BindAddress from the default config file, because it is no longer
Ryan Bloom [Mon, 9 Apr 2001 23:28:58 +0000 (23:28 +0000)]
Remove BindAddress from the default config file, because it is no longer
a valid directive.
PR: 7539
Submitted by: giles@nemeton.com.au

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

23 years ago*) PASV FTP works now.
Graham Leggett [Mon, 9 Apr 2001 21:49:17 +0000 (21:49 +0000)]
*) PASV FTP works now.
*) Reworked the line-at-a-time read from the control connection to
workaround a stray empty bucket returned by the HTTP_IN filter.
PR:
Obtained from:
Reviewed by:

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

23 years ago Spare unix users some more win32 questions
William A. Rowe Jr [Mon, 9 Apr 2001 15:25:26 +0000 (15:25 +0000)]
  Spare unix users some more win32 questions

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

23 years agoAllow modules to be added to the server at configure time. The syntax
Ryan Bloom [Mon, 9 Apr 2001 05:18:40 +0000 (05:18 +0000)]
Allow modules to be added to the server at configure time.  The syntax
is:

--with-module=module_type:/path/to/module

module_type is the directory under modules/ that the module should be
copied to.  Currently, this only adds static modules

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

23 years agoGoodbye more dead code.
Graham Leggett [Sun, 8 Apr 2001 22:26:45 +0000 (22:26 +0000)]
Goodbye more dead code.
PR:
Obtained from:
Reviewed by:

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

23 years agoStopped the CORE filter from sending off an HTTP response when a
Graham Leggett [Sun, 8 Apr 2001 22:18:31 +0000 (22:18 +0000)]
Stopped the CORE filter from sending off an HTTP response when a
CONNECT tunnel was closed. Fixed some filter definition madness that
proves that I need some sleep.
PR:
Obtained from:
Reviewed by:

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

23 years agoHTTP_VERSION() is the correct way to do this...
Graham Leggett [Sun, 8 Apr 2001 16:29:30 +0000 (16:29 +0000)]
HTTP_VERSION() is the correct way to do this...
PR:
Obtained from:
Reviewed by:

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

23 years agoMore error checks to make sure the poll() loop dies when the connection
Graham Leggett [Sun, 8 Apr 2001 14:52:19 +0000 (14:52 +0000)]
More error checks to make sure the poll() loop dies when the connection
on either side is closed...
PR:
Obtained from:
Reviewed by:

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

23 years agoCONNECT now works!!! Woohoo!!!
Graham Leggett [Sun, 8 Apr 2001 12:54:34 +0000 (12:54 +0000)]
CONNECT now works!!! Woohoo!!!
the poll() loop was overhauled - many of the reads, writes and selects
were happening on the wrong sockets.
PR:
Obtained from:
Reviewed by:

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

23 years agoVarious cleanups and comments
Graham Leggett [Sun, 8 Apr 2001 11:35:54 +0000 (11:35 +0000)]
Various cleanups and comments
PR:
Obtained from:
Reviewed by:

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

23 years agoAdd #defines for protocol version checks...
Graham Leggett [Sun, 8 Apr 2001 09:49:49 +0000 (09:49 +0000)]
Add #defines for protocol version checks...
PR:
Obtained from:
Reviewed by:

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

23 years agoAs in the case of 1.3, there are expected cases where this should not
Victor J. Orlikowski [Sun, 8 Apr 2001 07:52:33 +0000 (07:52 +0000)]
As in the case of 1.3, there are expected cases where this should not
return a port (i.e. a uri beginning with /). Thus, we keep the
default case fast, and let module authors check back on the port being
set on their own.

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

23 years agoBacking my earlier change out; There exists the possibility for
Victor J. Orlikowski [Sun, 8 Apr 2001 07:13:42 +0000 (07:13 +0000)]
Backing my earlier change out; There exists the possibility for
ap_parse_uri_components to not fill in the port field in certain cases,
i.e. wherein the uri begins with /

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

23 years agoMake the CONNECT proxy talk HTTP/1.1. Still need to check if this is
Graham Leggett [Sat, 7 Apr 2001 21:12:39 +0000 (21:12 +0000)]
Make the CONNECT proxy talk HTTP/1.1. Still need to check if this is
compliant with HTTP/1.1 though...
PR:
Obtained from:
Reviewed by:

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

23 years ago*) Made log entries consistent with proxy: CONNECT:
Graham Leggett [Sat, 7 Apr 2001 21:09:37 +0000 (21:09 +0000)]
*) Made log entries consistent with proxy: CONNECT:
*) checked that sockets were being closed on error
PR:
Obtained from:
Reviewed by:

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

23 years agoproxy_connect.c needs ap_parse_hostinfo_components() to decode the URI,
Graham Leggett [Sat, 7 Apr 2001 20:57:05 +0000 (20:57 +0000)]
proxy_connect.c needs ap_parse_hostinfo_components() to decode the URI,
not ap_parse_uri_components()
PR:
Obtained from:
Reviewed by:

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

23 years agoDownstream keepalives in mod_proxy should not kick in if the upstream
Graham Leggett [Sat, 7 Apr 2001 19:41:03 +0000 (19:41 +0000)]
Downstream keepalives in mod_proxy should not kick in if the upstream
client is < HTTP/1.1
PR:
Obtained from:
Reviewed by:

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

23 years agotweak unixd.h so that exports.c is built properly
Jeff Trawick [Sat, 7 Apr 2001 19:37:54 +0000 (19:37 +0000)]
tweak unixd.h so that exports.c is built properly

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

23 years agoap_os_systemcase_filename isn't implemented on OS/2 & isn't used anywhere
Brian Havard [Sat, 7 Apr 2001 15:31:55 +0000 (15:31 +0000)]
ap_os_systemcase_filename isn't implemented on OS/2 & isn't used anywhere
anyway. This stops exports.c requiring it.

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

23 years agoSockets weren't being closed if the proxy could not connect to
Graham Leggett [Sat, 7 Apr 2001 14:06:13 +0000 (14:06 +0000)]
Sockets weren't being closed if the proxy could not connect to
a remote machine...
PR:
Obtained from:
Reviewed by:

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

23 years agoOS/2: Export some APR global variables from the httpd core.
Brian Havard [Sat, 7 Apr 2001 13:46:56 +0000 (13:46 +0000)]
OS/2: Export some APR global variables from the httpd core.

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

23 years agoOS/2: Set the max file handles for the process to something more useful than
Brian Havard [Sat, 7 Apr 2001 13:45:19 +0000 (13:45 +0000)]
OS/2: Set the max file handles for the process to something more useful than
the default of around 40. This gives us 2 per possible thread.

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

23 years agoA few symbols from os.h need to be exported.
Brian Havard [Sat, 7 Apr 2001 13:41:29 +0000 (13:41 +0000)]
A few symbols from os.h need to be exported.

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

23 years agoTurns out continuation lines in ftp can start with a space... fix detection
Graham Leggett [Sat, 7 Apr 2001 12:59:36 +0000 (12:59 +0000)]
Turns out continuation lines in ftp can start with a space... fix detection
of these things in proxy_ftp.c
PR:
Obtained from:
Reviewed by:

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

23 years agoFixed problem where the port was left at zero on requests instead of
Graham Leggett [Sat, 7 Apr 2001 12:24:38 +0000 (12:24 +0000)]
Fixed problem where the port was left at zero on requests instead of
being set to the default scheme port 80
PR:
Obtained from:
Reviewed by:

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

23 years agoSome bugfixes to proxy_ftp.c
Graham Leggett [Sat, 7 Apr 2001 12:05:21 +0000 (12:05 +0000)]
Some bugfixes to proxy_ftp.c
PR:
Obtained from:
Reviewed by:

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

23 years agoUpdate CHANGES file to include the prefork idle child cleanup fix.
Paul J. Reder [Fri, 6 Apr 2001 20:24:13 +0000 (20:24 +0000)]
Update CHANGES file to include the prefork idle child cleanup fix.

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

23 years agoChanges required to make prefork clean up idle children properly. There was a window...
Paul J. Reder [Fri, 6 Apr 2001 20:12:09 +0000 (20:12 +0000)]
Changes required to make prefork clean up idle children properly. There was a window during which a starting worker deadlocks when an idle cleanup arrives before it completes init. Apache then keeps trying to cleanup the same deadlocked worker forever (until higher pids come along, but it still will never reduce below the deadlocked pid). Thus the number of children would not reduce to the correct idle level.

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

23 years agoBugfixes to proxy_ftp.c -> in some places uri_addr was used instead
Graham Leggett [Fri, 6 Apr 2001 14:25:54 +0000 (14:25 +0000)]
Bugfixes to proxy_ftp.c -> in some places uri_addr was used instead
of connect_addr - all hail cut and paste!
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoConverted send_dir() to ap_proxy_send_dir_filter() in proxy_ftp.c.
Graham Leggett [Fri, 6 Apr 2001 10:44:08 +0000 (10:44 +0000)]
Converted send_dir() to ap_proxy_send_dir_filter() in proxy_ftp.c.
Fixed up the header files
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoMore pool allocation errors. The apr_sockaddr_t structures connect_addr and
Victor J. Orlikowski [Fri, 6 Apr 2001 01:59:26 +0000 (01:59 +0000)]
More pool allocation errors. The apr_sockaddr_t structures connect_addr and
uri_addr were getting allocated out of the wrong pool (one of the request pools)
when they were expected to stick around for the life of the socket.
Further, the default pool to be used should have been the connection pool in the
request_rec.

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

23 years agoupdate status; add FTP back in to the build
Chuck Murcko [Thu, 5 Apr 2001 23:48:43 +0000 (23:48 +0000)]
update status; add FTP back in to the build

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

23 years agoMajor rework of ap_proxy_ftp_handler() to use filters (begone foul
Graham Leggett [Thu, 5 Apr 2001 21:27:50 +0000 (21:27 +0000)]
Major rework of ap_proxy_ftp_handler() to use filters (begone foul
BUFF!!!). It compiles, but is untested, and the build environment needs
to be fixed to include proxy_ftp.c.
PR:
Obtained from:
Reviewed by:

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