Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h

2006-10-26 Thread Joe Orton
On Thu, Oct 26, 2006 at 05:20:10PM +0200, Plüm, Rüdiger, VF EITO wrote: > > Index: modules/cache/mod_disk_cache.c > > === > > --- modules/cache/mod_disk_cache.c (revision 450104) > > +++ modules/cache/mod_disk_cache.c (working copy)

mod_deflate ignores Content-Encoding header

2006-10-26 Thread Sven Köhler
Hi, imagine a simple CGI-script: #!/usr/bin/perl print "Content-Encoding: identity\n"; print "Content-Type: text/plain\n"; print "\n"; print "test"; AFAIK, "identity" indicates, that no transformation is being done on the content. IMHO, mod_deflate should implement the following logic: Conte

Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h

2006-10-26 Thread Plüm , Rüdiger , VF EITO
> -Ursprüngliche Nachricht- > Von: Joe Orton > Gesendet: Mittwoch, 25. Oktober 2006 17:59 > An: dev@httpd.apache.org > Betreff: Re: svn commit: r467655 - in /httpd/httpd/trunk: > CHANGES docs/manual/mod/mod_cache.xml > modules/cache/mod_cache.c modules/cache/mod_cache.h > > > Index:

Porting mod_put to Apache 2.x

2006-10-26 Thread Sandeep Chandur Ravi
Hello, I am new to Apache module development. To become familiar with modules, I started to port Lyonel Vincent's mod_put Apache 1.3 module to Apache 2.2.3. This module introduces three new directives: EnablePut, EnableDelete and umask. While debugging the modified Apache, I was not able to disp

Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h

2006-10-26 Thread Graham Leggett
On Thu, October 26, 2006 4:29 pm, Graham Leggett wrote: > In that case the solution is to expose the logic inside > ap_core_output_filter() that decides whether the socket will block, and > make that generally available. To be more specific, there would be a need to be able to, given a connection

Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h

2006-10-26 Thread Graham Leggett
On Thu, October 26, 2006 2:44 pm, Joe Orton wrote: > This is a non-starter. The cache cannot rely on any particular > implementation detail of the trunk core output filter (which sounds like > a bug), nor can it assume that filters between it and the core output > filter will pass through FILE bu

Fixup hook.

2006-10-26 Thread Atul Kulkarni \(SIGSEC\)
Hi All, I am trying to write a fixup hook for our Apache module. I intend to bloat up the environment variables for CGI and SSI with the values. I wanted to know, will just registering the hook and then implementing the function modName_hook_Fixup(request_rec* rec) suffice or I need to do someth

Re: [jira] Updated: (MODPYTHON-190) python 2.5 support

2006-10-26 Thread Jim Gallacher
Graham Dumpleton wrote: =?ISO-8859-1?Q?Indrek_J=E4rve?= wrote .. Jim Gallacher wrote: Graham Dumpleton (JIRA) wrote: [ http://issues.apache.org/jira/browse/MODPYTHON-190?page=all ] Graham Dumpleton updated MODPYTHON-190: --- Fix Version/s: (wa

Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h

2006-10-26 Thread Joe Orton
On Thu, Oct 26, 2006 at 11:02:40AM +0200, Graham Leggett wrote: > On Thu, October 26, 2006 10:50 am, Joe Orton wrote: > > > I'm not sure how that is relevant. The core output filter writes to the > > socket directly - it can use non-blocking writes or whatever it likes to > > do that. The cache

Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h

2006-10-26 Thread Plüm , Rüdiger , VF EITO
> -Ursprüngliche Nachricht- > Von: Davi Arnaut > Gesendet: Donnerstag, 26. Oktober 2006 13:47 > An: dev@httpd.apache.org > Betreff: Re: svn commit: r467655 - in /httpd/httpd/trunk: > CHANGES docs/manual/mod/mod_cache.xml > modules/cache/mod_cache.c modules/cache/mod_cache.h > > > Gra

Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h

2006-10-26 Thread Davi Arnaut
Graham Leggett wrote: > On Wed, October 25, 2006 11:48 pm, Davi Arnaut wrote: > >> No, we start with a file bucket on the brigade, I will try to explain >> what happens to see if we are talking about the same thing. >> >> Suppose we have a brigade containing a a file bucket, and the file size >> i

Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h

2006-10-26 Thread Graham Leggett
On Thu, October 26, 2006 10:50 am, Joe Orton wrote: > I'm not sure how that is relevant. The core output filter writes to the > socket directly - it can use non-blocking writes or whatever it likes to > do that. The cache must write to the output filter chain. How do you > propose to do non-blo

Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h

2006-10-26 Thread Joe Orton
On Wed, Oct 25, 2006 at 10:21:26PM +0200, Graham Leggett wrote: > Joe Orton wrote: > > >There is no other acceptable solution AFAICS. Buffering the entire > >brigade (either to disk, or into RAM as the current code does) before > >writing to the client is not OK, polling on buckets is not possi

Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h

2006-10-26 Thread Graham Leggett
On Thu, October 26, 2006 10:28 am, Plüm, Rüdiger, VF EITO wrote: > AFAIK this is only true on trunk due to Brians async write patches there. > They have not been backported to 2.2.x and I think they are unlikely to > get backported. Thus this solution for mod_disk_cache only solves > the problem o

Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h

2006-10-26 Thread Plüm , Rüdiger , VF EITO
> -Ursprüngliche Nachricht- > Von: Graham Leggett > Gesendet: Mittwoch, 25. Oktober 2006 22:21 > An: dev@httpd.apache.org > Betreff: Re: svn commit: r467655 - in /httpd/httpd/trunk: > CHANGES docs/manual/mod/mod_cache.xml > modules/cache/mod_cache.c modules/cache/mod_cache.h > > > I

Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h

2006-10-26 Thread Graham Leggett
On Wed, October 25, 2006 11:48 pm, Davi Arnaut wrote: > No, we start with a file bucket on the brigade, I will try to explain > what happens to see if we are talking about the same thing. > > Suppose we have a brigade containing a a file bucket, and the file size > is 4.7GB. We want to read it ful