Child init process is not initialized with the data stored by master process

2008-07-24 Thread lusob
Hello, I have initialized a struct by a directive and I need to access to it in child init proceses. But in the child init proceses the struct is not initialized with the data stored in setServer. This is the struct to initialize: typedef struct { const char* pszServer; const ch

Re: Child init process is not initialized with the data stored by master process

2008-07-24 Thread Kevac Marko
There are main server_rec structure for main server and one server_rec for each Virtual Host. So in child_init you should walk all of them: while (s) { do_smth(); s = s->next; } One of these should keep initialized structure. On Thu, Jul 24, 2008 at 1:05 PM, lusob <[EMAIL PROTECTED]> wr

RE: porting from IIS

2008-07-24 Thread Harold J. Ship
Nick: Thank you for your reply, but I still don't quite get it. >> module on Linux. > An apache module is normally cross-platform. Yes I know, and we will try to make ours cross platform but I believe there are some differences between Windows and Linux versions with respect to threading. >> 1)

Re: Local Memory pool

2008-07-24 Thread Jason Fister
I am sending this again hoping someone would respond. Thanks in advance. Jason On Tue, Jul 22, 2008 at 11:42 AM, Jason Fister <[EMAIL PROTECTED]> wrote: > Hello all, > > In my apache module, I receive, process and return large amounts of data. > The size of the data could be as large as 100's o

Re: porting from IIS

2008-07-24 Thread Nick Kew
On Thu, 24 Jul 2008 15:56:07 +0300 "Harold J. Ship" <[EMAIL PROTECTED]> wrote: > How it works today: there are 3 types of request: light, medium and > heavy. > We will need 2 "pools" of threads. One for handling light requests, > and one for medium/heavy. That sounds rather like a new MPM. > Th