Re: cvs commit: httpd-2.0/server core.c protocol.c request.c scoreboard.c util.c util_script.c

2004-10-25 Thread Allan Edwards
Brad Nicholes wrote: -1 as well. This is now causing compiler errors on NetWare. Please revert this patch! Can you provide an indication of exactly what broke so we will know what to avoid in future. Or was the breakage actually due to the the mod_cache problem reported last night? Thanks, Allan

Re: cvs commit: httpd-2.0/server core.c protocol.c request.c scoreboard.c util.c util_script.c

2004-10-25 Thread Brad Nicholes
mod_cache is a different issue. The compiler used to build the netware NLMs is very sensitive to type mismatches. @@ -3793,7 +3794,7 @@ core_net_rec *net = f-ctx; core_ctx_t *ctx = net-in_ctx; const char *str; -apr_size_t len; +apr_ssize_t len;

Re: cvs commit: httpd-2.0/server core.c protocol.c request.c scoreboard.c util.c util_script.c

2004-10-22 Thread Roy T . Fielding
whoa! -1 Was this even discussed on the list? You just changed the entire module API and introduced a dozen potential security holes. Why on earth is it changing nvec to apr_size_t and then downcasting its use? Why is any of this even needed? Roy On Oct 22, 2004, at 8:22 AM, [EMAIL

Re: cvs commit: httpd-2.0/server core.c protocol.c request.c scoreboard.c util.c util_script.c

2004-10-22 Thread Allan Edwards
Roy T. Fielding wrote: whoa! -1 Was this even discussed on the list? You just changed the entire module API and introduced a dozen potential security holes. The precursor to this patch [PATCH] WIN64: httpd API changes was posted 10/7 so I thought we had had suitable time for discussion. I have

Re: cvs commit: httpd-2.0/server core.c protocol.c request.c scoreboard.c util.c util_script.c

2004-10-22 Thread Roy T. Fielding
The precursor to this patch [PATCH] WIN64: httpd API changes was posted 10/7 so I thought we had had suitable time for discussion. I have addressed the one issue that was raised. That explains why I didn't see it -- I was in Switzerland. There have also been several other threads on the httpd apr

Re: cvs commit: httpd-2.0/server core.c protocol.c request.c scoreboard.c uti...

2004-10-22 Thread TOKILEY
Roy is right... Willy-nilly throwing casts on data objects just to satisfy some anal-retentive urge to not see any warnings appearing during a compile is the absolute WRONG thing to do when it comes to porting 32-bit code to 64-bit platforms. The situation is NOT as simple as it was when

Re: cvs commit: httpd-2.0/server core.c

2004-05-17 Thread Bill Stoddard
[EMAIL PROTECTED] wrote: jorton 2004/05/17 08:24:31 Modified:server core.c Log: * server/core.c (core_output_filter): Don't explicitly delete the EOC bucket, and don't buffer the brigade if it ends in an EOC. Won't this change result in a memory leak? Bill

Re: cvs commit: httpd-2.0/server core.c

2004-05-17 Thread Joe Orton
On Mon, May 17, 2004 at 01:06:04PM -0400, Bill Stoddard wrote: [EMAIL PROTECTED] wrote: jorton 2004/05/17 08:24:31 Modified:server core.c Log: * server/core.c (core_output_filter): Don't explicitly delete the EOC bucket, and don't buffer the brigade if it ends in an EOC.

Re: cvs commit: httpd-2.0/server core.c

2004-04-11 Thread Geoffrey Young
[EMAIL PROTECTED] wrote: nd 2004/04/10 11:40:53 Modified:server core.c Log: ErrorDocument default changes broke inheritance. consider: Directory /foo ErrorDocument 404 blah /Directory DIrectory /foo/bar ErrorDocument 500 boo # 404 is now fallen

Re: cvs commit: httpd-2.0/server core.c

2004-04-10 Thread Joshua Slive
On Sat, 10 Apr 2004 [EMAIL PROTECTED] wrote: nd 2004/04/10 14:44:43 Modified:.CHANGES server core.c Log: accept URLs as ServerAdmin contact. If it's not recognized as an URL, assume an email address and prepend it with mailto: in server

Re: cvs commit: httpd-2.0/server core.c

2004-04-10 Thread Andr Malo
* Joshua Slive [EMAIL PROTECTED] wrote: Modified:.CHANGES server core.c Log: accept URLs as ServerAdmin contact. If it's not recognized as an URL, assume an email address and prepend it with mailto: in server outputs. Careful with this, since I

Re: cvs commit: httpd-2.0/server core.c

2004-04-08 Thread Geoffrey Young
[EMAIL PROTECTED] wrote: geoff 2004/04/08 17:56:26 Modified:.CHANGES server core.c Log: Enable special ErrorDocument value 'default' which restores the canned server response for the scope of the directive. if this stays in 2.1 it will need

Re: cvs commit: httpd-2.0/server core.c

2004-04-08 Thread Joshua Slive
On Thu, 8 Apr 2004, Geoffrey Young wrote: [EMAIL PROTECTED] wrote: geoff 2004/04/08 17:56:26 Modified:.CHANGES server core.c Log: Enable special ErrorDocument value 'default' which restores the canned server response for the scope of the

Re: cvs commit: httpd-2.0/server core.c

2004-04-08 Thread Geoffrey Young
Just edit the .xml. (There is a big ugly note at the top of the .html.en telling you not to touch it.) Then you can build the .html.en using the instructions here: http://httpd.apache.org/docs-project/docsformat.html Or if you don't want to bother, just do the .xml and someone else will

Re: cvs commit: httpd-2.0/server core.c

2004-02-03 Thread William A. Rowe, Jr.
Uhmmm, this isn't an MMN bump :) If you were adding this new structure *type* as a member of another structure (say as the last member of the conn_rec) and the structure grew (in such a way that folks could be blindly oblivious to the fact that conn_rec just got a bit bigger), that's an MMN bump.

Re: cvs commit: httpd-2.0/server core.c

2004-02-03 Thread Cliff Woolley
On Tue, 3 Feb 2004, William A. Rowe, Jr. wrote: Uhmmm, this isn't an MMN bump :) If you were adding this new structure *type* as a member of another structure (say as the last member of the conn_rec) and the structure grew (in such a way that folks could be blindly oblivious to the fact that

Re: cvs commit: httpd-2.0/server core.c

2004-02-03 Thread Andr Malo
* Cliff Woolley [EMAIL PROTECTED] wrote: On Tue, 3 Feb 2004, William A. Rowe, Jr. wrote: Uhmmm, this isn't an MMN bump :) If you were adding this new structure *type* as a member of another structure (say as the last member of the conn_rec) and the structure grew (in such a way that

Re: cvs commit: httpd-2.0/server core.c

2003-12-10 Thread Geoffrey Young
[EMAIL PROTECTED] wrote: trawick 2003/12/10 14:40:33 Modified:.CHANGES server core.c Log: Fix Limit and LimitExcept parsing to require a closing '' in the initial container. PR:25414 Submitted by: Geoffrey Young

RE: cvs commit: httpd-2.0/server core.c request.c

2003-06-30 Thread Sander Striker
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 3:25 AM striker 2003/06/30 18:25:07 Modified:.Tag: APACHE_2_0_BRANCH CHANGES STATUS include Tag: APACHE_2_0_BRANCH http_core.h modules/http Tag:

Re: cvs commit: httpd-2.0/server core.c request.c util.c

2003-03-26 Thread Rodent of Unusual Size
William A. Rowe, Jr. wrote: The configuration and context below seems odd to me; : You haven't resolved any Directory, Files, Locations etc in the code fragment above... it's too early in the request processing cycle. It seems this should not be a dir_conf flag, but actually a

Re: cvs commit: httpd-2.0/server core.c request.c util.c

2003-03-19 Thread William A. Rowe, Jr.
coar2003/01/23 13:34:14 Modified:include ap_mmn.h http_core.h httpd.h server core.c request.c util.c Log: here we go. add a directive that will keep %2f from being decoded into '/', allowing the *_walk to do their magic and return 404 if

Re: cvs commit: httpd-2.0/server core.c request.c util.c

2003-01-23 Thread André Malo
* [EMAIL PROTECTED] wrote: Index: ap_mmn.h === RCS file: /home/cvs/httpd-2.0/include/ap_mmn.h,v retrieving revision 1.52 retrieving revision 1.53 diff -u -u -r1.52 -r1.53 --- ap_mmn.h3 Sep 2002 23:39:43

Re: cvs commit: httpd-2.0/server core.c request.c util.c

2003-01-23 Thread André Malo
* Justin Erenkrantz wrote: --On Friday, January 24, 2003 00:11:22 +0100 André Malo [EMAIL PROTECTED] wrote: + * 20020903.1 (2.0.44-dev) allow_encoded_slashes added to core_dir_config This should now be 2.0.45-dev, shouldn't it? 2.1.0-dev. -- justin *err* yes ... nd -- die (eval

Re: cvs commit: httpd-2.0/server core.c

2003-01-08 Thread Greg Ames
[EMAIL PROTECTED] wrote: gregames2002/12/09 14:19:26 Modified:.CHANGES server core.c Log: core_output_filter: re-instate the deferred_write pool patch so we don't leak fd's until the end of a keepalive connection. Thanks to: Jeff Trawick for the

Re: cvs commit: httpd-2.0/server core.c

2003-01-08 Thread Cliff Woolley
On Wed, 8 Jan 2003, Greg Ames wrote: Can I get some +1's for moving this into stable (or -1's and reasons not to do so)? - Its one month birthday is tomorrow, - it is certainly in mainline code, and - AFAIK it hasn't caused any problems since the apr_mmap ownership redesign. +1 from here

Re: cvs commit: httpd-2.0/server core.c

2002-11-12 Thread Greg Ames
[EMAIL PROTECTED] wrote: can't mix declarations and statements except with gcc 3.2 :) (or possibly RedHat 8's patches to it) ouch... Thanks for cleaning it up, Jeff. Greg

Re: cvs commit: httpd-2.0/server core.c

2002-11-08 Thread Greg Ames
[EMAIL PROTECTED] wrote: trawick 2002/11/08 05:17:09 Modified:server core.c Log: adjust some parents to make the expression a tiny bit clearer and to make gcc happy core.c: In function `core_output_filter': core.c:3884: warning: suggest parentheses around within ||

Re: cvs commit: httpd-2.0/server core.c util_script.c

2002-10-09 Thread Joe Orton
On Wed, Oct 02, 2002 at 03:54:18PM -0700, Joshua Slive wrote: On Wed, 2 Oct 2002, Marc Slemko wrote: Lets not encode env variables, as we discussed earlier. Escaping them is bogus and doesn't solve anything since there are all sorts of variables that aren't and shouldn't be encoded.

Re: cvs commit: httpd-2.0/server core.c util_script.c

2002-10-09 Thread André Malo
* Joe Orton wrote: If this change does get reverted so that SERVER_NAME is not encoded internally again, the error includes need updating so that is is encoded there instead: --- error/include/bottom.html~ 2002-07-11 20:07:03.0 +0100 +++ error/include/bottom.html 2002-10-09

Re: cvs commit: httpd-2.0/server core.c util_script.c

2002-10-02 Thread Joshua Slive
On Wed, 2 Oct 2002, Marc Slemko wrote: Lets not encode env variables, as we discussed earlier. Escaping them is bogus and doesn't solve anything since there are all sorts of variables that aren't and shouldn't be encoded. +1 to what Marc says. The encoding serves no purpose. Preventing

Re: cvs commit: httpd-2.0/server core.c util_script.c

2002-10-02 Thread William A. Rowe, Jr.
If someone reverts that -part- of the commit, and changes CHANGES to reflect this group decision, I will bring in that commit tomorrow a.m. before the final tag and roll. Sorry if I wasn't clear on the consensus decision. +1. Bill At 05:54 PM 10/2/2002, Joshua Slive wrote: On Wed, 2 Oct

Re: cvs commit: httpd-2.0/server core.c

2002-10-01 Thread rbb
On 1 Oct 2002 [EMAIL PROTECTED] wrote: gstein 2002/10/01 09:24:41 Modified:server core.c Log: Fix bug in the default handler. POST is not allowed on regular files. The resource must be handled by something *other* than the default handler. -1. This is going to

Re: cvs commit: httpd-2.0/server core.c

2002-06-27 Thread Brian Pane
[EMAIL PROTECTED] wrote: jerenkrantz2002/06/26 22:00:23 Modified:server core.c Log: - Fix segfault in core_output_filter when we are passed an empty brigade. - Stash the remainder of the brigade in more when we see a flush bucket. Previous to this commit, we would only

Re: cvs commit: httpd-2.0/server core.c

2002-06-27 Thread Justin Erenkrantz
On Wed, Jun 26, 2002 at 10:20:56PM -0700, Brian Pane wrote: Do you have a simple test case for this? I'd like to add it it to httpd-test. You already have one. =) mod_bucketeer's test portion in include.t caught it. They are now passing for me. Horray for mod_bucketeer... -- justin

Re: cvs commit: httpd-2.0/server core.c protocol.c

2002-06-26 Thread Jeff Trawick
[EMAIL PROTECTED] writes: jerenkrantz2002/06/26 12:45:08 Modified:.CHANGES include ap_mmn.h httpd.h modules/arch/win32 mod_isapi.c modules/http http_core.c http_protocol.c http_request.c modules/loggers

Re: cvs commit: httpd-2.0/server core.c

2002-06-14 Thread rbb
On 15 Jun 2002 [EMAIL PROTECTED] wrote: rbb 2002/06/14 22:49:06 Modified:.CHANGES server core.c Log: Make the default_handler catch all requests that aren't served by another handler. This also gets us to return a 404 if a directory is

config handling (was: Re: cvs commit: httpd-2.0/server core.c)

2002-05-20 Thread Greg Stein
On Sat, May 18, 2002 at 12:32:20PM -0500, William A. Rowe, Jr. wrote: ... Ok, segfault is gone. So is some validation that ServerRoot occured in a global context. Actually, that means that LoadModule and others are not tested to be in the global context either. (see further below) ...

Re: config handling (was: Re: cvs commit: httpd-2.0/server core.c)

2002-05-20 Thread Scott Hess
On Mon, 20 May 2002, Greg Stein wrote: On Sat, May 18, 2002 at 12:32:20PM -0500, William A. Rowe, Jr. wrote: On Win32, we load-unload-reload the parent, then load-unload-reload the child config. Losing both redundant unload-load sequences will be a huge win at startup. Yup. If we

Re: config handling (was: Re: cvs commit: httpd-2.0/server core.c)

2002-05-20 Thread William A. Rowe, Jr.
At 07:31 PM 5/20/2002, Scott Hess wrote: On Mon, 20 May 2002, Greg Stein wrote: On Sat, May 18, 2002 at 12:32:20PM -0500, William A. Rowe, Jr. wrote: On Win32, we load-unload-reload the parent, then load-unload-reload the child config. Losing both redundant unload-load sequences will

Re: cvs commit: httpd-2.0/server core.c

2002-05-18 Thread Cliff Woolley
On 18 May 2002 [EMAIL PROTECTED] wrote: to work around problematic configs. So I'm reverting those changes, for now. Thanks. ServerRoot is global only, and it MUST be read immediately, so that part of the last patch stays. Mmm, nope, sorry, but that one has to go, too.

Re: cvs commit: httpd-2.0/server core.c

2002-05-18 Thread William A. Rowe, Jr.
wrowe 02/05/18 10:22:24 Modified:server core.c Log: Resolve the EXEC_ON_READ bit for ServerRoot and other modules that test the directive context. Should eliminate the segfault. Ok, segfault is gone. So is some validation that ServerRoot occured in a global

Re: cvs commit: httpd-2.0/server core.c

2002-05-18 Thread William A. Rowe, Jr.
At 12:19 PM 5/18/2002, you wrote: On 18 May 2002 [EMAIL PROTECTED] wrote: to work around problematic configs. So I'm reverting those changes, for now. Thanks. ServerRoot is global only, and it MUST be read immediately, so that part of the last patch stays. Mmm, nope,

Re: cvs commit: httpd-2.0/server core.c

2002-05-18 Thread Cliff Woolley
On Sat, 18 May 2002, William A. Rowe, Jr. wrote: ServerRoot is global only, and it MUST be read immediately, so that part of the last patch stays. Mmm, nope, sorry, but that one has to go, too. No, it has to stay. However, I think I have an adaquate solution in the last

Re: cvs commit: httpd-2.0/server core.c

2002-05-17 Thread Cliff Woolley
On 17 May 2002 [EMAIL PROTECTED] wrote: wrowe 02/05/17 12:34:53 Modified:server core.c Log: We need to grab ServerRoot, LogLevel, and ErrorLog right off the bat as we are reading the config. This closes a bug where ServerRoot /foo + LoadModule

Re: cvs commit: httpd-2.0/server core.c protocol.c

2002-05-10 Thread Brian Pane
Jeff Trawick wrote: +AP_DECLARE(void) ap_setup_make_content_type(apr_pool_t *pool); What's up with this? This has to go in a header file included by both core.c and protocol.c. It's fixed now (I moved the declaration to http_protocol.h and wrapped it in #ifdef CORE_PRIVATE) --Brian

Re: cvs commit: httpd-2.0/server core.c

2002-04-30 Thread Greg Ames
Roy T. Fielding wrote: I don't understand why you didn't simply reverse the test and enclose the frequent case inside the if {} block. D'oh! of course! commit coming shortly. I assume it was just to avoid indenting a large block of code, which is not sufficient

Re: cvs commit: httpd-2.0/server core.c

2002-04-26 Thread Roy T. Fielding
I don't understand why you didn't simply reverse the test and enclose the frequent case inside the if {} block. I assume it was just to avoid indenting a large block of code, which is not sufficient justification for a goto. A goto often has unforeseen effects on high-level optimizations that

Re: cvs commit: httpd-2.0/server core.c

2002-04-25 Thread Greg Ames
Bill Stoddard wrote: Please lets not go overboard with these types of optimizations. This could get out of control quickly. Having code that is easy to read, understand and maintain is -much- more important than saving a a few extra cycles. In a previous job where I had a lot of low

Re: cvs commit: httpd-2.0/server core.c

2002-04-25 Thread Bill Stoddard
Bill Stoddard wrote: Please lets not go overboard with these types of optimizations. This could get out of control quickly. Having code that is easy to read, understand and maintain is -much- more important than saving a a few extra cycles. In a previous job where I had a lot of low

Re: cvs commit: httpd-2.0/server core.c

2002-04-24 Thread Bill Stoddard
Please lets not go overboard with these types of optimizations. This could get out of control quickly. Having code that is easy to read, understand and maintain is -much- more important than saving a a few extra cycles. Bill - Original Message - From: [EMAIL PROTECTED] To: [EMAIL

Re: cvs commit: httpd-2.0/server core.c

2002-04-24 Thread Justin Erenkrantz
On Wed, Apr 24, 2002 at 02:31:29PM -, [EMAIL PROTECTED] wrote: gregames02/04/24 07:31:28 Modified:server core.c Log: default_handler: short circuit the method checks. Move the code to deal with unusual methods to the end of function to reduce i-cache clutter. Can't

Re: cvs commit: httpd-2.0/server core.c

2002-03-05 Thread Bill Stoddard
Greg, Please do not mix function change with code style changes. Bill gregames02/03/05 07:46:21 Modified:server core.c Log: fix Directory ~ blah containers. also, eradicate a few nefarious tabs which were found lurking in the vicinity. Submitted by: Rob

Filter Breakage is Re: cvs commit: httpd-2.0/server core.c

2002-03-04 Thread Justin Erenkrantz
On Mon, Mar 04, 2002 at 09:20:03AM -, [EMAIL PROTECTED] wrote: jerenkrantz02/03/04 01:20:03 Modified:server core.c Log: Ensure that net_time filter isn't added on subreqs - we assume that it is added on !r-main requests. This led to infinite loop/SEGV when dealing

RE: Filter Breakage is Re: cvs commit: httpd-2.0/server core.c

2002-03-04 Thread Ryan Bloom
I now have two further problems 1) Since fast_redirect() is called from a hook, but all hooks are run on this new request - it is possible that some hooks are left to be run from the original request This causes a problem for the AddOutputFilterByType hook (core_filters_type) since it is

Re: Filter Breakage is Re: cvs commit: httpd-2.0/server core.c

2002-03-04 Thread Justin Erenkrantz
On Mon, Mar 04, 2002 at 07:07:03AM -0800, Ryan Bloom wrote: I now have two further problems 1) Since fast_redirect() is called from a hook, but all hooks are run on this new request - it is possible that some hooks are left to be run from the original request This causes a problem for

Re: cvs commit: httpd-2.0/server core.c

2002-02-26 Thread Rodent of Unusual Size
Ryan Bloom wrote: I don't care how de-stabilized the code base becomes. That's a very alarming thing to read. Making perchild work is one thing. Warping, or even just tweaking, common code in order to make perchild work is something else again. -- #kenP-)} Ken Coar,

RE: cvs commit: httpd-2.0/server core.c

2002-02-26 Thread Ryan Bloom
Ryan Bloom wrote: I don't care how de-stabilized the code base becomes. That's a very alarming thing to read. Making perchild work is one thing. Warping, or even just tweaking, common code in order to make perchild work is something else again. If you read the statement in

Re: cvs commit: httpd-2.0/server core.c

2002-02-26 Thread Rodent of Unusual Size
Ryan Bloom wrote: I also disagree that just tweaking common code should be a problem. Perhaps most importantly though, I don't think the changes for perchild will extend beyond the MPM. That's cool, then. However, it *does* seem that recently (last few months) there tends to be a lot of

Re: cvs commit: httpd-2.0/server core.c

2002-02-26 Thread Dale Ghent
On Tue, 26 Feb 2002, Rodent of Unusual Size wrote: | Unlike others here, I'm not emotionally invested in getting 2.0 | out soon. If it takes a few more months for it to be Ready, | that's fine with me. I think there are some interested parties | that would rather have it released sooner than

Re: cvs commit: httpd-2.0/server core.c

2002-02-26 Thread Brian Pane
Dale Ghent wrote: On Tue, 26 Feb 2002, Rodent of Unusual Size wrote: | Unlike others here, I'm not emotionally invested in getting 2.0 | out soon. If it takes a few more months for it to be Ready, | that's fine with me. I think there are some interested parties | that would rather have it

RE: cvs commit: httpd-2.0/server core.c

2002-02-25 Thread Ryan Bloom
RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP: + +* With AP_MODE_EXHAUSTIVE in the core, it is finally clear to me + how the Perchild MPM should be re-written. It hasn't worked + correctly since filters were added because it wasn't possible to

RE: cvs commit: httpd-2.0/server core.c

2002-02-25 Thread Ryan Bloom
RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP: + +* With AP_MODE_EXHAUSTIVE in the core, it is finally clear to me + how the Perchild MPM should be re-written. It hasn't worked + correctly since filters were added because it wasn't

RE: cvs commit: httpd-2.0/server core.c

2002-02-25 Thread Ryan Bloom
RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP: + +* With AP_MODE_EXHAUSTIVE in the core, it is finally clear to me + how the Perchild MPM should be re-written. It hasn't worked + correctly since filters were added because it wasn't possible to +

Re: cvs commit: httpd-2.0/server core.c

2002-02-25 Thread Aaron Bannert
On Sun, Feb 24, 2002 at 11:29:30PM -0800, Brian Pane wrote: [EMAIL PROTECTED] wrote: RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP: + +* With AP_MODE_EXHAUSTIVE in the core, it is finally clear to me + how the Perchild MPM should be re-written. It hasn't

Re: cvs commit: httpd-2.0/server core.c

2002-02-25 Thread Sander van Zoest
On Sun, 24 Feb 2002, Brian Pane wrote: [EMAIL PROTECTED] wrote: RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP: + +* With AP_MODE_EXHAUSTIVE in the core, it is finally clear to me + how the Perchild MPM should be re-written. It hasn't worked +

Re: cvs commit: httpd-2.0/server core.c

2002-02-25 Thread Brian Pane
Ryan Bloom wrote: RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP: + +* With AP_MODE_EXHAUSTIVE in the core, it is finally clear to me + how the Perchild MPM should be re-written. It hasn't worked + correctly since filters were added because it wasn't possible

Re: cvs commit: httpd-2.0/server core.c

2002-02-25 Thread Austin Gonyou
I agree that documentation should cover this, but it should also be displayed in the ./configure if someone chooses that, to say, display a warning at the end of the configure or some such thing. At least there'd be an I told you so in there. On Mon, 2002-02-25 at 19:31, Joshua Slive wrote:

Re: cvs commit: httpd-2.0/server core.c

2002-02-24 Thread Brian Pane
[EMAIL PROTECTED] wrote: RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP: + +* With AP_MODE_EXHAUSTIVE in the core, it is finally clear to me + how the Perchild MPM should be re-written. It hasn't worked + correctly since filters were added because it

Re: cvs commit: httpd-2.0/server core.c

2002-02-21 Thread Cliff Woolley
On 21 Feb 2002 [EMAIL PROTECTED] wrote: e = apr_bucket_file_create(fd, 0, AP_MAX_SENDFILE, r-pool); while (fsize AP_MAX_SENDFILE) { -APR_BRIGADE_INSERT_TAIL(bb, e); -apr_bucket_copy(e, e); +apr_bucket *ce; +

Re: cvs commit: httpd-2.0/server core.c

2002-02-21 Thread William A. Rowe, Jr.
From: Cliff Woolley [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 12:28 PM On 21 Feb 2002 [EMAIL PROTECTED] wrote: e = apr_bucket_file_create(fd, 0, AP_MAX_SENDFILE, r-pool); while (fsize AP_MAX_SENDFILE) { -APR_BRIGADE_INSERT_TAIL(bb, e);

Re: cvs commit: httpd-2.0/server core.c

2002-02-21 Thread Cliff Woolley
On Thu, 21 Feb 2002, Cliff Woolley wrote: At first I thought this was giving a duplicate copy of the first bucket, but then I realized that by moving the INSERT call down, you've avoided that problem. However, aren't we leaking e? Oh, I see it. Nevermind. Sometimes I wish diff -u would

Re: cvs commit: httpd-2.0/server core.c

2002-02-19 Thread Jeff Trawick
[EMAIL PROTECTED] writes: jerenkrantz02/02/18 20:45:53 Modified:.CHANGES include ap_mmn.h http_core.h server core.c Log: Introduce AddOutputFilterByType directive. AddOutputFilterByType DEFLATE text/html Why does this warrant

Re: cvs commit: httpd-2.0/server core.c

2002-02-19 Thread Justin Erenkrantz
On Tue, Feb 19, 2002 at 12:52:01PM -0500, Jeff Trawick wrote: [EMAIL PROTECTED] writes: jerenkrantz02/02/18 20:45:53 Modified:.CHANGES include ap_mmn.h http_core.h server core.c Log: Introduce AddOutputFilterByType

RE: cvs commit: httpd-2.0/server core.c

2002-02-19 Thread Ryan Bloom
On Tue, Feb 19, 2002 at 12:52:01PM -0500, Jeff Trawick wrote: [EMAIL PROTECTED] writes: jerenkrantz02/02/18 20:45:53 Modified:.CHANGES include ap_mmn.h http_core.h server core.c Log: Introduce AddOutputFilterByType

Re: cvs commit: httpd-2.0/server core.c

2002-02-19 Thread Justin Erenkrantz
On Tue, Feb 19, 2002 at 03:25:23PM -0800, Ryan Bloom wrote: Core_dir_config should be a private structure, so it doesn't require a MMN bump. Just looking at when MMN has been bumped before, it looks like almost all changes to core_dir_config have been followed by MMN bump. Why have people

Re: cvs commit: httpd-2.0/server core.c

2002-02-18 Thread William A. Rowe, Jr.
From: [EMAIL PROTECTED] Sent: Monday, February 18, 2002 10:45 PM jerenkrantz02/02/18 20:45:53 Modified:.CHANGES include ap_mmn.h http_core.h server core.c Log: Introduce AddOutputFilterByType directive. AddOutputFilterByType

Re: cvs commit: httpd-2.0/server core.c

2002-02-06 Thread Justin Erenkrantz
On Wed, Feb 06, 2002 at 04:16:55PM -, [EMAIL PROTECTED] wrote: trawick 02/02/06 08:16:55 Modified:server core.c Log: yet another tweak to empty brigade checking on entry to core_input_filter(): since APR_BRIGADE_EMPTY() assumes a non-empty brigade, we have to

Re: cvs commit: httpd-2.0/server core.c

2002-02-06 Thread Cliff Woolley
On Wed, 6 Feb 2002, Justin Erenkrantz wrote: You mean APR_BRIGADE_NORMALIZE assumes a non-empty brigade, right? -- justin Yeah... must have been a typo. Boy do I hate normalize... makes me need another cup of coffee just thinking about it. :) Normalize is definitely next on my hitlist.

Re: cvs commit: httpd-2.0/server core.c

2002-02-06 Thread Jeff Trawick
Justin Erenkrantz [EMAIL PROTECTED] writes: On Wed, Feb 06, 2002 at 04:16:55PM -, [EMAIL PROTECTED] wrote: trawick 02/02/06 08:16:55 ... An obvious variation of this fix would be to change APR_BRIGADE_NORMALIZE() to deal with empty brigades. You mean APR_BRIGADE_NORMALIZE

Re: cvs commit: httpd-2.0/server core.c

2002-02-05 Thread Jeff Trawick
Justin Erenkrantz [EMAIL PROTECTED] writes: On Tue, Feb 05, 2002 at 10:56:44PM -, [EMAIL PROTECTED] wrote: trawick 02/02/05 14:56:44 Modified:.CHANGES server core.c Log: In core_input_filter, check for an empty brigade after

Re: cvs commit: httpd-2.0/server core.c

2002-01-29 Thread Bill Stoddard
I suspect something is messed up in your build. f-ctx (and net-c) are both initialized in the core_install_transport_filters(conn_rec *c, apr_socket_t *csd) call. It compiles and serves pages cleanly for me. Can you verify if core_install_transport_filters is being run? Bill [EMAIL

Re: cvs commit: httpd-2.0/server core.c

2002-01-29 Thread Jeff Trawick
Bill Stoddard [EMAIL PROTECTED] writes: I suspect something is messed up in your build. never :) (seriously... I spend most of my day watching make extraclean scroll by... even after a config file change) All I gotta say is: #0 core_output_filter (f=0x40615fec, b=0x405ddff4) at

Re: cvs commit: httpd-2.0/server core.c

2002-01-29 Thread Jeff Trawick
Bill Stoddard [EMAIL PROTECTED] writes: I suspect something is messed up in your build. f-ctx (and net-c) are both initialized in the core_install_transport_filters(conn_rec *c, apr_socket_t *csd) call. It compiles and serves pages cleanly for me. Can you verify if

Re: cvs commit: httpd-2.0/server core.c

2002-01-29 Thread Bill Stoddard
Message - From: Jeff Trawick [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 29, 2002 9:54 PM Subject: Re: cvs commit: httpd-2.0/server core.c Bill Stoddard [EMAIL PROTECTED] writes: I suspect something is messed up in your build. f-ctx (and net-c) are both initialized

Re: cvs commit: httpd-2.0/server core.c

2002-01-29 Thread Jeff Trawick
Bill Stoddard [EMAIL PROTECTED] writes: Compiles but not tested. it works for me... -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: cvs commit: httpd-2.0/server core.c

2002-01-29 Thread Bill Stoddard
Bill Stoddard [EMAIL PROTECTED] writes: Compiles but not tested. it works for me... Just tested it on Windows. Bombs w/o the patch. Ok with. Committing. Bill

Re: cvs commit: httpd-2.0/server core.c

2002-01-03 Thread Bill Stoddard
On Wed, Jan 02, 2002 at 05:15:34PM -0500, Bill Stoddard wrote: This patch breaks the proxy. Specifically, anyone who uses ap_proxy_make_fake_req(). Get a seg fault in ap_get_limit_req_body because r-per_dir_config is NULL. I'll spend some time on this tomorrow unless someone wants

Re: cvs commit: httpd-2.0/server core.c

2002-01-03 Thread Ryan Bloom
On Thursday 03 January 2002 05:16 am, Bill Stoddard wrote: On Wed, Jan 02, 2002 at 05:15:34PM -0500, Bill Stoddard wrote: This patch breaks the proxy. Specifically, anyone who uses ap_proxy_make_fake_req(). Get a seg fault in ap_get_limit_req_body because r-per_dir_config is NULL.

Re: cvs commit: httpd-2.0/server core.c

2002-01-03 Thread Bill Stoddard
Here is the problem with this patch... (or with proxy's use of HTTP_IN)... ap_http_filter is called to read -responses- from the proxied server. This patch makes an implicit assumption that HTTP_IN is only being used to read requests. So, we either need to create a whole new filter stack for

Re: cvs commit: httpd-2.0/server core.c

2002-01-03 Thread Ryan Bloom
On Thursday 03 January 2002 09:50 am, Bill Stoddard wrote: Here is the problem with this patch... (or with proxy's use of HTTP_IN)... ap_http_filter is called to read -responses- from the proxied server. This patch makes an implicit assumption that HTTP_IN is only being used to read

Re: cvs commit: httpd-2.0/server core.c

2002-01-03 Thread William A. Rowe, Jr.
From: Ryan Bloom [EMAIL PROTECTED] Sent: Thursday, January 03, 2002 10:14 AM On Thursday 03 January 2002 05:16 am, Bill Stoddard wrote: Is it valid for r-per_dir_config to be null? Hmm. I wonder if ap_get_limit_req_body should be fixed to handle this case instead of

Re: cvs commit: httpd-2.0/server core.c

2002-01-03 Thread Bill Stoddard
From: Ryan Bloom [EMAIL PROTECTED] Sent: Thursday, January 03, 2002 10:14 AM On Thursday 03 January 2002 05:16 am, Bill Stoddard wrote: Is it valid for r-per_dir_config to be null? Hmm. I wonder if ap_get_limit_req_body should be fixed to handle this case instead of

Re: cvs commit: httpd-2.0/server core.c

2002-01-03 Thread Justin Erenkrantz
On Thu, Jan 03, 2002 at 02:31:49PM -0500, Bill Stoddard wrote: I've spent some time on this and this is one reason I am sort of interested in a proxy specific input filter. I agree with Ryan that 99.9% would be identical to what is already in HTTP_IN now. Then, why have a separate input

Re: cvs commit: httpd-2.0/server core.c

2002-01-03 Thread Bill Stoddard
On Thu, Jan 03, 2002 at 02:31:49PM -0500, Bill Stoddard wrote: I've spent some time on this and this is one reason I am sort of interested in a proxy specific input filter. I agree with Ryan that 99.9% would be identical to what is already in HTTP_IN now. Then, why have a separate

Re: cvs commit: httpd-2.0/server core.c

2002-01-02 Thread Bill Stoddard
This patch breaks the proxy. Specifically, anyone who uses ap_proxy_make_fake_req(). Get a seg fault in ap_get_limit_req_body because r-per_dir_config is NULL. I'll spend some time on this tomorrow unless someone wants to jump on it tonight. Bill - Original Message - From: [EMAIL

Re: cvs commit: httpd-2.0/server core.c

2002-01-02 Thread Justin Erenkrantz
On Wed, Jan 02, 2002 at 05:15:34PM -0500, Bill Stoddard wrote: This patch breaks the proxy. Specifically, anyone who uses ap_proxy_make_fake_req(). Get a seg fault in ap_get_limit_req_body because r-per_dir_config is NULL. I'll spend some time on this tomorrow unless someone wants to jump

Re: cvs commit: httpd-2.0/server core.c

2002-01-02 Thread William A. Rowe, Jr.
From: Justin Erenkrantz [EMAIL PROTECTED] Sent: Wednesday, January 02, 2002 4:15 PM On Wed, Jan 02, 2002 at 05:15:34PM -0500, Bill Stoddard wrote: This patch breaks the proxy. Specifically, anyone who uses ap_proxy_make_fake_req(). Get a seg fault in ap_get_limit_req_body because

Re: cvs commit: httpd-2.0/server core.c

2002-01-02 Thread William A. Rowe, Jr.
From: Bill Stoddard [EMAIL PROTECTED] Sent: Wednesday, January 02, 2002 4:15 PM This patch breaks the proxy. Specifically, anyone who uses ap_proxy_make_fake_req(). Get a seg fault in ap_get_limit_req_body because r-per_dir_config is NULL. I'll spend some time on this tomorrow unless

Re: cvs commit: httpd-2.0/server core.c

2002-01-02 Thread Justin Erenkrantz
On Wed, Jan 02, 2002 at 04:46:01PM -0600, William A. Rowe, Jr. wrote: Broke more than proxy, without a rebuild all. Time for an MMN bump, it seems :) I was wondering about that. =) What are the rules for a MMN bump? -- justin

Re: cvs commit: httpd-2.0/server core.c

2002-01-02 Thread William A. Rowe, Jr.
From: Justin Erenkrantz [EMAIL PROTECTED] Sent: Wednesday, January 02, 2002 4:56 PM On Wed, Jan 02, 2002 at 04:46:01PM -0600, William A. Rowe, Jr. wrote: Broke more than proxy, without a rebuild all. Time for an MMN bump, it seems :) I was wondering about that. =) What are the rules

  1   2   >