RE: Sending data to client

2009-01-30 Thread Hracek, Petr
Thanks for the question about replacement of ap_*_timeout. When the ap_soft_timeout and ap_rwrite are called in Apache 1.3 I've never inserted HTML tags like htmlbody etc. They were inserted automatically? Is it necessary to include HTML tags to buffer which is sent to the Client side? And do

Re: Sending data to client

2009-01-30 Thread Graham Leggett
Hracek, Petr wrote: Thanks for the question about replacement of ap_*_timeout. When the ap_soft_timeout and ap_rwrite are called in Apache 1.3 I've never inserted HTML tags like htmlbody etc. They were inserted automatically? Is it necessary to include HTML tags to buffer which is sent to the

RE: Sending data to client

2009-01-30 Thread Hracek, Petr
Because of I am a begginer with bucket and brigades Is there any short example how to send simple string to the client? I've found some examples but it were a pretty complicated for me. E.g. http://www.apachetutor.org/dev/brigades regards / S pozdravem Petr Hráček -Original Message-

Re: Sending data to client

2009-01-30 Thread Graham Leggett
Hracek, Petr wrote: Because of I am a begginer with bucket and brigades Is there any short example how to send simple string to the client? I've found some examples but it were a pretty complicated for me. E.g. http://www.apachetutor.org/dev/brigades Go through the underlying bucket brigade

RE: Load memory dyanamically using handler.

2009-01-30 Thread Jaysingh Samuel
Hai all, Iam loading huge hash map in the shared memory, and the hash map can be reloaded again by hitting the handler without server restart. I use the apr_shm to create the shared memory and the apr_rmm to manage the memory.. I create around 1 GB of shared memory which i manage. Because

Re: Catching apache restart signal

2009-01-30 Thread Paras Fadte
which apr function will return me the appropriate signal that is given to httpd? On Thu, Jan 29, 2009 at 3:31 PM, Arnab Ganguly agangul...@gmail.com wrote: surely.That would be the best. -A On Thu, Jan 29, 2009 at 3:27 PM, Paras Fadte plf...@gmail.com wrote: Can APR be used ? On Thu,

Re: Sending data to client

2009-01-30 Thread Dan Poirier
BTW, I've found this book to be excellent on how filters work, and Apache 2 modules in general: Nick Kew, _The Apache Modules Book_ Prentice Hall, 2007

Re: Using gzip and CustomLog

2009-01-30 Thread Paras Fadte
Hi Rainer, Can you please help me out with this ? I am using the rotatelogs utility from apache 2.0.55 Thanks. -Paras On Wed, Jan 28, 2009 at 11:20 AM, Paras Fadte plf...@gmail.com wrote: Hi , I have somewhat modified the rotatlogs utility to support compression . Although it creates

Re: Profiling Apache

2009-01-30 Thread Kevac Marko
On Wed, Jan 28, 2009 at 9:25 AM, Paras Fadte plf...@gmail.com wrote: Which tool is the most suitable for profiling Apache ? gprof ? Oprofile ? Used valgrind and gpt. -- Marko Kevac

Re: svn commit: r739150 - /httpd/httpd/trunk/os/unix/unixd.h

2009-01-30 Thread Ruediger Pluem
On 01/30/2009 03:48 AM, field...@apache.org wrote: Author: fielding Date: Fri Jan 30 02:48:08 2009 New Revision: 739150 URL: http://svn.apache.org/viewvc?rev=739150view=rev Log: revert r711228: the ap_unixd_setup_child prototype needs to go somewhere. Modified:

Re: svn commit: r739150 - /httpd/httpd/trunk/os/unix/unixd.h

2009-01-30 Thread Roy T. Fielding
On Jan 30, 2009, at 3:07 PM, Ruediger Pluem wrote: On 01/30/2009 03:48 AM, field...@apache.org wrote: Author: fielding Date: Fri Jan 30 02:48:08 2009 New Revision: 739150 URL: http://svn.apache.org/viewvc?rev=739150view=rev Log: revert r711228: the ap_unixd_setup_child prototype needs to go

Re: svn commit: r739150 - /httpd/httpd/trunk/os/unix/unixd.h

2009-01-30 Thread Roy T. Fielding
On Jan 30, 2009, at 3:30 PM, Roy T. Fielding wrote: On Jan 30, 2009, at 3:07 PM, Ruediger Pluem wrote: On 01/30/2009 03:48 AM, field...@apache.org wrote: +AP_DECLARE(int) ap_unixd_setup_child(void); /* mod_cgid needs this */ + Hm. This break compilation of trunk as this symbol is now

Re: svn commit: r739150 - /httpd/httpd/trunk/os/unix/unixd.h

2009-01-30 Thread Nick Kew
Roy T. Fielding wrote: It bothers me that I really have no idea if this code even works, given that it is supposedly the heart of a seteuid switching child (or some such). I would really appreciate it if someone who actually uses this stuff could decide what should be deleted *before* we

Re: [PATCH] mod_dbd with more than one pool

2009-01-30 Thread Graham Leggett
Kevac Marko wrote: Once again I want to propose patch for mod_dbd module. This patch make possible to use more than one database pool. One of the things I needed to do earlier today was determine whether mod_dbd could support more than one database pool, this patch answers that question.

Re: svn commit: r739150 - /httpd/httpd/trunk/os/unix/unixd.h

2009-01-30 Thread Paul Querna
Roy T. Fielding wrote: On Jan 30, 2009, at 3:30 PM, Roy T. Fielding wrote: On Jan 30, 2009, at 3:07 PM, Ruediger Pluem wrote: On 01/30/2009 03:48 AM, field...@apache.org wrote: +AP_DECLARE(int) ap_unixd_setup_child(void); /* mod_cgid needs this */ + Hm. This break compilation of trunk as

Re: svn commit: r739150 - /httpd/httpd/trunk/os/unix/unixd.h

2009-01-30 Thread Nick Kew
Paul Querna wrote: imo, no one uses these mpms, we should delete them. ISTR having this conversation ahead of 2.2. We deleted them from 2.2 but left them in trunk for posterity, and in case anyone felt like picking it up. They look like obvious candidates for an attic now. -- Nick Kew