RE: Making mod_auth_digest mysql

2009-02-08 Thread Michele Waldman
I don't drink that frequently, but when I do I get chatty, even on the computer. -Original Message- From: Ray Morris [mailto:supp...@bettercgi.com] Sent: Sunday, February 08, 2009 8:00 PM To: modules-dev@httpd.apache.org Subject: Re: Making mod_auth_digest mysql Sorry, about the

Re: svn commit: r741947 - in /httpd/httpd/trunk/modules/mappers: config9.m4 mod_watchdog.c mod_watchdog.h

2009-02-08 Thread Ruediger Pluem
On 02/07/2009 08:51 PM, mt...@apache.org wrote: Author: mturk Date: Sat Feb 7 19:51:52 2009 New Revision: 741947 URL: http://svn.apache.org/viewvc?rev=741947view=rev Log: Add watchdog module Added: httpd/httpd/trunk/modules/mappers/mod_watchdog.c (with props)

Re: svn commit: r741947 - in /httpd/httpd/trunk/modules/mappers: config9.m4 mod_watchdog.c mod_watchdog.h

2009-02-08 Thread Ruediger Pluem
On 02/07/2009 08:51 PM, mt...@apache.org wrote: Author: mturk Date: Sat Feb 7 19:51:52 2009 New Revision: 741947 URL: http://svn.apache.org/viewvc?rev=741947view=rev Log: Add watchdog module Added: httpd/httpd/trunk/modules/mappers/mod_watchdog.c (with props)

Documentation request for review

2009-02-08 Thread Vincent Deffontaines
Greetings, While reviewing Lucien's french translation for the trunk performance tuning guide (misc/perf-tuning.xml), it has come to my understanding that this document contains extremely old, and probably outdated, information. URL for the HTML version is

Re: Using gzip and CustomLog

2009-02-08 Thread Rainer Jung
On 28.01.2009 06:50, Paras Fadte wrote: I have somewhat modified the rotatlogs utility to support compression . Although it creates files in compressed format (.gz) and rotates them properly the issue that i am facing is that when apache is restarted (graceful or stop/start way ) the last

Unix line ends in Windows DSP files

2009-02-08 Thread Rainer Jung
Hi, all Windows DSP files in trunk, except for the recent ones for mod_sed and mod_proxy_fcgi, have Unix line ends, even when checked out on Windows. The eol-style is set to native (no difference with the sed or proxy_fcgi one). I assume they have been checked in from Windows but with Unix

Re: Getting pool associated with current thread/child

2009-02-08 Thread Brian McCallister
On Sat, Feb 7, 2009 at 5:47 PM, Graham Leggett minf...@sharp.fm wrote: Brian McCallister wrote: So, in mod_lua I need to get the apr pool associated with the current thread (that being the main thread if in prefork). What about the process_rec structure? In other words,

Re: Documentation request for review

2009-02-08 Thread Lars Eilebrecht
Vincent Deffontaines wrote on 2009-02-08 13:20:23: While reviewing Lucien's french translation for the trunk performance tuning guide (misc/perf-tuning.xml), it has come to my understanding that this document contains extremely old, and probably outdated, information. Yes, this page is

Re: use of APR_SENDFILE_ENABLED in mod_disk_cache

2009-02-08 Thread Lars Eilebrecht
Ruediger Pluem wrote on 2009-02-07 22:03:38: IMHO this is correct. The problem is that we do not know at this point of time how EnableSendFile is set. We are in the quick handler and have not done any directory walks (and in fact if the cached entry is good we never will). So the only option

Re: Getting pool associated with current thread/child

2009-02-08 Thread Brian McCallister
An alternative, for my need, is to be able to add a cleanup hook to the current thread. I can then just create a pool and put it in a thread local (you can do that with just the os thread in apr). I cannot find a way to actually register a cleanup for the threadlocal you set, though. Is there one

Re: use of APR_SENDFILE_ENABLED in mod_disk_cache

2009-02-08 Thread Ruediger Pluem
On 02/08/2009 09:35 PM, Lars Eilebrecht wrote: Ruediger Pluem wrote on 2009-02-07 22:03:38: IMHO this is correct. The problem is that we do not know at this point of time how EnableSendFile is set. We are in the quick handler and have not done any directory walks (and in fact if the cached

Re: use of APR_SENDFILE_ENABLED in mod_disk_cache

2009-02-08 Thread Lars Eilebrecht
Ruediger Pluem wrote on 2009-02-08 22:36:47: Well, but if EnableSendfile is configured in the main config or vhost we get the setting by looking at the core_module config. Of course you are right that this doesn't work when it is defined inside a Location or Directory section. Well I

Re: use of APR_SENDFILE_ENABLED in mod_disk_cache

2009-02-08 Thread Ruediger Pluem
On 02/08/2009 11:38 PM, Lars Eilebrecht wrote: Ruediger Pluem wrote on 2009-02-08 22:36:47: Well, but if EnableSendfile is configured in the main config or vhost we get the setting by looking at the core_module config. Of course you are right that this doesn't work when it is defined

Re: Getting pool associated with current thread/child

2009-02-08 Thread Paul Querna
Brian McCallister wrote: An alternative, for my need, is to be able to add a cleanup hook to the current thread. I can then just create a pool and put it in a thread local (you can do that with just the os thread in apr). I cannot find a way to actually register a cleanup for the threadlocal

Re: Getting pool associated with current thread/child

2009-02-08 Thread Brian McCallister
On Sun, Feb 8, 2009 at 3:54 PM, Paul Querna c...@force-elite.com wrote: I think doing it via the mpm/extending the request rec is the right way to do it, and I don't understand why there is resistance to just doing it that way? I don't think there is resistance, it is just a chunk of code *I*

Re: Getting pool associated with current thread/child

2009-02-08 Thread Paul Querna
Brian McCallister wrote: On Sun, Feb 8, 2009 at 3:54 PM, Paul Querna c...@force-elite.com wrote: I think doing it via the mpm/extending the request rec is the right way to do it, and I don't understand why there is resistance to just doing it that way? I don't think there is resistance,

Re: Making mod_auth_digest mysql

2009-02-08 Thread Ray Morris
Sorry, about the extraneous personal notes. The I love you was an exaggeration of thank you. I kid around. I don't know that people understand that. No problem - I get a lot of that. :) I should never go near a computer when I'm drinking. I also type stuff I regret. It used to

Re: Getting pool associated with current thread/child

2009-02-08 Thread Brian McCallister
On Sun, Feb 8, 2009 at 4:59 PM, Paul Querna c...@force-elite.com wrote: r742218 adds conn_rec::current_thread, and implements support for it on all the common Unix MPMs. It turns out its really hard to use the request_rec in the MPMs, but yet again its in trouble of where we draw the

Re: Getting pool associated with current thread/child

2009-02-08 Thread Brian McCallister
On Sun, Feb 8, 2009 at 5:05 PM, Brian McCallister bri...@skife.org wrote: On Sun, Feb 8, 2009 at 4:59 PM, Paul Querna c...@force-elite.com wrote: r742218 adds conn_rec::current_thread, and implements support for it on all the common Unix MPMs. It turns out its really hard to use the

Re: Getting pool associated with current thread/child

2009-02-08 Thread Paul Querna
Brian McCallister wrote: On Sun, Feb 8, 2009 at 5:05 PM, Brian McCallister bri...@skife.org wrote: On Sun, Feb 8, 2009 at 4:59 PM, Paul Querna c...@force-elite.com wrote: r742218 adds conn_rec::current_thread, and implements support for it on all the common Unix MPMs. It turns out its

Re: Getting pool associated with current thread/child

2009-02-08 Thread Brian McCallister
On Sun, Feb 8, 2009 at 5:05 PM, Brian McCallister bri...@skife.org wrote: On Sun, Feb 8, 2009 at 4:59 PM, Paul Querna c...@force-elite.com wrote: r742218 adds conn_rec::current_thread, and implements support for it on all the common Unix MPMs. It turns out its really hard to use the

Re: Getting pool associated with current thread/child

2009-02-08 Thread Paul Querna
Brian McCallister wrote: On Sun, Feb 8, 2009 at 5:05 PM, Brian McCallister bri...@skife.org wrote: On Sun, Feb 8, 2009 at 4:59 PM, Paul Querna c...@force-elite.com wrote: r742218 adds conn_rec::current_thread, and implements support for it on all the common Unix MPMs. It turns out its

Re: svn commit: r741947 - in /httpd/httpd/trunk/modules/mappers: config9.m4 mod_watchdog.c mod_watchdog.h

2009-02-08 Thread Mladen Turk
Ruediger Pluem wrote: +} +if (w-is_running w-callbacks == NULL) { +/* This is hook mode watchdog + * running on WatchogInterval + */ +w-step += (apr_time_now() - curr); +if (w-step = wd_interval) { +if

Bug report for Apache httpd-1.3 [2009/02/08]

2009-02-08 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned