Correct way to have a persistent connection between requests?

2013-11-29 Thread Kean Johnston
Hello everyone, I am new to this list and I apologize in advance if this is the wrong forum to ask module related questions or if this is a FAQ. I am writing a module for FastCGI handling(*) that deals solely with FastCGI applications over either a local socket or a TCP socket. It will be a

Re: Correct way to have a persistent connection between requests?

2013-11-29 Thread Nick Kew
On 29 Nov 2013, at 09:13, Kean Johnston wrote: Hello everyone, I am new to this list and I apologize in advance if this is the wrong forum to ask module related questions or if this is a FAQ. There is the modules-dev list. I am writing a module for FastCGI handling(*) that deals solely

adding hook into mod_auth_form

2013-11-29 Thread Thomas Eckert
Trying to add a hook to mod_auth_form via diff --git a/include/mod_auth.h b/include/mod_auth.h index 9b9561e..74e2dc6 100644 --- a/include/mod_auth.h +++ b/include/mod_auth.h @@ -134,6 +134,8 @@ APR_DECLARE_OPTIONAL_FN(void, ap_authn_cache_store, (request_rec*, const

AW: adding hook into mod_auth_form

2013-11-29 Thread Plüm , Rüdiger , Vodafone Group
I guess your second example is correct (with EXTERNAL), but you miss the following before in the header file (example from mod_proxy): /* Create a set of PROXY_DECLARE(type), PROXY_DECLARE_NONSTD(type) and * PROXY_DECLARE_DATA with appropriate export and import tags for the platform */ #if

Re: Correct way to have a persistent connection between requests?

2013-11-29 Thread Kean Johnston
On 11/29/2013 12:12 PM, Nick Kew wrote: There is the modules-dev list. I tried there first but got no response and it seems like a very low volume list with very few participants. I guess you're asking how to manage a resource that'll outlive Requests and (client) Connections? That is

Re: Correct way to have a persistent connection between requests?

2013-11-29 Thread Kean Johnston
On 11/29/2013 12:12 PM, Nick Kew wrote: Take a look at apr_reslist. It may be even better than you'd hoped. This does look exciting. If I am understanding my casual reading of its header correctly what I can do is create the resource list during child_init, and ensure it has enough slots for