Re: Some ramblings on httpd config

2009-06-09 Thread Graham Dumpleton
2009/6/9 Jorge Schrauwen : > As long as the current system isn't replaced by an entire runtime like > program approach I'd be okay with it. > > But why not take it a step further than just lua? > Wouldn't it be possible to expose a standardized set of commands, > functions, objects, whatnot to any

Re: Some ramblings on httpd config

2009-06-09 Thread Graham Dumpleton
2009/6/9 Akins, Brian : > On 6/5/09 11:31 PM, "Graham Dumpleton" wrote: > >> This last example wasn't even related to driving configuration. It was >> in practice an actual handler hook implementation for request >> processing, not configuration phases. > > The way I see it, we have artificially s

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-09 Thread Mladen Turk
William A. Rowe, Jr. wrote: Mladen Turk wrote: Why? Timeout on reading from stdin is a nice and clean way for making the rotation to happen even when there is no log entries fired that would break the block on stdin. Rotation would always happen at midnight, not at some random point of time in t

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-09 Thread Rainer Jung
On 09.06.2009 18:51, William A. Rowe, Jr. wrote: > Mladen Turk wrote: >> Why? Timeout on reading from stdin is a nice and clean way for making the >> rotation to happen even when there is no log entries fired that would >> break the block on stdin. Rotation would always happen at midnight, >> not a

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-09 Thread William A. Rowe, Jr.
Mladen Turk wrote: > > Why? Timeout on reading from stdin is a nice and clean way for making the > rotation to happen even when there is no log entries fired that would > break the block on stdin. Rotation would always happen at midnight, > not at some random point of time in the future when somet

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-09 Thread Mladen Turk
William A. Rowe, Jr. wrote: Mladen Turk wrote: Wouldn't it be better if we simply implement the mechanism to share the same handle between the parent and child? Since the parent does not receive any access log hits how would that prevent it from holding that handle forever? The parent's handl

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-09 Thread William A. Rowe, Jr.
Mladen Turk wrote: >> >> Wouldn't it be better if we simply implement the mechanism to share >> the same handle between the parent and child? > > Since the parent does not receive any access log hits how > would that prevent it from holding that handle forever? The parent's handle to the process

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-09 Thread Mladen Turk
William A. Rowe, Jr. wrote: Mladen Turk wrote: Hi, Currently rotatelogs (at least on windows) holds the initial log file by parent process (well it tries to rotate if something is written from parent which is impossible for access logs). I plan to use the apr_wait_for_io_or_timeout before call

Re: error: 'OPT_INCNOEXEC' undeclared

2009-06-09 Thread Jeff Trawick
On Tue, Jun 9, 2009 at 10:55 AM, Oden Eriksson wrote: > Hello. > > The CVE-2009-1195 fix broke the mod_perl build: > > modperl_config.c:525: error: 'OPT_INCNOEXEC' undeclared (first use in this > function) > > I saw http://svn.apache.org/viewvc?view=rev&revision=779472 addresses this > problem. Wi

error: 'OPT_INCNOEXEC' undeclared

2009-06-09 Thread Oden Eriksson
Hello. The CVE-2009-1195 fix broke the mod_perl build: modperl_config.c:525: error: 'OPT_INCNOEXEC' undeclared (first use in this function) I saw http://svn.apache.org/viewvc?view=rev&revision=779472 addresses this problem. Will this be the final official fix? This email has been processed by

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-09 Thread William A. Rowe, Jr.
Mladen Turk wrote: > Hi, > > Currently rotatelogs (at least on windows) holds the initial > log file by parent process (well it tries to rotate if something > is written from parent which is impossible for access logs). > > I plan to use the apr_wait_for_io_or_timeout before calling > the apr_fil

Re: Some ramblings on httpd config

2009-06-09 Thread Jorge Schrauwen
As long as the current system isn't replaced by an entire runtime like program approach I'd be okay with it. But why not take it a step further than just lua? Wouldn't it be possible to expose a standardized set of commands, functions, objects, whatnot to any language? That start with mod_lua as

Re: svn commit: r782860 - in /httpd/httpd/trunk/docs/manual: env.xml mod/mod_cache.xml

2009-06-09 Thread Eric Covener
On Tue, Jun 9, 2009 at 8:28 AM, Dan Poirier wrote: > cove...@apache.org writes: > >> == >> --- httpd/httpd/trunk/docs/manual/env.xml (original) >> +++ httpd/httpd/trunk/docs/manual/env.xml Tue Jun  9 01:27:43 2009 >> @@ -32

Re: A question about ap_content_length_filter()

2009-06-09 Thread Akins, Brian
On 6/9/09 7:50 AM, "Peter Wang" wrote: > 8000 may be very specific on my server, i wonder > where can i tuning such a limit. Yes 8000 is special in the apache response streaming. Are you using the deprecated mod_php or the supported fastcgi for php? -- Brian Akins Chief Operations Engineer T

Re: A question about ap_content_length_filter()

2009-06-09 Thread Dan Poirier
Peter Wang writes: > so, my question is: when response size <= 8000, > the request contains a Content-Length field, > otherwise, it uses chunked. > > 8000 may be very specific on my server, i wonder > where can i tuning such a limit. I have tried to > change output_buffering in php.ini from 4096

Re: Some ramblings on httpd config

2009-06-09 Thread Akins, Brian
On 6/5/09 11:31 PM, "Graham Dumpleton" wrote: > This last example wasn't even related to driving configuration. It was > in practice an actual handler hook implementation for request > processing, not configuration phases. The way I see it, we have artificially separated configuration from reque

Re: svn commit: r782860 - in /httpd/httpd/trunk/docs/manual: env.xml mod/mod_cache.xml

2009-06-09 Thread Dan Poirier
cove...@apache.org writes: > == > --- httpd/httpd/trunk/docs/manual/env.xml (original) > +++ httpd/httpd/trunk/docs/manual/env.xml Tue Jun 9 01:27:43 2009 > @@ -325,6 +325,7 @@ > > > no-cache > +Avail

Re: [VOTE] release httpd mod_ftp-0.9.4 beta?

2009-06-09 Thread Jorge Schrauwen
[X] +1 to release as 0.9.4-beta I didn't have time to test the EPSV & EPRT, nor do I have enough knowledge on the rfc to do so atm. It does compile and is functional in my config, so it's certainly usable at the moment. So I'd like to see it hit beta. ~Jorge On Tue, Jun 9, 2009 at 1:07 AM, W

A question about ap_content_length_filter()

2009-06-09 Thread Peter Wang
hi, all. test the php code above, when request with "/v.php?s=8000", I got HTTP/1.1 200 OK Date: Tue, 09 Jun 2009 11:41:54 GMT Server: Apache Content-Length: 8000 Connection: close Content-Type: text/plain it's fine, but while request with "/v.php?s=8001", i got: HTTP/1.1 200 OK Date: Tue,