RE: Load memory dyanamically using handler.

2008-12-11 Thread Jayasingh Samuel
Hi all, I tried this. struct check { int data; } *strucSup; shmid = shmget(key, 32768 * sizeof(strucSup), IPC_CREAT | 0666)) 0); This was working and the value inserted in one process was seen in other process. But when i tried this. struct check { int *data;

Re: Load memory dyanamically using handler.

2008-12-11 Thread Ray Morris
On 12/10/2008 02:09:19 AM, Sorin Manolache wrote: I would propose the following approach: Hook post_config. This one is executed once by the parent process before any child is spawned. Therefore, any resource opened there is inherited by all child processes. Thus, I would create _shared_

Re: Load memory dyanamically using handler.

2008-12-11 Thread Sorin Manolache
On Thu, Dec 11, 2008 at 19:55, Ray Morris supp...@bettercgi.com wrote: On 12/10/2008 02:09:19 AM, Sorin Manolache wrote: I would propose the following approach: Hook post_config. This one is executed once by the parent process before any child is spawned. Therefore, any resource opened there

Re: Load memory dyanamically using handler.

2008-12-11 Thread Sorin Manolache
On Thu, Dec 11, 2008 at 22:08, Sorin Manolache sor...@gmail.com wrote: On Thu, Dec 11, 2008 at 19:55, Ray Morris supp...@bettercgi.com wrote: On 12/10/2008 02:09:19 AM, Sorin Manolache wrote: I would propose the following approach: Hook post_config. This one is executed once by the parent

Re: mod_fcgid incubation?

2008-12-11 Thread Jim Jagielski
On Dec 10, 2008, at 8:05 PM, Roy T. Fielding wrote: On Dec 10, 2008, at 4:51 AM, Jim Jagielski wrote: On Dec 9, 2008, at 4:56 PM, Nick Kew wrote: It's unfortunate there's no clear copyright statement, but would it not be reasonable to assume Copyright Pan Qingfeng and deal with him?

ap_expr.h interface review

2008-12-11 Thread Joe Orton
typedef enum { TOKEN_STRING, TOKEN_RE, TOKEN_AND, } token_type_t; } token_t; } backref_t; ... all lack namespace-safety. as do: typedef const char *(*string_func_t)(request_rec*, const char*); typedef int (*opt_func_t)(request_rec*, ap_parse_node_t*, string_func_t); which are also

mod_fcgid license questions

2008-12-11 Thread Chris Darroch
Hi -- I believe Pan Qingfeng (潘庆峰), the developer of mod_fcgid, has joined this list for the time being while the possibility of mod_fcgid becoming project in the Apache incubator is discussed. I'll use his English name of Ryan Pan from here on. I asked Ryan to join so that he could answer

Re: Authz directives

2008-12-11 Thread Roy T. Fielding
On Dec 9, 2008, at 10:45 AM, Chris Darroch wrote: This is all fairly simple, I think, especially if MatchNotAny/RequireNone is removed as well so that Require retains its apparent meaning everywhere. See if the patch below meets your expectations; if so, I'll commit it and update the

Re: Authz directives

2008-12-11 Thread Chris Darroch
Roy T. Fielding wrote: I don't see a problem with RequireNone inverting the logic, and I think it would actually be useful for blocking a set of bad clients. Is it difficult to include that without MatchNotAny? Not at all difficult; trivial, in fact. The only reason I took it out as well

Re: mod_fcgid license questions

2008-12-11 Thread pqf
Hi, guys Nice to meet you :) I hope I can help to clarify the questions. When you wrote mod_fcgid, was there any code which you borrowed from mod_fastcgi? No. I didn't borrow any code from mod_fastcgi. Your current intention is for mod_fcgid to be available under the GPL