Re: Child init process is not initialized with the data stored by master process

2008-07-24 Thread Kevac Marko
There are main server_rec structure for main server and one server_rec for each Virtual Host. So in child_init you should walk all of them: while (s) { do_smth(); s = s-next; } One of these should keep initialized structure. On Thu, Jul 24, 2008 at 1:05 PM, lusob [EMAIL PROTECTED]

Re: Local Memory pool

2008-07-24 Thread Jason Fister
I am sending this again hoping someone would respond. Thanks in advance. Jason On Tue, Jul 22, 2008 at 11:42 AM, Jason Fister [EMAIL PROTECTED] wrote: Hello all, In my apache module, I receive, process and return large amounts of data. The size of the data could be as large as 100's of

Re: porting from IIS

2008-07-24 Thread Nick Kew
On Thu, 24 Jul 2008 15:56:07 +0300 Harold J. Ship [EMAIL PROTECTED] wrote: How it works today: there are 3 types of request: light, medium and heavy. We will need 2 pools of threads. One for handling light requests, and one for medium/heavy. That sounds rather like a new MPM. The light

Re: Profiling apache 2.0.55 using Gprof

2008-07-24 Thread Paras Fadte
Hi, Has anyone tried this http://sam.zoy.org/writings/programming/gprof.html; ? -Paras On Thu, Jul 24, 2008 at 12:01 AM, Paras Fadte [EMAIL PROTECTED] wrote: Hi, I have been trying to profile apache 2.0.55 using Gprof by compiling it with -g -pg option.The mpm used is worker.

mod_cgid doesn't pass null arguments on command line

2008-07-24 Thread Eric Covener
Background: When a query string doesn't have key/value pairs, the query string is tokenized on the '+' character and the values are sent as argv to the CGI script. It looks like a change to discard null tokens snuck in along with a suexec patch, r87905 (look for strcmp)

Re: mod_cgid doesn't pass null arguments on command line

2008-07-24 Thread Jeff Trawick
On Thu, Jul 24, 2008 at 8:01 AM, Eric Covener [EMAIL PROTECTED] wrote: Background: When a query string doesn't have key/value pairs, the query string is tokenized on the '+' character and the values are sent as argv to the CGI script. It looks like a change to discard null tokens snuck in

Re: mod_cgid doesn't pass null arguments on command line

2008-07-24 Thread Eric Covener
On Thu, Jul 24, 2008 at 9:36 AM, Jeff Trawick [EMAIL PROTECTED] wrote: Fix in trunk for sure. For the life of 2.2.x, I suspect that the same fix will leave more users helped than hurt, with both numbers small. (If paralyzed by fear of regression, respect build flag such as

Re: mod_cgid doesn't pass null arguments on command line

2008-07-24 Thread Plüm, Rüdiger, VF-Group
-Ursprüngliche Nachricht- Von: Jeff Trawick Gesendet: Donnerstag, 24. Juli 2008 15:36 An: dev@httpd.apache.org Betreff: Re: mod_cgid doesn't pass null arguments on command line On Thu, Jul 24, 2008 at 8:01 AM, Eric Covener [EMAIL PROTECTED] wrote: Background: When a

Re: mod_cgid doesn't pass null arguments on command line

2008-07-24 Thread Paul Querna
Plüm, Rüdiger, VF-Group wrote: -Ursprüngliche Nachricht- Von: Jeff Trawick Gesendet: Donnerstag, 24. Juli 2008 15:36 An: dev@httpd.apache.org Betreff: Re: mod_cgid doesn't pass null arguments on command line On Thu, Jul 24, 2008 at 8:01 AM, Eric Covener [EMAIL PROTECTED] wrote:

Re: mod_cgid doesn't pass null arguments on command line

2008-07-24 Thread Ruediger Pluem
On 07/24/2008 07:09 PM, Paul Querna wrote: Plüm, Rüdiger, VF-Group wrote: -Ursprüngliche Nachricht- Von: Jeff Trawick Gesendet: Donnerstag, 24. Juli 2008 15:36 An: dev@httpd.apache.org Betreff: Re: mod_cgid doesn't pass null arguments on command line mod_cgi works fine though

Re: [PATCH] SIGBUS when compiled with gcc 4.3

2008-07-24 Thread Stefan Fritsch
Hi, On Wednesday 23 July 2008, Joe Orton wrote: when compiled with gcc 4.3 on Sparc under Linux, Apache 2.2.9 sometimes crashes with SIGBUS in the ssl shmcb code. Adding __attribute__((__noinline__)) (which is already present in ssl_scache_shmcb.c for the memset call) to the memcpy

Re: mod_cgid doesn't pass null arguments on command line

2008-07-24 Thread Ruediger Pluem
On 07/24/2008 09:32 PM, Eric Covener wrote: On Thu, Jul 24, 2008 at 3:01 PM, Ruediger Pluem [EMAIL PROTECTED] wrote: +1, but who is behaving correctly currently mod_cgi or mod_cgid? The BNF from Ken's CGI RFC site seems to support the 1.3/mod_cgi interpretation (++ results in null strings

Re: mod_cgid doesn't pass null arguments on command line

2008-07-24 Thread Eric Covener
On Thu, Jul 24, 2008 at 4:06 PM, Ruediger Pluem [EMAIL PROTECTED] wrote: On 07/24/2008 09:32 PM, Eric Covener wrote: On Thu, Jul 24, 2008 at 3:01 PM, Ruediger Pluem [EMAIL PROTECTED] wrote: +1, but who is behaving correctly currently mod_cgi or mod_cgid? The BNF from Ken's CGI RFC site

Re: mod_cgid doesn't pass null arguments on command line

2008-07-24 Thread Roy T. Fielding
On Jul 24, 2008, at 2:18 PM, Eric Covener wrote: On Thu, Jul 24, 2008 at 4:06 PM, Ruediger Pluem [EMAIL PROTECTED] wrote: On 07/24/2008 09:32 PM, Eric Covener wrote: On Thu, Jul 24, 2008 at 3:01 PM, Ruediger Pluem [EMAIL PROTECTED] wrote: +1, but who is behaving correctly currently mod_cgi

Re: mod_cgid doesn't pass null arguments on command line

2008-07-24 Thread Jeff Trawick
On Thu, Jul 24, 2008 at 8:01 AM, Eric Covener [EMAIL PROTECTED] wrote: Background: When a query string doesn't have key/value pairs, the query string is tokenized on the '+' character and the values are sent as argv to the CGI script. I just stumbled onto this old PR: