]> granicus.if.org Git - apache/log
apache
24 years agoFix a warning associated with the ap_send_fd change from earlier today.
Ryan Bloom [Tue, 11 Jul 2000 03:48:18 +0000 (03:48 +0000)]
Fix a warning associated with the ap_send_fd change from earlier today.
This just changes a couple of long's to ap_size_t.

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

24 years agoshift the LimitXMLRequestBody directive to the core. use it from util_xml.
Greg Stein [Tue, 11 Jul 2000 00:06:22 +0000 (00:06 +0000)]
shift the LimitXMLRequestBody directive to the core. use it from util_xml.

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

24 years agomake sure this is defined, so that mpm_common.c compiles with the right
Greg Stein [Tue, 11 Jul 2000 00:01:50 +0000 (00:01 +0000)]
make sure this is defined, so that mpm_common.c compiles with the right
   values, functions, whatever. specifically, ap_reclaim_child_processes()
   was not getting compiled into mpm_common.
this appears to keep mpmt_pthread running properly. dunno whether a similar
   issue exists for prefork or dexter. (until all are torched)

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

24 years agoeek. don't include carriage returns in the m4 macro. they get copied thru.
Greg Stein [Mon, 10 Jul 2000 23:46:28 +0000 (23:46 +0000)]
eek. don't include carriage returns in the m4 macro. they get copied thru.

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

24 years ago Advisory: This patch is still anywhere but complete. However, it
William A. Rowe Jr [Mon, 10 Jul 2000 23:12:29 +0000 (23:12 +0000)]
  Advisory: This patch is still anywhere but complete.  However, it
  resolves most of the big bugs of the services to mpm relocation.
  I apologize that it's taken this long to get back on this.

  Brought across; Keep console open (needs a bit of cleanup and could
  be done better now for 2.0), service error event logging, and some
  other minor threading cleanup.

  Big issues remain: logged errors (even APLOG_STARTUP) drop into the
  logfile in spite of our interest in getting them to the user's console.

  Some threading sequences may yet be out of sorts, and those will be
  cleaned up by the end of the week.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoMake the spmt_os2 MPM use the new setup_listeners API. This should work,
Ryan Bloom [Mon, 10 Jul 2000 23:12:10 +0000 (23:12 +0000)]
Make the spmt_os2 MPM use the new setup_listeners API.  This should work,
but I make no garauntees.

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

24 years agoMove sock_disable_nagle to mpm_common.c. Rename it to ap_sock_disable_nagle.
Ryan Bloom [Mon, 10 Jul 2000 22:08:11 +0000 (22:08 +0000)]
Move sock_disable_nagle to mpm_common.c.  Rename it to ap_sock_disable_nagle.
Again, I tried to modify all MPMs that are currently using this code.

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

24 years agoReimplement ap_send_fd. Eliminate ap_send_fd_length. If APR_HAS_SENDFILE is
Bill Stoddard [Mon, 10 Jul 2000 21:49:22 +0000 (21:49 +0000)]
Reimplement ap_send_fd. Eliminate ap_send_fd_length. If APR_HAS_SENDFILE is
defined but ap_sendfile fails with APR_ENOTIMPL, the BUFF implementation
of ap_send_fd will get a shot at serving the request.  This fix is
required to get Apache working on 95/98 again and can also be useful on
Unix systems where sendfile is available via a servicepack/fixpack/PTF
on a particular level of the OS (e.g., AIX 4.3.2 base does not include
sendfile but is is available with a PTF).

This fix also reimplements the mod_file_cache sendfile_handler using
ap_send_fd and sets the connection aborted flag if the sendfile fails.

Future modification... Add code to ap_send_fd to hijack any data in the
client BUFF structure and send it along with the sendfile.

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

24 years agoMove setup_listeners to listen.c. This renames it to ap_setup_listeners,
Ryan Bloom [Mon, 10 Jul 2000 21:37:23 +0000 (21:37 +0000)]
Move setup_listeners to listen.c.  This renames it to ap_setup_listeners,
and removes the duplicated code from all effected MPMs.  The only this
doesn't touch, is Windows.  That MPM was using a different setup_listeners.
If one of the Windows guys would like to modify the WinNT MPM to use the
same setup_lsiteners, that would be VERY cool.

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

24 years agoMove process_child_status to mpm_common.c. This requires re-naming it
Ryan Bloom [Mon, 10 Jul 2000 18:21:24 +0000 (18:21 +0000)]
Move process_child_status to mpm_common.c.  This requires re-naming it
to ap_process_child_status and opening up ap_coredump_dir.  I have
modified all of the MPMs that I saw using this function to work with this
patch.  Sorry if I broke anybody.

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

24 years agoStop doing the find for make clean. This was causing us to clean every
Ryan Bloom [Mon, 10 Jul 2000 15:07:40 +0000 (15:07 +0000)]
Stop doing the find for make clean.  This was causing us to clean every
directory twice.  We should still clean those directories that weren't
configured in the current configuration, but this wasn't the right
solution.

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

24 years agoBeware the Jubjub bird
Greg Stein [Mon, 10 Jul 2000 11:23:12 +0000 (11:23 +0000)]
Beware the Jubjub bird

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

24 years agocomplete the removal of the old dav_dyn crap. dav plugins are now
Greg Stein [Mon, 10 Jul 2000 07:49:48 +0000 (07:49 +0000)]
complete the removal of the old dav_dyn crap. dav plugins are now
    implemented entirely through standard Apache modules, hooks, and some
    additional registration.

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

24 years agoliveprop namespace indexes are 1-based. make room in the marks array.
Greg Stein [Mon, 10 Jul 2000 06:56:29 +0000 (06:56 +0000)]
liveprop namespace indexes are 1-based. make room in the marks array.

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

24 years agotorch just about all of the old dav_dyn stuff. temporarily hard-wire the
Greg Stein [Mon, 10 Jul 2000 04:16:51 +0000 (04:16 +0000)]
torch just about all of the old dav_dyn stuff. temporarily hard-wire the
    liveprop provider setup. this will go away momentarily (another pass).

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

24 years agonew liveprop namespace registration and lookup. modules register each
Greg Stein [Mon, 10 Jul 2000 03:18:14 +0000 (03:18 +0000)]
new liveprop namespace registration and lookup. modules register each
    namespace they will use, which then receives a process-wide index.
get rid of old dav_liveprop_uris global (and minor cleaning in dav_dyn);
    encapsulate liveprop handling in liveprop.c.
do not build/use an ns_map; use dav_get_liveprop_ns_index().

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

24 years agoFix mpm_common for use with the real prefork MPM. This was broken when
Ryan Bloom [Sun, 9 Jul 2000 23:12:44 +0000 (23:12 +0000)]
Fix mpm_common for use with the real prefork MPM.  This was broken when
mpmt was added.  This change can be removed when the MPM stuff calms down
a bit and either mpmt or three separate MPMs are chosen.

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

24 years agoFix building the mpmt MPM. The problem was that IfModule uses the name of
Ryan Bloom [Sun, 9 Jul 2000 18:54:08 +0000 (18:54 +0000)]
Fix building the mpmt MPM.  The problem was that IfModule uses the name of
the C file to determine if a module is present.  mpmt emulates three
different MPMs though.  If the default config file we have sane defaults
for each of the three MPMs that mpmt emulates.

To fix this, the build process creates a soft link to the original MPM name
during the configure process, and the build process actually compiles that
file, instead of the original mpmt.c.  This allow the mpmt MPM to work
just as well as mpmt_pthread.

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

24 years agoDays off are a good thing. :-)
Ryan Bloom [Sun, 9 Jul 2000 17:28:16 +0000 (17:28 +0000)]
Days off are a good thing.  :-)

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

24 years agosunny. of course.
Greg Stein [Sun, 9 Jul 2000 16:26:07 +0000 (16:26 +0000)]
sunny. of course.

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

24 years agoChange variable name to avoid conflict with typedef. Yes, it's anal.
Roy T. Fielding [Sun, 9 Jul 2000 04:10:24 +0000 (04:10 +0000)]
Change variable name to avoid conflict with typedef.  Yes, it's anal.

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

24 years agoCan you believe VC++ 6.0 was not catching this! Not even a warning.
Bill Stoddard [Sat, 8 Jul 2000 17:03:29 +0000 (17:03 +0000)]
Can you believe VC++ 6.0 was not catching this! Not even a warning.

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

24 years agoAck. is the variable
Jim Jagielski [Sat, 8 Jul 2000 14:29:13 +0000 (14:29 +0000)]
Ack.  is the variable
that's set, so we better check that one :)

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

24 years agoWe already depend on these autoconf functions
Jim Jagielski [Sat, 8 Jul 2000 14:25:25 +0000 (14:25 +0000)]
We already depend on these autoconf functions
in other places. Avoid possible portability concerns by using them
here as well

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

24 years agoget rid of more of the old module/provider mechanisms -- use ap_hooks to
Greg Stein [Sat, 8 Jul 2000 13:22:14 +0000 (13:22 +0000)]
get rid of more of the old module/provider mechanisms -- use ap_hooks to
look up the plugins' function hook tables.

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

24 years agothe new "mpmt" MPM is busted. the config system didn't listen to me when I
Greg Stein [Sat, 8 Jul 2000 13:05:40 +0000 (13:05 +0000)]
the new "mpmt" MPM is busted. the config system didn't listen to me when I
said that I really wanted --with-mpm=mpmt_pthread. I made it listen :-)

the new behavior: if you explicitly state an MPM, then it is used. if it
guesses one, then it is free to replace that guess with mpmt.

[ yes, this will probably change again when mpmt works ]

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

24 years agoInitial version of the mpmt MPM. This MPM can emulate dexter, mpmt_pthread,
Ryan Bloom [Fri, 7 Jul 2000 17:35:41 +0000 (17:35 +0000)]
Initial version of the mpmt MPM.  This MPM can emulate dexter, mpmt_pthread,
and prefork.  This basically just combines a lot of common code.  This
builds and serves pages in all three modes, but I don't think killing
the server works in any of them.  The configuration system hasn't changed
at all, so using --with-mpm=(prefork|dexter|mpmt_pthread) all work.

My goal is to remove the three separate MPMs in a few days, and then work
on merging one of the BeOS and the OS/2 MPMs into this as well.  :-)

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

24 years agoDrastically increase the listen backlog for mod_cgid's unix socket. It
Jeff Trawick [Fri, 7 Jul 2000 15:20:35 +0000 (15:20 +0000)]
Drastically increase the listen backlog for mod_cgid's unix socket.  It
was pretty easy to hit ECONNREFUSED errors when the backlog was 5.

The backlog can be customized at build time if required.

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

24 years agodo the "get resource" via a hook rather than through the repository hook
Greg Stein [Fri, 7 Jul 2000 10:38:23 +0000 (10:38 +0000)]
do the "get resource" via a hook rather than through the repository hook
    structure. once the resource is retrieved, then we have the relevant
    repository hooks and can dispatch through those.
some additional tweaks to use lockdb->hooks rather than fetching them

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

24 years agodo the config/build for module stuff "right"
Greg Stein [Fri, 7 Jul 2000 10:35:25 +0000 (10:35 +0000)]
do the config/build for module stuff "right"

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

24 years agoadd a bit of framework so that experimental modules can be built a bit more
Greg Stein [Fri, 7 Jul 2000 08:05:05 +0000 (08:05 +0000)]
add a bit of framework so that experimental modules can be built a bit more
easily.

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

24 years agoturn dav/fs/ into a real module
Greg Stein [Fri, 7 Jul 2000 07:58:14 +0000 (07:58 +0000)]
turn dav/fs/ into a real module
move the DAVLockDB directive to the dav_fs module

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

24 years agoI bunged up Joe's patch. Use the right size in the pcalloc().
Greg Stein [Fri, 7 Jul 2000 07:55:46 +0000 (07:55 +0000)]
I bunged up Joe's patch. Use the right size in the pcalloc().

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

24 years agoThis patch fixes several problems with mod_file_cache
Bill Stoddard [Fri, 7 Jul 2000 02:39:00 +0000 (02:39 +0000)]
This patch fixes several problems with mod_file_cache
- Pool usage problem
- SIGSEGVs when both MMapFile and CacheFile directives are present.  The fix combines
the cleanup routines and only cleans up resources when appropriate.
- Log sendfile errors.

Submitted by: Greg Ames
Reviewed by: Bill Stoddard

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

24 years agouse ap_size_t rather than plain size_t
Greg Stein [Fri, 7 Jul 2000 02:23:07 +0000 (02:23 +0000)]
use ap_size_t rather than plain size_t

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

24 years agoAPR-ize repos.c and lock.c. trim back repos.h. Original patch by Joe Orton
Greg Stein [Fri, 7 Jul 2000 02:22:17 +0000 (02:22 +0000)]
APR-ize repos.c and lock.c. trim back repos.h. Original patch by Joe Orton
    with some additional APR-izing from Greg (lock.c and ap_rename_file).

Submitted by: Joe Orton

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

24 years agoFix the way that ap_rwrite() checks for an error from ap_bwrite().
Jeff Trawick [Thu, 6 Jul 2000 21:25:19 +0000 (21:25 +0000)]
Fix the way that ap_rwrite() checks for an error from ap_bwrite().
A dropped connection could cause a loop in ap_send_mmap() (and probably
a few other places) because of this problem.

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

24 years agoTemporarily disable lingerling close until I can get the sendfile path right.
Bill Stoddard [Thu, 6 Jul 2000 17:48:41 +0000 (17:48 +0000)]
Temporarily disable lingerling close until I can get the sendfile path right.
This avoids a seg fault when we try to shutdown then close a socket that has
been reset by the client.

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

24 years agoDo not set the sendfile flag to disconnect the socket when sending byteranges.
Bill Stoddard [Thu, 6 Jul 2000 15:56:45 +0000 (15:56 +0000)]
Do not set the sendfile flag to disconnect the socket when sending byteranges.
Thanks to Jeff Trawick for pointing this one out.

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

24 years agoWinNT: Implement acceptex socket reuse. Make sure that the ap_sendfile flags
Bill Stoddard [Thu, 6 Jul 2000 15:13:30 +0000 (15:13 +0000)]
WinNT: Implement acceptex socket reuse. Make sure that the ap_sendfile flags
argument is properly initialized for all platforms.

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

24 years agoEliminate a couple of compiler warnings. I don't like casts but these
Bill Stoddard [Thu, 6 Jul 2000 14:40:36 +0000 (14:40 +0000)]
Eliminate a couple of compiler warnings. I don't like casts but these
seem safe.

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

24 years agoFix make distclean and make clean. Before this commit, we only cleaned
Ryan Bloom [Thu, 6 Jul 2000 00:09:48 +0000 (00:09 +0000)]
Fix make distclean and make clean.  Before this commit, we only cleaned
directories that have been configured by the last call to ./configure.
This means that if somebody does ./configure --with-mpm=dexter;make and
then ./configure --with-mpm=prefork;make and then make distclean, dexter
doesn't get cleaned up.  Same thing goes for clean.

All this does is with distclean and clean, after we have recursively
gone through the tree to clean everything, we do a quick find to get all
of the left-over Makefiles.  Then we just do the same operation on those
directories.

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

24 years agoUpdate mod_cgid to work with attach_iol_socket again.
Ryan Bloom [Wed, 5 Jul 2000 23:43:40 +0000 (23:43 +0000)]
Update mod_cgid to work with attach_iol_socket again.

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

24 years agoRemove a bunch of dead code from util_script.
Ryan Bloom [Wed, 5 Jul 2000 21:06:23 +0000 (21:06 +0000)]
Remove a bunch of dead code from util_script.

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

24 years agoAllocate iols out of the ptrans pool rather than mallocing them out
Bill Stoddard [Wed, 5 Jul 2000 19:40:39 +0000 (19:40 +0000)]
Allocate iols out of the ptrans pool rather than mallocing them out
of the heap. The extra malloc/free is a significant performance
hit on some platforms and repeatedly alloc/freeing small chunks of storage
can fragment the heap.

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

24 years agoGet rid of some warnings in mod_file_cache by moving to the
Jeff Trawick [Wed, 5 Jul 2000 18:52:57 +0000 (18:52 +0000)]
Get rid of some warnings in mod_file_cache by moving to the
new command-handler initialization macros.
Submitted by: Greg Ames
Reviewed by: Jeff Trawick

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

24 years agostruct a_file needs field mm to compile at all when
Jeff Trawick [Wed, 5 Jul 2000 18:44:37 +0000 (18:44 +0000)]
struct a_file needs field mm to compile at all when
APR_HAS_MMAP is defined

check for APR_HAS_SENDFILE around the declaration of
file; most of the other sendfile logic does this already
Submitted by: Greg Ames
Reviewed by: Jeff Trawick

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

24 years agoRemove some warnings from the latest compile. I don't know why these
Ryan Bloom [Wed, 5 Jul 2000 18:01:52 +0000 (18:01 +0000)]
Remove some warnings from the latest compile.  I don't know why these
haven't turned up before.  We were using the wrong types in our printf
calls for times.

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

24 years ago"What's wrong with them?", Tech Sergeant Chen, Galaxy Quest
Greg Stein [Tue, 4 Jul 2000 10:20:40 +0000 (10:20 +0000)]
"What's wrong with them?", Tech Sergeant Chen, Galaxy Quest

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

24 years agoadd ap_get_status_line() so that modules can get a standardized
Greg Stein [Tue, 4 Jul 2000 00:28:25 +0000 (00:28 +0000)]
add ap_get_status_line() so that modules can get a standardized
    Status-Line value for their response.

Submitted by: Joe Orton <joe@orton.demon.co.uk>
Reviewed by: Greg Stein

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

24 years agoJoe Orton writes:
Greg Stein [Mon, 3 Jul 2000 22:51:03 +0000 (22:51 +0000)]
Joe Orton writes:

This updates mod_dav for the util_xml changes posted previously:

* dav_xml -> ap_xml, and dav_text -> ap_text renaming
* Add 'dav_elem_private' to hook mod_dav-specific info up to the
  parsed XML tree. Initialize this in several places, I think I got
  all necessary?  [gjs: yes, you did]
* Removal of the old "gross_hack", and all the XML code that was
  moved into util_xml

Submitted by: Joe Orton <joe@orton.demon.co.uk>
Reviewed by: Greg Stein

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

24 years agoJoe Orton says:
Greg Stein [Mon, 3 Jul 2000 22:28:38 +0000 (22:28 +0000)]
Joe Orton says:

This patch is a first pass at making util_xml.c independent of mod_dav:

* Rename dav_* to ap_xml_* for exported interface
* Remove dav_* from private functions
* Move text_header handling in from dav/main/util.c
* Move XML tree -> text conversion in
* Add include/util_xml.h header from parts of mod_dav.h

Submitted by: Joe Orton <joe@orton.demon.co.uk>
Reviewed by: Greg Stein

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

24 years agoID4 on DVD roolz...
Greg Stein [Mon, 3 Jul 2000 12:13:23 +0000 (12:13 +0000)]
ID4 on DVD roolz...

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

24 years agore-enable the "move by rename" optimization (now that we have the
Greg Stein [Mon, 3 Jul 2000 12:08:36 +0000 (12:08 +0000)]
re-enable the "move by rename" optimization (now that we have the
    ap_finfo_t.device field)
re-enable the "executable" live property (now that we have a chmod()
    equivalent in ap_setfileperms())

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

24 years agoStop a compiler warning in maintainer mode.
David Reid [Mon, 3 Jul 2000 11:43:10 +0000 (11:43 +0000)]
Stop a compiler warning in maintainer mode.

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

24 years agoBring beos back into line following the changes to iol_socket.
David Reid [Mon, 3 Jul 2000 11:32:39 +0000 (11:32 +0000)]
Bring beos back into line following the changes to iol_socket.

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

24 years agoAPR-ize dav_format_time()
Greg Stein [Mon, 3 Jul 2000 10:33:11 +0000 (10:33 +0000)]
APR-ize dav_format_time()

Submitted by: Joe Orton <joe@orton.demon.co.uk>

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

24 years agomisc const cleanups and others issues found using maintainer-mode
Greg Stein [Mon, 3 Jul 2000 08:54:54 +0000 (08:54 +0000)]
misc const cleanups and others issues found using maintainer-mode
    (initial errors found by Ryan Bloom).
also switch to use new command table initializer macros.

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

24 years agofix the Win32 build w.r.t recent iol_socket changes
Greg Stein [Mon, 3 Jul 2000 08:29:58 +0000 (08:29 +0000)]
fix the Win32 build w.r.t recent iol_socket changes

Submitted by: Keith Wannamaker

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

24 years agoenable Expat for the Win32 build.
Greg Stein [Mon, 3 Jul 2000 08:26:52 +0000 (08:26 +0000)]
enable Expat for the Win32 build.

Submitted by: Keith Wannamaker

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

24 years agorun DAV's type_checker first so that it can grab the non-GET methods (it
Greg Stein [Sun, 2 Jul 2000 09:08:46 +0000 (09:08 +0000)]
run DAV's type_checker first so that it can grab the non-GET methods (it
    will pass thru GET for normal processing)
fix the DBGn() macros for Apache 2.0

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

24 years agosunny. wish my pool was finished...
Greg Stein [Sun, 2 Jul 2000 00:39:06 +0000 (00:39 +0000)]
sunny. wish my pool was finished...

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

24 years agofilter out the warning that AC_TRY_RUN gives us while running the
Greg Stein [Sun, 2 Jul 2000 00:16:27 +0000 (00:16 +0000)]
filter out the warning that AC_TRY_RUN gives us while running the
    AC_C_BIGENDIAN macro. we've already handled the cross-compile case,
    so we don't need to see the message

Submitted by: idea from Sascha Schumann

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

24 years agomaking progress...
Greg Stein [Sat, 1 Jul 2000 14:24:47 +0000 (14:24 +0000)]
making progress...

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

24 years agobuild the XML utility stuff now (req'd by the DAV code)
Greg Stein [Sat, 1 Jul 2000 14:14:15 +0000 (14:14 +0000)]
build the XML utility stuff now (req'd by the DAV code)

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

24 years agoconfig magic for enabling DAV, Expat, and SDBM.
Greg Stein [Sat, 1 Jul 2000 14:08:25 +0000 (14:08 +0000)]
config magic for enabling DAV, Expat, and SDBM.
*) AP_LIBS contains the target .a files from src/lib/
*) AP_LIB_DIRS contains add'l directories (besides pcre and apr) that we
   will build (and generate Makefiles for)
*) apache_need_expat and apache_need_sdbm are two new configure feature
   macros; set by the DAV stuff as needed
*) hackery to deal with dav/fs/ since it isn't really a module
*) do endian testing, so we can feed it into Expat to optimize that code

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

24 years agono need for relative includes. the directories will be added to the
Greg Stein [Sat, 1 Jul 2000 14:02:52 +0000 (14:02 +0000)]
no need for relative includes. the directories will be added to the
    compilation by the configure system.

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

24 years agoadd some basic infrastructure to sdbm. update expat-lite's
Greg Stein [Sat, 1 Jul 2000 14:01:37 +0000 (14:01 +0000)]
add some basic infrastructure to sdbm. update expat-lite's

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

24 years agoautoconf gives us WORDS_BIGENDIAN. a bit more of our magic for whether we
Greg Stein [Sat, 1 Jul 2000 13:56:00 +0000 (13:56 +0000)]
autoconf gives us WORDS_BIGENDIAN. a bit more of our magic for whether we
    even know the byte order one way or another.

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

24 years agobrand new Makefile.in to work in the Apache 2.0 config/build system
Greg Stein [Sat, 1 Jul 2000 13:54:50 +0000 (13:54 +0000)]
brand new Makefile.in to work in the Apache 2.0 config/build system

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

24 years agobring up to date with respect to Apache 1.3 src/lib/expat-lite/
Greg Stein [Sat, 1 Jul 2000 11:33:02 +0000 (11:33 +0000)]
bring up to date with respect to Apache 1.3 src/lib/expat-lite/

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

24 years agoRemove iol_socket.c from OS/2 build after Ryans's cleanup.
Brian Havard [Sat, 1 Jul 2000 04:09:29 +0000 (04:09 +0000)]
Remove iol_socket.c from OS/2 build after Ryans's cleanup.

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

24 years agoRemove ap_get_server_conf() from the MPM's that implement. The only place
Ryan Bloom [Fri, 30 Jun 2000 21:18:26 +0000 (21:18 +0000)]
Remove ap_get_server_conf() from the MPM's that implement.  The only place
this function was ever called was inside the MPM's, and not all of the
MPM's actually had the function.  This is part of another round of common
code clean-up.

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

24 years agoCast a vote
Jim Jagielski [Fri, 30 Jun 2000 21:11:26 +0000 (21:11 +0000)]
Cast a vote

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

24 years agoFix the problem with ./buildconf not working right out of CVS. The
Ryan Bloom [Fri, 30 Jun 2000 19:57:49 +0000 (19:57 +0000)]
Fix the problem with ./buildconf not working right out of CVS.  The
general problem, is that we were using AC_CONFIG_AUX_DIR_DEFAULT, which
the autoconf source says shouldn't be called directly.  It should be
called using AC_REQUIRE, but I couldn't make that work.  So, since we know
exactly where the files that we are looking for are located, we'll just
point autoconf directly to them, and ignore all of the hoops.  :-)

I am not convinced the AC_CONFIG_AUX_DIR(.) call that I am using is
strictly necessary, but it doesn't cause any problems and it logically
makes sense.

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

24 years agoCombine some common code. Before this, all platforms implemented their
Ryan Bloom [Fri, 30 Jun 2000 18:08:13 +0000 (18:08 +0000)]
Combine some common code.  Before this, all platforms implemented their
own iol_sockets using APR.  This just combines all of that code to a
common file and moves that file to main.  I have tested this with all of
the Unix MPM's, but I am willing to bet I missed something (Makefiles) for
Windows, and possibly moving some code for OS/2 and BeOS.

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

24 years agoI am removing my veto and stepping away from this discussion for at least
Ryan Bloom [Fri, 30 Jun 2000 14:45:15 +0000 (14:45 +0000)]
I am removing my veto and stepping away from this discussion for at least
two days.  This does NOT mean I like the patch at all, it just means I have
no desire to continue with this discussion right now.  Because I have no
plans to respond to any more e-mail on the topic currently, I have no right
to veto a patch.

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

24 years agoalways include limits.h for the INT_MAX value.
Greg Stein [Thu, 29 Jun 2000 00:53:38 +0000 (00:53 +0000)]
always include limits.h for the INT_MAX value.

Submitted by: Jeff Trawick

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

24 years agoFirst cut at getting mod_mmap_static function into mod_file_cache. My intent is to
Bill Stoddard [Wed, 28 Jun 2000 19:19:46 +0000 (19:19 +0000)]
First cut at getting mod_mmap_static function into mod_file_cache. My intent is to
retire mod_mmap_static.

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

24 years agoRemove the config stuff from the STATUS file. I believe the configuration
Ryan Bloom [Wed, 28 Jun 2000 16:55:45 +0000 (16:55 +0000)]
Remove the config stuff from the STATUS file.  I believe the configuration
in 2.0 is as clean as it's going to get now.  Most of the cruft has been
removed.  Any more changes that are needed to make the configure system
work can easily be added within the current configuration framework.

Also, update CHANGES to reflect the recent changes to the config system.

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

24 years agoFinish the Configuration cleanup. This basically merges all of the
Ryan Bloom [Wed, 28 Jun 2000 16:31:02 +0000 (16:31 +0000)]
Finish the Configuration cleanup.  This basically merges all of the
autoconf scripts that APR provides for other programs into apr_common.m4.
Other programs can then just include that file to get the APR checks that
are required.
Submitted by: Sascha Schumann <sascha@schumann.cx>

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

24 years agoUpdate mod_file_cache to use ap_core_translate. mod_file_cache is essentially identical
Bill Stoddard [Wed, 28 Jun 2000 14:46:01 +0000 (14:46 +0000)]
Update mod_file_cache to use ap_core_translate.  mod_file_cache is essentially identical
to mod_mmap_static now. Time to merge the two together...

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

24 years agoInclude strings.h for strcasecmp(), strncasecmp(), and bzero().
Jeff Trawick [Wed, 28 Jun 2000 14:33:48 +0000 (14:33 +0000)]
Include strings.h for strcasecmp(), strncasecmp(), and bzero().
Include time.h for time().

This removes a bunch of compiler warnings with gcc -Wall on AIX.
Submitted by: Jeff Trawick, Victor Orlikowski

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

24 years agoturn this off for now; the stuff compiles but doesn't link...
Greg Stein [Wed, 28 Jun 2000 11:42:36 +0000 (11:42 +0000)]
turn this off for now; the stuff compiles but doesn't link...

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

24 years agonote todo items to complete first pass of integration
Greg Stein [Wed, 28 Jun 2000 11:41:14 +0000 (11:41 +0000)]
note todo items to complete first pass of integration

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

24 years agoget the DAV stuff to compile for Apache 2.0. some unpleasantries are in
Greg Stein [Wed, 28 Jun 2000 11:23:53 +0000 (11:23 +0000)]
get the DAV stuff to compile for Apache 2.0. some unpleasantries are in
    there, but it *does* compile.

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

24 years agoinitial whack at the config/build stuff.
Greg Stein [Wed, 28 Jun 2000 09:49:11 +0000 (09:49 +0000)]
initial whack at the config/build stuff.

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

24 years agofirst, obvious step: alter the license/copyright on all mod_dav files.
Greg Stein [Wed, 28 Jun 2000 09:21:40 +0000 (09:21 +0000)]
first, obvious step: alter the license/copyright on all mod_dav files.

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

24 years agoinitial checkin of the new Apache DAV code. this is a pristine copy of
Greg Stein [Wed, 28 Jun 2000 08:55:58 +0000 (08:55 +0000)]
initial checkin of the new Apache DAV code. this is a pristine copy of
mod_dav 1.0.1 (tag "V1_0_1" in the mod_dav CVS repository).

For historical information about these files, see the (old) mod_dav web
site at http://www.webdav.org/mod_dav/. CVS repository information can
be located from those pages.

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

24 years ago Whoops... will be needing this exported rsn for mod_mmap_static. But the
William A. Rowe Jr [Wed, 28 Jun 2000 07:55:44 +0000 (07:55 +0000)]
  Whoops... will be needing this exported rsn for mod_mmap_static.  But the
  argument to register hook fn takes a __cdecl function, so _NONSTD it is.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago Hook functions aren't translated (and when they are, they are _NONSTD)...
William A. Rowe Jr [Wed, 28 Jun 2000 04:52:39 +0000 (04:52 +0000)]
  Hook functions aren't translated (and when they are, they are _NONSTD)...
  but you don't need to export a function you will pass by ref to a
  register hook function.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoFix the configure process. This does a couple of things to allow APR and
Ryan Bloom [Tue, 27 Jun 2000 23:12:23 +0000 (23:12 +0000)]
Fix the configure process.  This does a couple of things to allow APR and
Apache to share information.

1)  Move the calling of APR after Apache decides which MPM is run, but
    before Apache generates the Makefiles and related files.  This allows
    Apache to setup the threading cache values, while still allowing APR
    to generate APRVARS in time for Apache to use it.

2)  Setup the cache files correctly for RUN_NOW configured subdirectories.

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

24 years agoFix another compiler warning. Forgot to commit this one along with the
Bill Stoddard [Tue, 27 Jun 2000 22:39:13 +0000 (22:39 +0000)]
Fix another compiler warning. Forgot to commit this one along with the
earlier patch. Sorry...
Submitted by: Victor Orlikowski
Reviewed by:  Bill Stoddard

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

24 years agoFix compiler warning on AIX
Bill Stoddard [Tue, 27 Jun 2000 22:37:36 +0000 (22:37 +0000)]
Fix compiler warning on AIX
Submitted by:  Victor Orlikowski
Reviewed by:   Bill Stoddard

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

24 years agoPass the configure args to sub_configure scripts with the RUN_NOW macro.
Ryan Bloom [Tue, 27 Jun 2000 22:35:53 +0000 (22:35 +0000)]
Pass the configure args to sub_configure scripts with the RUN_NOW macro.

This allows people to specify --disable-threads on Apache's configure
command line, and APR respects it.  This is the first step to fixing a
problem introduced by making Apache call APR's configure script before
making any config decisions.

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

24 years agoFix compile warning on AIX
Bill Stoddard [Tue, 27 Jun 2000 22:35:40 +0000 (22:35 +0000)]
Fix compile warning on AIX

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

24 years agoUse libtool to compile instead of cc. If we are going to use libtool,
Ryan Bloom [Tue, 27 Jun 2000 22:25:12 +0000 (22:25 +0000)]
Use libtool to compile instead of cc.  If we are going to use libtool,
we may as well go all the way.
Submitted by: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
Reviewed by: Ryan Bloom

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

24 years agoStill a sunny day.
Ryan Bloom [Tue, 27 Jun 2000 22:01:04 +0000 (22:01 +0000)]
Still a sunny day.

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

24 years agosunny? yet again?
Greg Stein [Tue, 27 Jun 2000 21:51:11 +0000 (21:51 +0000)]
sunny? yet again?

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

24 years agoMove the checks for bcopy and memmove down to APR. APR now defines memmove
Ryan Bloom [Tue, 27 Jun 2000 21:35:27 +0000 (21:35 +0000)]
Move the checks for bcopy and memmove down to APR.  APR now defines memmove
and bzero on platforms that do not natively support them.

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