]>
granicus.if.org Git - apache/log
Yoshiki Hayashi [Fri, 19 Jan 2001 01:36:31 +0000 (01:36 +0000)]
Forward port OtherBill's fix from 1.3.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87727
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 18 Jan 2001 23:54:14 +0000 (23:54 +0000)]
When is a void fn(void) not a void fn(void)? It's a win32'ism, since
the APR_DECLARE (excluding _NONSTD) uses the pascal convention. Really
irrelevant in a function that never needs to clean up (atexit), but
the compiler complains. Possible workarounds, but that would break
non-c lanaguge code from linking into apr.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87726
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 18 Jan 2001 23:52:03 +0000 (23:52 +0000)]
Some missing exports
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87725
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 18 Jan 2001 23:47:16 +0000 (23:47 +0000)]
Fixups to build the whole shebang once again.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87724
13f79535 -47bb-0310-9956-
ffa450edef68
Tony Finch [Thu, 18 Jan 2001 22:36:58 +0000 (22:36 +0000)]
Bring forward from 1.3:
I broke mod_rewrite by modifying strings in place when expanding them,
because variable lookups can cause subrequests which cause mod_rewrite
to do its stuff again including an expansion on the same string, which
is then syntactically invalid. So copy the lookup keys somewhere else
before using them in such a way that may cause recursion.
In addition to this, my parser could also be confused by complicated
nested rewrite map expansions like ${map1:${map2:key|dflt}|dflt} so
fix that too by keeping track of {} when looking for |.
PR: 7087
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87723
13f79535 -47bb-0310-9956-
ffa450edef68
Tony Finch [Thu, 18 Jan 2001 21:04:44 +0000 (21:04 +0000)]
Fix the RFC number mentioned when complaining about a missing
Host: header.
PR: 7079
Submitted by: Alexey Toptygin <alexeyt@wam.umd.edu>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87717
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Thu, 18 Jan 2001 20:11:25 +0000 (20:11 +0000)]
handy alias
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87716
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 18 Jan 2001 19:49:29 +0000 (19:49 +0000)]
This change eliminates the intermediate httpd.lib from the build of
libhttpd.dll - it was required for the support applications to avoid
linking to the libhttpd.dll, but those functions have all moved to
apr and apr-util.
This change also prepares us to eliminate libhttpd.def once all of the
appropriate AP_DECLARE tags are assigned.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87715
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 18 Jan 2001 19:48:13 +0000 (19:48 +0000)]
Vancouver is rainy and cold today. Better stay indoors.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87714
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 18 Jan 2001 19:42:15 +0000 (19:42 +0000)]
Add html versions of unix man pages. Clearly, some of the man pages
have not been updated for 2.0. I will regenerate these html files
after the man pages are updated.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87713
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 18 Jan 2001 19:16:38 +0000 (19:16 +0000)]
what weather?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87712
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Thu, 18 Jan 2001 15:04:55 +0000 (15:04 +0000)]
Remove a typedef that doesn't seem to be used.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87711
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 18 Jan 2001 14:02:55 +0000 (14:02 +0000)]
fix the declaration of the register-hooks function in the remaining
MPMs... Ryan fixed prefork.c yesterday
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87710
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Thu, 18 Jan 2001 08:54:02 +0000 (08:54 +0000)]
New Japanese translation by Minoru Yamazato <yamazato@geocities.co.jp>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87704
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 18 Jan 2001 01:24:47 +0000 (01:24 +0000)]
Add an ApacheToday (Rich Bowen) tutorial on mod_access and a nice
discussion by Alan J. Flavell on some language-negotiation issues.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87701
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Thu, 18 Jan 2001 00:02:52 +0000 (00:02 +0000)]
Fix prefork MPM
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87700
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 17 Jan 2001 22:04:45 +0000 (22:04 +0000)]
Provide apr_pool_t arg to register_hooks, since anything they do in that
step -must- be done with a pool that will not outlive the cmd pool, from
which they may have been dynamically loaded.
This needs further review, it's committed only as a stopgap for those
who's builds I broke, sorry. Review tbc late this evening.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87699
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 17 Jan 2001 15:52:12 +0000 (15:52 +0000)]
Provide apr_pool_t arg to register_hooks, since anything they do in that
step -must- be done with a pool that will not outlive the cmd pool, from
which they may have been dynamically loaded.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87697
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Tue, 16 Jan 2001 02:33:16 +0000 (02:33 +0000)]
Remove reference to srm.conf and access.conf which was forward ported
by my previous commit.
Suggested by Joshua Slive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87694
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 15 Jan 2001 20:23:12 +0000 (20:23 +0000)]
fix a warning on platforms where <strings.h> is needed for str[n]casecmp()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87693
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 15 Jan 2001 20:22:30 +0000 (20:22 +0000)]
fix a warning on platforms where apr_size_t isn't int
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87692
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 15 Jan 2001 20:21:28 +0000 (20:21 +0000)]
mention mod_dav in the description of the ap_http_filter() fix in case
other folks were hitting a problem with mod_dav and need an excuse to
upgrade
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87691
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 15 Jan 2001 19:50:13 +0000 (19:50 +0000)]
avoid warnings on systems where apr_size_t isn't int and where
strings.h is needed for the str[n]casecmp() declaration
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87690
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 15 Jan 2001 18:01:48 +0000 (18:01 +0000)]
Fix an endless loop in ab which occurred when ab was posting
and the server dropped the connection unexpectedly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87689
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Mon, 15 Jan 2001 17:06:28 +0000 (17:06 +0000)]
Change everything to The Apache Software License 1.1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87686
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 15 Jan 2001 15:40:17 +0000 (15:40 +0000)]
Fix a segfault in ap_http_filter(). I hit the segfault while
discarding the body of a request, but it could affect other paths.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87684
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Mon, 15 Jan 2001 08:58:14 +0000 (08:58 +0000)]
Backport documentation about Include som-dir usage from 1.3.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87683
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 13 Jan 2001 23:30:53 +0000 (23:30 +0000)]
That's not a -D'ef - its an envar - you can't pass foo=bar in apache!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87682
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 13 Jan 2001 05:09:02 +0000 (05:09 +0000)]
Eliminate a warning, pid is an int.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87681
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 13 Jan 2001 04:26:04 +0000 (04:26 +0000)]
Lay it on the table
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87680
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 13 Jan 2001 01:50:49 +0000 (01:50 +0000)]
Clearly the last patch is the -wrong- solution for awk... so I'm backing
it out; we need to find another way to help gnu awk users
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87678
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 12 Jan 2001 15:48:26 +0000 (15:48 +0000)]
Fix a comment
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87673
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 12 Jan 2001 14:32:38 +0000 (14:32 +0000)]
Add a note about the ap_r* problem with regard to buckets
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87672
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 12 Jan 2001 14:28:17 +0000 (14:28 +0000)]
open_postfile():
fix some return codes along the lines of OtherBill's comment
fix some bad conditional logic for when to check if we read the
wrong number of bytes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87671
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Fri, 12 Jan 2001 12:18:10 +0000 (12:18 +0000)]
Fix a problem found by Ryan when deleting collections, which triggered an
underlying (broad) bug. dav_add_response() was assuming the walk params were
a dav_walker_ctx. During the walker cleanup in Nov00, that assumption was
removed, so response errors that occurred in the cleaned sections (such as
dav_fs_delete_resource) could trigger a segfault.
Solution: add a pool to dav_walk_resource and alter dav_add_response to use
that, rather than assume the ctx is a dav_walker_ctx.
[ note there is also a pool in dav_walk_resource.resource, but that pool is
associated with the *resource* rather than the process of walking, so we
introduced another field. currently they are the same, however. ]
Found by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87670
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Fri, 12 Jan 2001 10:22:52 +0000 (10:22 +0000)]
I only suggested a scheme. Ryan did the work.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87669
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 12 Jan 2001 04:44:47 +0000 (04:44 +0000)]
Not the best explanation, but at least the start of one
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87668
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 12 Jan 2001 04:16:37 +0000 (04:16 +0000)]
Document the changes in how
hints.m4 works and the additional of NOTEST_*
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87667
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 12 Jan 2001 04:10:02 +0000 (04:10 +0000)]
Get some sleep. sh != C
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87666
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 12 Jan 2001 04:08:51 +0000 (04:08 +0000)]
Avoid confusion at times when someone may
expect it to be reapplied, but it isn't
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87665
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 12 Jan 2001 03:38:28 +0000 (03:38 +0000)]
Build was broken on some pure unixish awks, this fixes.
Obtained from: new-httpd
Submitted by: Roman Neuhauser
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87664
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 12 Jan 2001 01:08:22 +0000 (01:08 +0000)]
Remove a couple more NULL handler specifications.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87662
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 12 Jan 2001 00:56:13 +0000 (00:56 +0000)]
Stop using environment variables to set ONE_PROCESS and NO_DETACH. Now
we use the -D command line argument to Apache to configure these
options.
Submitted by: Greg Stein
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87661
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 12 Jan 2001 00:24:40 +0000 (00:24 +0000)]
Per suggestion, tuck NOTEST_* in config_vars.mk. Yep, I changed
the name. NONAC_* causes autoconf to complain loud and long.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87660
13f79535 -47bb-0310-9956-
ffa450edef68
Tony Finch [Thu, 11 Jan 2001 23:29:16 +0000 (23:29 +0000)]
note that rewrite map expansions work in rewriteconds
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87659
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 11 Jan 2001 20:14:04 +0000 (20:14 +0000)]
get rid of an unused variable
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87658
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Thu, 11 Jan 2001 19:48:38 +0000 (19:48 +0000)]
My bad... don't need the quotes here
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87657
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Thu, 11 Jan 2001 19:44:48 +0000 (19:44 +0000)]
Fold into all Makefiles
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87656
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Thu, 11 Jan 2001 19:25:29 +0000 (19:25 +0000)]
Begining stub of NONAC_LDFLAGS and NONAC_CFLAGS stuff.
First of all, avoid re-adding values to the various hints
each time called (not a problem now, but could be later).
Then build up CFLAGS/LDFLAGS during Makefile generation.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87655
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Thu, 11 Jan 2001 18:50:09 +0000 (18:50 +0000)]
It is not sufficient to reset the file pointer before each call to ap_send_fd. A better solution
is to make certain that only apr_sendfile() will be used to send content with a cached file handle.
This assumes that apr_sendfile() should not rely on the position of the file pointer. I suspect that
sendfile implementations that rely on the position of the file pointer are broken and we should not
use sendfile on those platforms.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87654
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Thu, 11 Jan 2001 15:10:10 +0000 (15:10 +0000)]
Change some INFO messages to DEBUG messages. Cleanup some message wording.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87653
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Thu, 11 Jan 2001 06:17:00 +0000 (06:17 +0000)]
Fix typo in anchor name.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87652
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Thu, 11 Jan 2001 06:12:55 +0000 (06:12 +0000)]
Fix typo in anchor. Link to mod_so.html#loadmodule instead of mod_so.html
for LoadModule directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87651
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Thu, 11 Jan 2001 06:10:50 +0000 (06:10 +0000)]
Add a quick note about external modules.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87650
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 11 Jan 2001 00:58:00 +0000 (00:58 +0000)]
back out the previous change, which broke FreeBSD 3.4, OS/390, Tru64,
BeOS, and perhaps other platforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87649
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Wed, 10 Jan 2001 21:38:36 +0000 (21:38 +0000)]
Fix a typo in an example and make a slight clarification in the
TransferLog docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87648
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Wed, 10 Jan 2001 20:33:02 +0000 (20:33 +0000)]
"Well, hello! Gay now!"
-- Willow, from Buffy the Vampire Slayer
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87647
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 10 Jan 2001 19:48:08 +0000 (19:48 +0000)]
update some references to the old prefix/libexec directory
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87646
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 10 Jan 2001 19:23:25 +0000 (19:23 +0000)]
only handle the request if server-info is the handler
Submitted by: Greg Stein
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87645
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Wed, 10 Jan 2001 18:36:08 +0000 (18:36 +0000)]
Tidy up the beos mpm a little.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87643
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 10 Jan 2001 17:31:04 +0000 (17:31 +0000)]
get mod_info working again (mostly)
(I guess I should simply zap the code to list the handlers
for each module?)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87642
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Wed, 10 Jan 2001 01:04:53 +0000 (01:04 +0000)]
Libtool takes care of the lib prefix so get rid of our own workaround.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87639
13f79535 -47bb-0310-9956-
ffa450edef68
Ken Coar [Tue, 9 Jan 2001 22:55:13 +0000 (22:55 +0000)]
This sets an example for this type of module, so let's make sure
it uses our own guidelines.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87636
13f79535 -47bb-0310-9956-
ffa450edef68
Ken Coar [Tue, 9 Jan 2001 22:53:05 +0000 (22:53 +0000)]
Minor typo fix.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87635
13f79535 -47bb-0310-9956-
ffa450edef68
Allan K. Edwards [Tue, 9 Jan 2001 21:38:35 +0000 (21:38 +0000)]
use AP_HOOK_LAST for this module. This may or may not be the final
solution but it is at least more correct.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87634
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Tue, 9 Jan 2001 19:28:33 +0000 (19:28 +0000)]
Fix a compile break with the new APR libtool setup. Basically, we are
using a libtool library from MM, but it isn't getting linked into the
Apache executable, so we fail the link stage. This makes APR
publicize the libtool libraries that it uses, so that Apache can link
them in.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87633
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Tue, 9 Jan 2001 16:35:08 +0000 (16:35 +0000)]
Fix a compile break related to the apr libtool change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87632
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Tue, 9 Jan 2001 11:35:51 +0000 (11:35 +0000)]
a couple tweaks to get Apache building with the new libtool-ized APR
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87631
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 9 Jan 2001 05:12:40 +0000 (05:12 +0000)]
get rid of some invalid errno references; use the apr_status_t instead
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87630
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 9 Jan 2001 05:03:42 +0000 (05:03 +0000)]
use the apr_status_t instead of errno
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87629
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 9 Jan 2001 04:48:18 +0000 (04:48 +0000)]
get rid of a non-portable use of errno
don't return errno as an error flag after an APR function fails; return
something guaranteed to be non-zero on all platforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87628
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 9 Jan 2001 04:40:22 +0000 (04:40 +0000)]
get rid of some bogus uses of perror()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87627
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 9 Jan 2001 04:36:39 +0000 (04:36 +0000)]
fix some handler brokenness
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87626
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 9 Jan 2001 04:20:56 +0000 (04:20 +0000)]
fix some handler brokenness so that dexter doesn't segfault at startup
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87624
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 9 Jan 2001 04:09:43 +0000 (04:09 +0000)]
get rid of a bogus use of perror()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87623
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Tue, 9 Jan 2001 03:26:21 +0000 (03:26 +0000)]
Reference to the docs project.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87622
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Tue, 9 Jan 2001 03:24:50 +0000 (03:24 +0000)]
This is the second in a series of clean-ups of the
environment variable docs. Here is what I have done:
1. Removed some obsolete CERN references and done a tiny
bit of cleanup of mod_env.html.
2. Included references from mod_env.html and mod_setenvif.html
to env.html.
3. Prettied-up env.html a little bit by including sub-headings.
4. Added some "caveats" to env.html:
- No overriding basic CGI variables
- suexec restrictions
- no non-alphanumeric characters in env variable names
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87621
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 9 Jan 2001 00:27:03 +0000 (00:27 +0000)]
get rid of some bogus uses of perror()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87620
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 9 Jan 2001 00:08:13 +0000 (00:08 +0000)]
use ap_strcmp_match and fix pattern typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87618
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Mon, 8 Jan 2001 23:55:12 +0000 (23:55 +0000)]
adjust remaining modules to use the new handler hook method (Alan Edwards)
bring back the old handler prototype by reusing r->handler (dougm)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87617
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Mon, 8 Jan 2001 23:07:04 +0000 (23:07 +0000)]
fix handlers->hooks compile breakage
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87614
13f79535 -47bb-0310-9956-
ffa450edef68
Sascha Schumann [Mon, 8 Jan 2001 23:01:47 +0000 (23:01 +0000)]
Set MKDIR for APR's RUN_SUBDIR_CONFIG_NOW macro.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87613
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Mon, 8 Jan 2001 13:32:16 +0000 (13:32 +0000)]
Handlers now use hooks, remove handlers entry from module data.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87611
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Mon, 8 Jan 2001 13:25:02 +0000 (13:25 +0000)]
Fix message when the error log file can't be opened.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87610
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Mon, 8 Jan 2001 08:23:13 +0000 (08:23 +0000)]
seems nobody is using sethostent()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87609
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Sun, 7 Jan 2001 23:04:15 +0000 (23:04 +0000)]
Keep Greg happy.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87608
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Sun, 7 Jan 2001 22:45:26 +0000 (22:45 +0000)]
Strip trailing stuff from mime types.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87607
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Sun, 7 Jan 2001 20:54:39 +0000 (20:54 +0000)]
Note hooks->handlers change.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87605
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Sun, 7 Jan 2001 19:55:59 +0000 (19:55 +0000)]
Make handlers use hooks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87604
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Sun, 7 Jan 2001 16:37:12 +0000 (16:37 +0000)]
For some reason the chartables.c target requires a full path.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87603
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 7 Jan 2001 05:51:23 +0000 (05:51 +0000)]
Stop leaking sockets. This is a minimal leak, but it was there.
Basically, we were creating a socket_t, but never assigning a port or
IP address to it. We then re-read the config file, and search the
list of allocated sockets for the socket that we have already allocated
for this port, but we never find the port and address, because we never
stored them in the socket_t. This was keeping the Listen directive from
working properly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87601
13f79535 -47bb-0310-9956-
ffa450edef68
dgaudet [Sat, 6 Jan 2001 21:47:49 +0000 (21:47 +0000)]
- add some missing distclean targets
- use DISTCLEAN_TARGETS and CLEAN_TARGETS everywhere (to be consistent
with other macros and with APR)
- warn that aclocal.m4 is a generated file
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87597
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 6 Jan 2001 20:10:55 +0000 (20:10 +0000)]
Move ap_generic_hook from the Apache include directory to the apr-util
include directory. The hooks themselves are implemented by apr-util,
instead of Apache. This removes a few warnings when compiled in
maintainer-mode that have been bothering me.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87595
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Sat, 6 Jan 2001 14:23:14 +0000 (14:23 +0000)]
This file needs to be renamed from config.m4 to config5.m4 to allow
the ordering to work correctly otherwise it breaks the build. It didn't
seem possible to move the file in CVS so I've added a new copy and
deleted the original. It's such a simple file if we don't have the history
it's not an issue!
Submitted by: Ryan Bloom <rbb@covalent.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87594
13f79535 -47bb-0310-9956-
ffa450edef68
Allan K. Edwards [Fri, 5 Jan 2001 20:44:44 +0000 (20:44 +0000)]
add pool parameter to ap_is_directory and ap_is_rdirectory
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87593
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 5 Jan 2001 19:40:05 +0000 (19:40 +0000)]
Stop copying file names that we get from apr_file_t's and apr_dir_t's.
We copy the data when we store it in the structures, we can just return
a pointer from there, and use const data. This puts the onus back on
Apache to copy the data if it needs to modify it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87592
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Fri, 5 Jan 2001 16:38:24 +0000 (16:38 +0000)]
Add a needed header file. This is another of the patches I've had for
a while but forgot to commit... Doh!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87591
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Fri, 5 Jan 2001 14:32:31 +0000 (14:32 +0000)]
As we now use pools in the logging of the failure to get a hostname,
use ap_log_perror() as per Brians suggestion.
Submitted by: Brian Havard <brianh@kheldar.apana.org.au>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87590
13f79535 -47bb-0310-9956-
ffa450edef68
Allan K. Edwards [Thu, 4 Jan 2001 22:37:27 +0000 (22:37 +0000)]
eliminate entries from libhttpd.def that are also in libaprutil.def
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87587
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Thu, 4 Jan 2001 21:53:27 +0000 (21:53 +0000)]
This stops a segfault on my machine where I haven't got a hostname for
the function to find.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87586
13f79535 -47bb-0310-9956-
ffa450edef68