]>
granicus.if.org Git - apache/log
Greg Ames [Fri, 2 Nov 2001 15:17:06 +0000 (15:17 +0000)]
insure that we die quickly without looping etc. if somebody messes up
*readbytes again.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91726
13f79535 -47bb-0310-9956-
ffa450edef68
Ken Coar [Thu, 1 Nov 2001 20:14:16 +0000 (20:14 +0000)]
More style-stuff. A lot of this doesn't qualify as 'readable' even so.. :-(
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91721
13f79535 -47bb-0310-9956-
ffa450edef68
Ken Coar [Thu, 1 Nov 2001 16:06:21 +0000 (16:06 +0000)]
Some style-guide fixes (nothing functional)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91719
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 1 Nov 2001 05:12:46 +0000 (05:12 +0000)]
Fix a typo and URL. [Gotta get this keyboard cleaned.]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91718
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 1 Nov 2001 04:56:59 +0000 (04:56 +0000)]
Make this a bit more formal, as in httpd.conf. Also should cite the
contributor, but only Ralf knows who all should be the primary citation,
if not simply "the modssl project". I don't know if this conf is all
new material, significantly created by the modssl project, or if much
of it goes all the way back to ApacheSSL. Rather that miss-attribute,
I'm leaving line one for someone else [Ralf?] to add, vis-a-vie the
citation in httpd-std.conf line 2.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91717
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 1 Nov 2001 00:05:58 +0000 (00:05 +0000)]
Since we are in a file that is only included with mod_ssl.c and
there is no point in any of it if SSL is not defined, just wrap
the whole thing in one IfDefine.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91716
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Wed, 31 Oct 2001 22:55:43 +0000 (22:55 +0000)]
whoops! can't use the return code to pass the length up the filter chain.
with this and a request line that goes on forever, I now get:
[Wed Oct 31 17:45:45 2001] [error] [client 127.0.0.1] request failed:
URI too long
...in the error log, and a 414 in the access log.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91715
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Wed, 31 Oct 2001 21:14:23 +0000 (21:14 +0000)]
change ap_getline to return the size of the buffer when there's no apparent end
to an input line. This is more like the 1.3 behavior which should help the
callers recognize this condition.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91714
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Wed, 31 Oct 2001 20:18:56 +0000 (20:18 +0000)]
return the actual number of bytes read when we're in "read a line" mode and it
looks like the line may never end.
This lets ap_getline determine whether there's excessive bytes or not,
depending on the size of its caller's buffers. If the buffer can accomodate
more bytes, ap_getline will continue to read.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91713
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Wed, 31 Oct 2001 18:31:50 +0000 (18:31 +0000)]
One down...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91712
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Wed, 31 Oct 2001 18:21:53 +0000 (18:21 +0000)]
Fix a big memory leak bug related to arbitrarily large header lines.
The core input filter would happily consume all the data you gave it
in a header line, looking for that one LF. This patch limits that
"getline" functionality to HUGE_STRING_LEN (8192 bytes).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91711
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Wed, 31 Oct 2001 18:18:34 +0000 (18:18 +0000)]
add my public key
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91708
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 31 Oct 2001 15:50:53 +0000 (15:50 +0000)]
Introduce an Apache mod_ssl initial configuration template
(ssl.conf, generated from ssl-std.conf). [Ralf S. Engelschall]
Revised Cliff's intro paragraph to point folks at docs until
docs are provided. [Will Rowe]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91707
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Wed, 31 Oct 2001 15:35:34 +0000 (15:35 +0000)]
Bad link.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91706
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Wed, 31 Oct 2001 15:11:05 +0000 (15:11 +0000)]
Typo fix.
PR: 8556
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91705
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Wed, 31 Oct 2001 07:18:47 +0000 (07:18 +0000)]
2.0.27 has been tagged.
2.0.26 has been discarded.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91703
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Wed, 31 Oct 2001 05:37:06 +0000 (05:37 +0000)]
Stick a comment into this file so it's clear that it's a placeholder
and not just a zero-byte thingy. :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91702
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Wed, 31 Oct 2001 03:43:25 +0000 (03:43 +0000)]
bumping release number to 2.0.28-dev after tag
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91701
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Wed, 31 Oct 2001 03:25:03 +0000 (03:25 +0000)]
bump release number to 2.0.27
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91700
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Tue, 30 Oct 2001 22:35:04 +0000 (22:35 +0000)]
Add key.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91697
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Tue, 30 Oct 2001 19:21:41 +0000 (19:21 +0000)]
make sure that the HTTP_IN filter is in place across internal redirects.
Without this, we see an extra socket read + timeout on POSTs. If the client
sends in another request, we loop consuming memory.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91695
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Tue, 30 Oct 2001 17:38:03 +0000 (17:38 +0000)]
Fix typos...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91694
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 29 Oct 2001 23:06:22 +0000 (23:06 +0000)]
Updated NetWare project file
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91693
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 29 Oct 2001 23:01:46 +0000 (23:01 +0000)]
NetWare MPM cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91692
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 29 Oct 2001 22:56:42 +0000 (22:56 +0000)]
Added NETWARE to the #ifdef list
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91691
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 29 Oct 2001 22:55:13 +0000 (22:55 +0000)]
Fix up exit() to make sure that things are cleaned up properly on error
conditions
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91690
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 29 Oct 2001 22:52:53 +0000 (22:52 +0000)]
Conf file cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91689
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Mon, 29 Oct 2001 19:25:08 +0000 (19:25 +0000)]
Mixed tabs and spaces within many nexted {}-less if-else expressions
can be very difficult to read. No logic was changed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91688
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 29 Oct 2001 18:26:59 +0000 (18:26 +0000)]
Bring it up-to-date while I'm a'fixin
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91686
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Mon, 29 Oct 2001 15:45:53 +0000 (15:45 +0000)]
Via: header truncation bugfix.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91683
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Mon, 29 Oct 2001 15:44:03 +0000 (15:44 +0000)]
Fix a truncation bug in how we print the port on the Via: header.
The routine that prints the Via: header now takes a length for
the port string.
Submitted by: Zvi Har'El <rl@math.technion.ac.il>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91682
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 29 Oct 2001 15:19:03 +0000 (15:19 +0000)]
Use the _setn flavor which will avoid strdup'ing these strings, and
skip the cleanups we don't need.
Submitted by: Brian Pane <bpane@pacbell.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91681
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 29 Oct 2001 01:07:31 +0000 (01:07 +0000)]
get proto for atoi()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91678
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sat, 27 Oct 2001 22:22:00 +0000 (22:22 +0000)]
Fix some broken links, change to the simplest possible example, and add a
couple notes to give hints to people running servers behind port-forwarding
firewalls.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91676
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 27 Oct 2001 14:01:13 +0000 (14:01 +0000)]
make shared libraries executable so they work on HP-UX
(I'm not sure that this logic for copying DSOs will survive
in the libtool scheme; I'm putting this 1.3 fix in just in
case.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91675
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 27 Oct 2001 13:36:57 +0000 (13:36 +0000)]
Some syntax errors in mod_mime_magic's magic file can result
in a 500 error. Log the error so that it isn't so darn
mysterious.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91674
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 27 Oct 2001 13:00:55 +0000 (13:00 +0000)]
ignore checkgid
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91673
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Fri, 26 Oct 2001 19:39:51 +0000 (19:39 +0000)]
Fix RedirectMatch handling to properly handle URLs with host portions.
Previously, we would segfault if no path is specified (case 1 below).
We would also ignore any host and scheme portion of the URL (which is
how we specify it on daedalus), so restore that capability.
The query strings will still not be escaped (standards cops can
determine if this is correct behavior).
The following directives now work as expected:
RedirectMatch /jakarta1(.*) http://jakarta.apache.org$1
RedirectMatch /jakarta2(.*) http://jakarta.apache.org/dist$1
RedirectMatch /jakarta3(.*) http://jakarta.apache.org/dist$1?bar=foo
RedirectMatch /jakarta4(.*) http://jakarta.apache.org/dist$1?bar=foo#spaz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91672
13f79535 -47bb-0310-9956-
ffa450edef68
Ken Coar [Fri, 26 Oct 2001 18:33:22 +0000 (18:33 +0000)]
Document the addition of checkgid to 2.0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91670
13f79535 -47bb-0310-9956-
ffa450edef68
Ken Coar [Fri, 26 Oct 2001 18:30:57 +0000 (18:30 +0000)]
Bring forward checkgid helper from 1.3; checks runtime
validity of httpd Group directive-style group identifiers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91669
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Fri, 26 Oct 2001 15:40:04 +0000 (15:40 +0000)]
prevent seg faults in mod_status trying to access vhost structures from
the former generation, after a restart. It happens mostly when the MPM has
threads.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91667
13f79535 -47bb-0310-9956-
ffa450edef68
Ralf S. Engelschall [Fri, 26 Oct 2001 07:45:35 +0000 (07:45 +0000)]
update my entry
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91664
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Fri, 26 Oct 2001 02:59:26 +0000 (02:59 +0000)]
No such thing as APACI anymore. :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91661
13f79535 -47bb-0310-9956-
ffa450edef68
Ken Coar [Thu, 25 Oct 2001 20:36:10 +0000 (20:36 +0000)]
Style-guide fixes, no functional changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91660
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Thu, 25 Oct 2001 15:37:53 +0000 (15:37 +0000)]
More cleanup on the pre-build script
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91659
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Wed, 24 Oct 2001 17:20:44 +0000 (17:20 +0000)]
Two more mod_so configure-time fixes:
- Treat --enable-so=yes as "static" (this includes --enable-so, etc).
- An explicit --enable-so=shared issues an error.
Put in a note about the last condition that I'm not as sure how to fix:
If the user doesn't explicitly request mod_so, but instead gives a
mass-enable parameter like --enable-modules=most or
--enable-mods-shared=most then it is still possible to enable a bunch
of modules while mod_so itself is not buildable (ie no APR_HAS_DSO or
other build dependency failure).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91658
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Wed, 24 Oct 2001 15:33:16 +0000 (15:33 +0000)]
I guess this does deserve a CHANGES entry since the problem spanned
versions...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91657
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Tue, 23 Oct 2001 23:49:59 +0000 (23:49 +0000)]
Get rid of an old .cvsignore file so this directory will get pruned
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91656
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 23 Oct 2001 23:33:46 +0000 (23:33 +0000)]
Updated to the new locking API's
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91655
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 23 Oct 2001 23:32:07 +0000 (23:32 +0000)]
Fixed to import the aprlib module and export the httpd api's
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91654
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 23 Oct 2001 23:29:50 +0000 (23:29 +0000)]
Modified to correctly extract the export lists
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91653
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Tue, 23 Oct 2001 23:13:27 +0000 (23:13 +0000)]
If the user explicitly requests --enable-so, --enable-so=yes,
--enable-so=static, or --enable-so=shared but APR_HAS_DSO is
not defined on their system, then it is a fatal error.
Tested on Solaris, but I think it should work everywhere else.
Feel free to change the error message to something
better/more descriptive/etc.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91652
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Tue, 23 Oct 2001 21:02:03 +0000 (21:02 +0000)]
Just some style peeves. Tabs and spaces and whatnot.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91651
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 23 Oct 2001 20:46:02 +0000 (20:46 +0000)]
set the c->aborted flag when we get EPIPE
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91650
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 23 Oct 2001 20:43:57 +0000 (20:43 +0000)]
don't lose the return code from ap_fwrite() when called from buffer_output()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91649
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Tue, 23 Oct 2001 17:30:07 +0000 (17:30 +0000)]
Fix the reporting for child processes that die. This removes
all of the non-portable W* macros from Apache.
Submitted by: Jeff Trawick and Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91648
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Tue, 23 Oct 2001 17:26:57 +0000 (17:26 +0000)]
adjust for the change to SuExec's default install directory
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91647
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 23 Oct 2001 17:13:26 +0000 (17:13 +0000)]
Win32: Track and display "Parent Server Generation:" in
mod_status output. The generation will be bumped at
server graceful restart, when the child process exits
by hitting MaxRequestsPerChild or if the child
process exits abnormally. [Bill Stoddard]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91646
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Tue, 23 Oct 2001 09:41:54 +0000 (09:41 +0000)]
Fix a segfault seen on daedalus earlier this evening. All that was happening
was that we forgot to check whether ctx->bb was empty, so when we pulled the
first bucket, it would be the sentinel, and we'd segfault trying to apr_bucket_read
the sentinel.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91641
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Mon, 22 Oct 2001 20:17:34 +0000 (20:17 +0000)]
Refresh of the name-vhosting docs.
Reviewed by: Allan Liska
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91640
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 22 Oct 2001 18:29:45 +0000 (18:29 +0000)]
Scripts for setting up the build environment and generating the import lists
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91638
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 22 Oct 2001 17:57:26 +0000 (17:57 +0000)]
Win32: Fix server-status 'requests currently being processed' and 'idle workers'
displays.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91637
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 22 Oct 2001 17:39:24 +0000 (17:39 +0000)]
Code Warrior project file for building the httpd server for NetWare
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91636
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 22 Oct 2001 16:08:37 +0000 (16:08 +0000)]
Win32: Running out of threads should be a warning, not an error.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91634
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 22 Oct 2001 15:20:22 +0000 (15:20 +0000)]
NetWare doesn't have processes so no need to detach something that
doesn't exist
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91633
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 22 Oct 2001 13:04:12 +0000 (13:04 +0000)]
Fix some bungling of the remote port in rfc1413.c so that
IdentityCheck retrieves the proper user id instead of failing
and thus always returning "nobody."
Submitted by: Dick Streefland <Dick.Streefland@xs4all.nl>
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91632
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 22 Oct 2001 12:46:29 +0000 (12:46 +0000)]
Remerge proxy configuration. Tally: of 9 votes;
Majority for segregating mod_ssl
Minority for segregating mod_proxy
Also remove a lingering bit of ldap config from httpd-std.conf
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91631
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 22 Oct 2001 04:36:46 +0000 (04:36 +0000)]
Fix two typos in the last patch... compiles/tests clean... Greg, please
run this against Apache.org until the first core and post the results.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91625
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 22 Oct 2001 04:25:27 +0000 (04:25 +0000)]
Perhaps fix the segfault... my earlier patch didn't since we already
memcpy'ed the base into the merged per-dir config.
This certainly cleans up that function though, and I hope increases
it's legibility.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91624
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 21 Oct 2001 17:56:36 +0000 (17:56 +0000)]
Reading commit log messages can be very helpful for noting inconsistent
comments... no code is hurt in this commit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91623
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 21 Oct 2001 17:48:21 +0000 (17:48 +0000)]
The test of filename[0] == '/' is very evil ;)
More patches required to;
1. use apr_filepath_merge rather than apr_pstrcat for creating proper
and canonical paths.
2. untangle the proxy: fooness that no longer works in directory_walk.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91622
13f79535 -47bb-0310-9956-
ffa450edef68
Ken Coar [Sun, 21 Oct 2001 15:57:59 +0000 (15:57 +0000)]
Style-guide compliance changes only, no functional differences.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91619
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 21 Oct 2001 06:37:25 +0000 (06:37 +0000)]
Grab this pointer, before it goes NULL
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91618
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 21 Oct 2001 06:32:47 +0000 (06:32 +0000)]
For Win32 cgi %1 arguments, use backslashes. For $1, use posix slashes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91617
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 21 Oct 2001 05:59:10 +0000 (05:59 +0000)]
On second thought, we like our dot, alot.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91616
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 21 Oct 2001 04:18:15 +0000 (04:18 +0000)]
Round out const'ness
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91615
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 21 Oct 2001 04:17:42 +0000 (04:17 +0000)]
First Patch! [Well, my own typo.]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91614
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 21 Oct 2001 04:14:24 +0000 (04:14 +0000)]
Reimplement Win32 registry-based and shebang-extended scripting.
Accepts arguments of $* and %* for 'positioned' cgi envvars, provided they
stand alone (aren't part of another arg.)
Accepts %1 $1 syntax, quoted or not, but makes no attempt at palacating
older programs with short paths, just yet.
About as stable and robust as my first rewrite of dir_walk, so watch out!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91613
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 21 Oct 2001 01:24:35 +0000 (01:24 +0000)]
Thread saftey lock for mod_rewrite's cache... I'm sure others will have
some 'better ideas' but this will work for now.
Submitted by: Brian Pane <bpane@pacbell.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91612
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 21 Oct 2001 01:17:11 +0000 (01:17 +0000)]
Simplified mod_env's directives to behave as most directives are
expected, in that UnsetEnv will not unset a SetEnv and PassEnv
directive following that UnsetEnv within the same container.
Also provides a runtime startup warning if a PassEnv configured
environment value is undefined.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91611
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 20 Oct 2001 20:43:37 +0000 (20:43 +0000)]
Fix a nasty GP fault... stop testing buckets after they are passed!!!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91610
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 20 Oct 2001 18:54:54 +0000 (18:54 +0000)]
Restrict by content type and encoding before we go and try to drag in some
text to merge as headers and footers to autoindex pages. This will escape
index.gif from a bold attempt to use IndexHeader index ;)
Also pass in the args to the subrequest, for anyone trying to decode what
the user is looking at. A great example of this coming up.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91609
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 20 Oct 2001 18:29:09 +0000 (18:29 +0000)]
Canonicalize all absolute <Directory > sections, not simply those that
fail to end in a '/'. Slash test is afterwords, once we've canonicalized
any '\' and other aliases to '/'.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91608
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Sat, 20 Oct 2001 18:27:15 +0000 (18:27 +0000)]
Oh, don't you love buffer overflows?
We need to allocate storage space for the terminating NULL AND the extra /
we may tack on to the string at some point.
How in the hell the stars were aligned for this to corrupt newv via the
strcat at line 580 is unknown.
Resolves segfault seen on daedalus.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91607
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 20 Oct 2001 17:16:51 +0000 (17:16 +0000)]
ap_run_child_init is not an optional function ;)
Consistify a variable name with the rest of httpd
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91604
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Sat, 20 Oct 2001 14:56:03 +0000 (14:56 +0000)]
Win32: A bit more MaxRequestsPerChild cleanup. Now it should work on
Win 9x as well.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91603
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Fri, 19 Oct 2001 23:45:39 +0000 (23:45 +0000)]
Missed some error messages in the switch to the new lock system. Added
the proc_mutex header for the sake of consistency.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91582
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Fri, 19 Oct 2001 23:38:01 +0000 (23:38 +0000)]
Ugh, at least this got me away from the AIX build system for awhile...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91581
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Fri, 19 Oct 2001 23:36:55 +0000 (23:36 +0000)]
The worker MPM is now completely ported to APR's new lock API. It
uses native APR types for thread mutexes, cross-process mutexes,
and condition variables. Who's next?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91580
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Fri, 19 Oct 2001 23:32:43 +0000 (23:32 +0000)]
Use the APR's new OS-specific proc mutex accessors -- they are used
here to set permissions on SysV Semaphores. MPMs will be modified to
call this new function as they are ported to the new APR lock API.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91579
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 19 Oct 2001 21:11:03 +0000 (21:11 +0000)]
Win32: ap_max_requests_per_child should not be a local static in mpm_winnt.c.
This was preventing the MaxRequestsPerChild config directive from working
properly.
Handle MaxRequestsPerChild a bit more sanely. When MaxRequestsPerChild is hit,
the child signals an event that causes the main child thread to signal the parent
to restart.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91578
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 19 Oct 2001 21:08:43 +0000 (21:08 +0000)]
More missing .h goodies
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91577
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 19 Oct 2001 20:30:16 +0000 (20:30 +0000)]
maxrequestsperchild should default to 0 on windows.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91576
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Fri, 19 Oct 2001 06:11:52 +0000 (06:11 +0000)]
Hey, we tagged 2.0.26. =)
We're now waiting for it to be discarded or we need to bump the tag on
server/core.c. And, we need to fix the proc_wait thing to someone's
satisfaction.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91573
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Fri, 19 Oct 2001 06:08:05 +0000 (06:08 +0000)]
King of Love seems to be playing on my xmms right now...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91572
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Fri, 19 Oct 2001 06:05:39 +0000 (06:05 +0000)]
Remove all references to the Port directive and replace it with
appropriate links to the Listen directive.
If I had known that so many files had the Port directive in it, I would
have bundled this up as one big commit. *sigh* I just kept looking
and finding new files, fixing, and committing. So, this should be the
rest of them for now.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91571
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Fri, 19 Oct 2001 06:00:52 +0000 (06:00 +0000)]
Just browsing...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91569
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Fri, 19 Oct 2001 05:57:47 +0000 (05:57 +0000)]
Remove the reference to Port directive and replace it with Listen.
Who knows if the rest of this file is still valid?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91568
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Fri, 19 Oct 2001 05:53:53 +0000 (05:53 +0000)]
Remove Port references
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91567
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Fri, 19 Oct 2001 05:52:07 +0000 (05:52 +0000)]
Remove references to Port directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91566
13f79535 -47bb-0310-9956-
ffa450edef68