Re: File descriptor leak with mpm-event / apr file bucket cleanup

2010-05-18 Thread Stefan Fritsch
On Tuesday 18 May 2010, Stefan Fritsch wrote: > It does not cause any breakage in the perl-framework. As you > suspected, it does break apr-util's testbuckets test. I will look > if I can run the subversion test suite, too. I found no breakage in subversion 1.6.11's test suite. Cheers, Stefan

Re: File descriptor leak with mpm-event / apr file bucket cleanup

2010-05-18 Thread Stefan Fritsch
On Tuesday 18 May 2010, Joe Orton wrote: > On Tue, May 18, 2010 at 09:18:23AM +0200, Stefan Fritsch wrote: > > On Tue, 18 May 2010, Ruediger Pluem wrote: > > >So if you want to close this fd you IMHO would need to do some > > >refcounting and only close it if no other filebucket still > > >referenc

Re: ErrorDocument's Behaviour

2010-05-18 Thread Nick Kew
On Tue, 18 May 2010 15:13:11 -0300 André Manhaes Machado wrote: > Searching a way to bypass this issue, I took a look in the code in the > function ap_process_request(I'm using apache 2.2.11): > [chop] > I did some debug in it and I saw that the requests that are send to weblogic > come from wi

ErrorDocument's Behaviour

2010-05-18 Thread André Manhaes Machado
I searched in the list for someone with the same problem but I didn't find out anything relates to my issue directly. I set up a http server using a plugin from weblogic to server somes pages with extension .jsp (further explanation about it take a look at http://download.oracle.com/docs/cd/E12840

Re: Reducing number of mod_lua hook directives

2010-05-18 Thread Akins, Brian
On 5/12/10 11:09 AM, "Brian McCallister" wrote: > Ah, but what happens when there are multiple functions for same hook? > We could get into magic naming and scanning of global scope, but that > really turns my stomach. No need. It's easy. Think about it in lua, not C. Something like this for

Re: svn commit: r943769 - in /httpd/sandbox/mod_allowmethods: ./ modules/allowmethods/

2010-05-18 Thread Igor Galić
- "William A. Rowe Jr." wrote: > On 5/12/2010 9:24 PM, iga...@apache.org wrote: > > > > Modified: > > httpd/sandbox/mod_allowmethods/ (props changed) > > httpd/sandbox/mod_allowmethods/modules/allowmethods/ (props > changed) > > Since this is in the family of modules/aaa/ does

Re: File descriptor leak with mpm-event / apr file bucket cleanup

2010-05-18 Thread Joe Orton
On Tue, May 18, 2010 at 09:18:23AM +0200, Stefan Fritsch wrote: > On Tue, 18 May 2010, Ruediger Pluem wrote: > >So if you want to close this fd you IMHO would need to do some refcounting > >and only close it if no other filebucket still references it. > > The filebuckets already do refcounting. ap

RE: File descriptor leak with mpm-event / apr file bucket cleanup

2010-05-18 Thread Plüm, Rüdiger, VF-Group
> -Original Message- > From: Stefan Fritsch [mailto:s...@sfritsch.de] > Sent: Dienstag, 18. Mai 2010 09:18 > To: dev@httpd.apache.org > Cc: d...@apr.apache.org > Subject: Re: File descriptor leak with mpm-event / apr file > bucket cleanup > > On Tue, 18 May 2010, Ruediger Pluem wrote:

Re: File descriptor leak with mpm-event / apr file bucket cleanup

2010-05-18 Thread Stefan Fritsch
On Tue, 18 May 2010, Ruediger Pluem wrote: --- buckets/apr_buckets_file.c.dist +0200 +++ buckets/apr_buckets_file.c @@ -34,8 +34,7 @@ apr_bucket_file *f = data; if (apr_bucket_shared_destroy(f)) { -/* no need to close the file here; it will get - * done automatically wh