location walk before directory walk

2001-08-26 Thread Roy T. Fielding
Just out of curiosity, would it be easier if, for 2.0, we fixed the original bogosity of location walk by running it first, before directory walk, and simply forbid its use within .htaccess? That would eliminate most of the issues regarding wasted time spent checking directories for things that a

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

2001-08-26 Thread Sebastian Bergmann
[EMAIL PROTECTED] wrote: > rbb 01/08/26 23:00:51 > > Modified:.CHANGES >include util_filter.h >modules/ssl mod_ssl.c ssl_engine_io.c >server util_filter.c util_filter.c httpd-2.0\server\util_filter.c(205) : warning C4098:

Re: Started to re-write APXS.

2001-08-26 Thread Jim Jagielski
+1 (on fixing and committing) Ryan Bloom wrote: > > > I have begun to re-write APXS. The new version of APXS, will use the same > build system as Apache itself, which should make it a bit more flexible. As of > right now, we can query build time variables, but building is not working yet. >

Re: Debugging in Windows

2001-08-26 Thread William A. Rowe, Jr.
From: "Amit Athavale" <[EMAIL PROTECTED]> Sent: Monday, August 27, 2001 12:10 AM > Hello, > In Win32 environment there are two procees run by apache. One is main proceess > and other is child one. But this makes debugging difficult. As we start Dev studio > debugger on main procees. Unless y

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

2001-08-26 Thread William A. Rowe, Jr.
From: "Greg Stein" <[EMAIL PROTECTED]> Sent: Sunday, August 26, 2001 4:04 AM > On Sat, Aug 25, 2001 at 11:43:19PM -, [EMAIL PROTECTED] wrote: > > wrowe 01/08/25 16:43:19 > > > > Modified:.CHANGES > >include http_request.h > >modules/http

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

2001-08-26 Thread William A. Rowe, Jr.
From: "Bill Stoddard" <[EMAIL PROTECTED]> Sent: Sunday, August 26, 2001 11:48 AM > > On Sat, Aug 25, 2001 at 11:43:19PM -, [EMAIL PROTECTED] wrote: > > > wrowe 01/08/25 16:43:19 > > > > > > Modified:.CHANGES > > >include http_request.h > > >

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

2001-08-26 Thread William A. Rowe, Jr.
From: "William A. Rowe, Jr." <[EMAIL PROTECTED]> Sent: Sunday, August 26, 2001 9:43 PM > From: "Greg Stein" <[EMAIL PROTECTED]> > Sent: Sunday, August 26, 2001 4:04 AM > > > > On Sat, Aug 25, 2001 at 11:43:19PM -, [EMAIL PROTECTED] wrote: > > > wrowe 01/08/25 16:43:19 > > > > > >

Debugging in Windows

2001-08-26 Thread Amit Athavale
Hello, In Win32 environment there are two procees run by apache. One is main proceess and other is child one. But this makes debugging difficult. As we start Dev studio debugger on main procees. Is there any way to start apache in single process. Other than changing following code :: static i

Re: cvs commit: httpd-2.0/server/mpm/worker worker.c

2001-08-26 Thread dougm
On Sat, 25 Aug 2001, Ryan Bloom wrote: > > This will break things. We will no longer be keeping track of the listener, which > is a bad thing. I will fix this later this weekend, but the worker MPM is broken > now. its working for me. was broken before, with this config: StartServers

Re: cvs commit: httpd-2.0/modules/http http_protocol.c

2001-08-26 Thread Ryan Bloom
On Sunday 26 August 2001 17:20, Greg Stein wrote: > On Sun, Aug 26, 2001 at 03:18:41PM -0700, Ryan Bloom wrote: > > On Sunday 26 August 2001 12:54, Doug MacEachern wrote: > > > On Sun, 26 Aug 2001, Marc Slemko wrote: > > > > hang on, is this about keepalives or chunked encoding? > > > > > > both.

Re: dependencies (was: Re: cvs commit: httpd-2.0/include ap_mmn.h)

2001-08-26 Thread Ryan Bloom
On Sunday 26 August 2001 17:16, Greg Stein wrote: > On Sun, Aug 26, 2001 at 11:06:55AM -0700, Marc Slemko wrote: > > On 26 Aug 2001 [EMAIL PROTECTED] wrote: > > > wrowe 01/08/25 22:15:09 > > > > > > Modified:include ap_mmn.h > > > Log: > > > That last round calls for a bump. > >

Re: cvs commit: httpd-2.0/server/mpm/worker worker.c

2001-08-26 Thread Aaron Bannert
I probably should have mentioned in the comment that the reason I made the comment was that it broke when I changed it to 0. :) And I assume the first question in my comment is true? That is: "ap_threads_per_child includes the listener thread" -aaron On Sat, Aug 25, 2001 at 06:29:49PM -0700, Ry

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

2001-08-26 Thread Bill Stoddard
> On Sat, Aug 25, 2001 at 11:43:19PM -, [EMAIL PROTECTED] wrote: > > wrowe 01/08/25 16:43:19 > > > > Modified:.CHANGES > >include http_request.h > >modules/http http_core.c http_protocol.c http_request.c > > mod_cor

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

2001-08-26 Thread Bill Stoddard
> On Sat, Aug 25, 2001 at 11:43:19PM -, [EMAIL PROTECTED] wrote: > > wrowe 01/08/25 16:43:19 > > > > Modified:.CHANGES > >include http_request.h > >modules/http http_core.c http_protocol.c http_request.c > > mod_core

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

2001-08-26 Thread Cliff Woolley
On 26 Aug 2001 [EMAIL PROTECTED] wrote: > rbb 01/08/25 20:13:36 > > Modified:server error_bucket.c > Log: > We have to initialize the error_bucket before we can destroy it. > > Revision ChangesPath > 1.8 +1 -1 httpd-2.0/server/error_bucket.c Oops, thanks.

Re: odd content length goings on

2001-08-26 Thread Marc Slemko
On Sun, 26 Aug 2001, Ryan Bloom wrote: > On Sunday 26 August 2001 15:53, Marc Slemko wrote: > > if I have a CGI that generates less than 8k of output, the content length > > doesn't get set. > > > > If it generates between 8k and 32k or something like that, it does. > > > > is this a known bug? >

Re: odd content length goings on

2001-08-26 Thread Ryan Bloom
On Sunday 26 August 2001 15:53, Marc Slemko wrote: > if I have a CGI that generates less than 8k of output, the content length > doesn't get set. > > If it generates between 8k and 32k or something like that, it does. > > is this a known bug? Why are you assuming this is a bug? It looks like in

odd content length goings on

2001-08-26 Thread Marc Slemko
if I have a CGI that generates less than 8k of output, the content length doesn't get set. If it generates between 8k and 32k or something like that, it does. is this a known bug?

Re: cvs commit: httpd-2.0/modules/http http_protocol.c

2001-08-26 Thread Ryan Bloom
On Sunday 26 August 2001 12:54, Doug MacEachern wrote: > On Sun, 26 Aug 2001, Marc Slemko wrote: > > hang on, is this about keepalives or chunked encoding? > > both. > > the check always fails because ap_content_length_filter has set content > length before ap_set_keepalive is called. the right f

Re: cvs commit: httpd-2.0/modules/http http_protocol.c

2001-08-26 Thread Doug MacEachern
you're right, keepalives were working fine without the change. and the chunked stuff was misunderstanding on my part. sorry for the confusion.

Re: cvs commit: httpd-2.0/modules/http http_protocol.c

2001-08-26 Thread Marc Slemko
On Sun, 26 Aug 2001, Doug MacEachern wrote: > On Sun, 26 Aug 2001, Marc Slemko wrote: > > > hang on, is this about keepalives or chunked encoding? > > both. > > the check always fails because ap_content_length_filter has set content > length before ap_set_keepalive is called. the right fix w

Re: cvs commit: httpd-2.0/modules/http http_protocol.c

2001-08-26 Thread Doug MacEachern
On Sun, 26 Aug 2001, Marc Slemko wrote: > hang on, is this about keepalives or chunked encoding? both. the check always fails because ap_content_length_filter has set content length before ap_set_keepalive is called. the right fix would probably be to check http/1.1-oneness eariler and remove

Re: cvs commit: httpd-2.0/modules/http http_protocol.c

2001-08-26 Thread Marc Slemko
On 26 Aug 2001 [EMAIL PROTECTED] wrote: > dougm 01/08/26 11:57:16 > > Modified:modules/http http_protocol.c > Log: > ap_content_length_filter has already set Content-Length > before ap_set_keepalive is called. need to remove this check > in order for keepalives to work. han

Re: cvs commit: httpd-2.0/include ap_mmn.h

2001-08-26 Thread Marc Slemko
On 26 Aug 2001 [EMAIL PROTECTED] wrote: > wrowe 01/08/25 22:15:09 > > Modified:include ap_mmn.h > Log: > That last round calls for a bump. > > bump. > > Revision ChangesPath > 1.19 +2 -1 httpd-2.0/include/ap_mmn.h In 1.3, dependencies were generat

Re: chunked encoding

2001-08-26 Thread Marc Slemko
On Sat, 25 Aug 2001, Doug MacEachern wrote: > chunked encoding never gets turned on because by the time > ap_set_keepalive() is called, ap_content_length_filter has set > r->headers_out.Content-Length > with this patch chunked encoding works fine, but i'm not sure if it is > the correct fix. So

Re: cvs commit: httpd-2.0/modules/filters mod_include.c

2001-08-26 Thread Joshua Slive
On Sat, 25 Aug 2001, Ryan Bloom wrote: > On Saturday 25 August 2001 20:06, William A. Rowe, Jr. wrote: > > Actually, they are very different. I don't know which we will endorse. > > I'd expect performance testing to answer the question... > > I only added the AddType stuff back for backwards co

RE: Memory management requirements buckets/brigades, new pools

2001-08-26 Thread Sander Striker
> Hi Sander. > is it possible to post patches from the most recent CVS version. > that would make it much easier for people to apply them Ok, I agree with you on applyability, but for readability that is quite different. Want me to post some patches against recent CVS? > Thanks > ...Ian Sander

Re: appending to the content brigade

2001-08-26 Thread Eric Prud'hommeaux
On Fri, Aug 24, 2001 at 02:32:32PM -0700, Greg Stein wrote: > On Fri, Aug 24, 2001 at 04:00:46PM -0400, Cliff Woolley wrote: > > On Fri, 24 Aug 2001, Eric Prud'hommeaux wrote: > >... > > > > Note that if the last bucket is not eos, depending on how your filter is > > > > supposed to work that migh

Re: mod_include and POST (fwd)

2001-08-26 Thread Greg Stein
[ moving to [EMAIL PROTECTED] ] On Sat, Aug 25, 2001 at 09:53:51PM -0400, Cliff Woolley wrote: > On Sat, 25 Aug 2001, Brian Pane wrote: > > However, it also seems to break something else: > > > > With this new code, any POST response that goes through the mod_include > > filter will result in a 4

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

2001-08-26 Thread Greg Stein
On Sat, Aug 25, 2001 at 11:43:19PM -, [EMAIL PROTECTED] wrote: > wrowe 01/08/25 16:43:19 > > Modified:.CHANGES >include http_request.h >modules/http http_core.c http_protocol.c http_request.c > mod_core.h >

Re: mod_include and POST (fwd)

2001-08-26 Thread Greg Stein
On Sat, Aug 25, 2001 at 12:45:13AM -0400, Cliff Woolley wrote: > On Fri, 24 Aug 2001, William A. Rowe, Jr. wrote: > > > don't forget to _permit_ OPTIONS. > > It turns out that OPTIONS was more complicated than I expected. By the > time we get to the includes filter, the default handler has alre

Re: mod_include and POST (fwd)

2001-08-26 Thread Greg Stein
On Fri, Aug 24, 2001 at 07:45:29PM -0400, Cliff Woolley wrote: >... > I've verified this as a security problem in 2.0. 1.3 seems to return a > 405 Method Not Allowed error when you attempt to POST to a server-parsed > file, so I've attempted to duplicate that behavior as best I can. Does > the f