Re: [PATCH] mod_disk_cache background copy

2006-10-10 Thread Graham Leggett
Niklas Edmundsson wrote: This patch implements copying a file in the background so the client initiating the caching can get the file delivered by read-while-caching instead of having to wait for the file to finish. Something that Joe Orton raised, and that I've been looking into in more det

Re: server config apr_table_t

2006-10-10 Thread David Wortham
On 10/10/06, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote: You are responsible for mutexing; and remember unless you alloc before fork and never modify the data, it's per-process private. Is this to say that using a subpool of a "s->process->pool" pool, what mutations made by one child proces

Re: svn commit: r462594 - /httpd/httpd/branches/2.2.x/STATUS

2006-10-10 Thread Graham Leggett
Ruediger Pluem wrote: There is no sendfile_nonblocking in the 2.2.x branch :-). Brian's changes regarding async write completion have not been backported. Indeed :) I should have checked... Regards, Graham -- smime.p7s Description: S/MIME Cryptographic Signature

Re: svn commit: r462594 - /httpd/httpd/branches/2.2.x/STATUS

2006-10-10 Thread Ruediger Pluem
On 10/10/2006 11:58 PM, wrote: > Author: minfrin > Date: Tue Oct 10 14:58:29 2006 > New Revision: 462594 > > URL: http://svn.apache.org/viewvc?view=rev&rev=462594 > Log: > Propose some backports. > > Modified: > httpd/httpd/branches/2.2.x/STATUS > > Modified: httpd/httpd/branches/2.2.x/STA

Re: Clarification on how check_user_id hook works

2006-10-10 Thread Brad Nicholes
>>> On 10/10/2006 at 8:58 AM, in message <[EMAIL PROTECTED]>, "Eric Covener" <[EMAIL PROTECTED]> wrote: > On 10/10/06, Javier Sagrera <[EMAIL PROTECTED]> wrote: >> So, i can write my modules, based on modules that i know will have a >> "conflict" with mine using the "if ..." >> but that is a little

[jira] Commented: (MODPYTHON-127) Use namespace for mod_python PythonOption settings.

2006-10-10 Thread Jim Gallacher (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-127?page=comments#action_12441188 ] Jim Gallacher commented on MODPYTHON-127: - +1 Your suggestion is logical. Explicit is better than implict. > Use namespace for mod_python PythonOption

Re: server config apr_table_t

2006-10-10 Thread Nick Kew
On Tuesday 10 October 2006 16:43, Brian McQueen wrote: > I am having a problem with keeping data in my apr_table_t. During a > request I obtain the server config structure, store something in there > (some statistics which should have the scope of the life of the > server), and then when the next

Re: New mod_python unittest framework

2006-10-10 Thread Jim Gallacher
Graham Dumpleton wrote: Sorry for late reply. I'd say defer this to 3.4, or whatever will come after 3.3. For what little is left to do on 3.3 as it is, we are already bogging down. +1 Even just trying a quick run, came up with a few issues. 1. Can't decode Apache version string. Traceback

server config apr_table_t

2006-10-10 Thread Brian McQueen
I am having a problem with keeping data in my apr_table_t. During a request I obtain the server config structure, store something in there (some statistics which should have the scope of the life of the server), and then when the next request comes along, the data is gone! During the request I st

Re: Clarification on how check_user_id hook works

2006-10-10 Thread Eric Covener
On 10/10/06, Javier Sagrera <[EMAIL PROTECTED]> wrote: So, i can write my modules, based on modules that i know will have a "conflict" with mine using the "if ..." but that is a little limited, i just find strange that you dont have control of the order in which the functions are call, Your exa

Re: Rewritemap by internal function

2006-10-10 Thread Akins, Brian
On 10/10/06 7:28 AM, "Nick Kew" <[EMAIL PROTECTED]> wrote: > Doesn't that mean > AN Other module can register its own "int:foo" functions, and > the documentation is wrong? That is my understanding: the framework is in place, just not documented. -- Brian Akins Chief Operations Engineer Turn

Re: svn commit: r454683 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_rewrite.xml modules/mappers/mod_rewrite.c

2006-10-10 Thread Davi Arnaut
Nick Kew wrote: > On Tuesday 10 October 2006 13:00, Ruediger Pluem wrote: >> On 10/10/2006 12:33 PM, wrote: >>> Author: niq >>> Date: Tue Oct 10 03:33:06 2006 >>> New Revision: 454683 >>> >>> URL: http://svn.apache.org/viewvc?view=rev&rev=454683 >>> Log: >>> Add SQL Query capability to RewriteMap

Re: Clarification on how check_user_id hook works

2006-10-10 Thread Javier Sagrera
So, i can write my modules, based on modules that i know will have a "conflict" with mine using the "if ..." but that is a little limited, i just find strange that you dont have control of the order in which the functions are call, And even more strange, that the inclusion of a function registere

Re: svn commit: r454683 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_rewrite.xml modules/mappers/mod_rewrite.c

2006-10-10 Thread Nick Kew
On Tuesday 10 October 2006 13:00, Ruediger Pluem wrote: > On 10/10/2006 12:33 PM, wrote: > > Author: niq > > Date: Tue Oct 10 03:33:06 2006 > > New Revision: 454683 > > > > URL: http://svn.apache.org/viewvc?view=rev&rev=454683 > > Log: > > Add SQL Query capability to RewriteMap > > > > > > Modifie

Re: svn commit: r454683 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_rewrite.xml modules/mappers/mod_rewrite.c

2006-10-10 Thread Ruediger Pluem
On 10/10/2006 12:33 PM, wrote: > Author: niq > Date: Tue Oct 10 03:33:06 2006 > New Revision: 454683 > > URL: http://svn.apache.org/viewvc?view=rev&rev=454683 > Log: > Add SQL Query capability to RewriteMap > > Modified: httpd/httpd/trunk/modules/mappers/mod_rewrite.c > URL: > http://svn.apa

Rewritemap by internal function

2006-10-10 Thread Nick Kew
I've just added SQL query (DBD) capability to RewriteMap. Having read the documentation, I see it supports internal functions toupper/tolower/escape/unescape. I had in mind to add support for other internal functions while I was hacking it. Now, I see we have ap_register_rewrite_mapfunc in the

Re: Clarification on how check_user_id hook works

2006-10-10 Thread Nick Kew
On Tuesday 10 October 2006 09:33, Javier Sagrera wrote: > I can't see that using the 2nd and 3rd argument would be a proper solution, > then you will need to write > you module based in what other module you have loaded in your apache which > doesnt look quite good idea to me. Nope. Those are to

Re: Clarification on how check_user_id hook works

2006-10-10 Thread Javier Sagrera
Thanks for the reply, So basically, you have no control what so ever of when the function will be called if you register it with MIDDLE? You need to rely on other functions to return a DECLINED? I can't see that using the 2nd and 3rd argument would be a proper solution, then you will need to w