On Fri, 19 Sep 2008 10:13:21 -0700
ABorka <[EMAIL PROTECTED]> wrote:
> This is how currently the code looks like for the problematic call:
>
> FCriticalSection.Enter;
> try
>if (FMaxRequests>0) and (FWorkingWebModules.Count>=FMaxRequests)
> then Raise EFPApacheError.Create(SErrTooManyRequests
This is how currently the code looks like for the problematic call:
FCriticalSection.Enter;
try
if (FMaxRequests>0) and (FWorkingWebModules.Count>=FMaxRequests) then
Raise EFPApacheError.Create(SErrTooManyRequests);
if FIdleWebModules.Count > 0 then
begin
II := FIdleWebModules.Count
On Fri, 19 Sep 2008, Martin Friebe wrote:
> Michael Van Canneyt wrote:
> > On Fri, 19 Sep 2008, ABorka wrote
> > > Hi Michael,
> > >
> > > It was created in fpapache.pp in the handlerequest event.
> > >
> > > M:=MC.create(self);
> > >
> > > It worked without using the createnew, with the latest
On Fri, 19 Sep 2008, ABorka wrote:
> The thing is that for apache modules it is needed to have multiple
> webmodules created for simultaneous requests coming from multiple people
> browsing the web server. I was creating some pooling for the web modules
> in fpapache.pp and simulated 2 concurren
Michael Van Canneyt wrote:
On Fri, 19 Sep 2008, ABorka wrote
Hi Michael,
It was created in fpapache.pp in the handlerequest event.
M:=MC.create(self);
It worked without using the createnew, with the latest FPC source code.
This is weird, because the code before that searches if there is
The thing is that for apache modules it is needed to have multiple
webmodules created for simultaneous requests coming from multiple people
browsing the web server. I was creating some pooling for the web modules
in fpapache.pp and simulated 2 concurrent requests when it happened.
If we change the
On Fri, 19 Sep 2008, ABorka wrote:
>
> Hi Michael,
>
> It was created in fpapache.pp in the handlerequest event.
>
> M:=MC.create(self);
>
> It worked without using the createnew, with the latest FPC source code.
This is weird, because the code before that searches if there is an existing
i
Hi Michael,
It was created in fpapache.pp in the handlerequest event.
M:=MC.create(self);
It worked without using the createnew, with the latest FPC source code.
AB
>
>
> On Thu, 18 Sep 2008, ABorka wrote:
>
>> Hi,
>>
>> I'm working on the Apache application (TCustomApacheApplication)
>> simul
On Thu, 18 Sep 2008, ABorka wrote:
> Hi,
>
> I'm working on the Apache application (TCustomApacheApplication) simultaneous
> request handling.
>
> When the Apache module tries to create additional instances of the web module
> I get
> `Error: Duplicate name: A component named "FPWebModule1" al
Hi,
I'm working on the Apache application (TCustomApacheApplication)
simultaneous request handling.
When the Apache module tries to create additional instances of the web
module I get
`Error: Duplicate name: A component named "FPWebModule1" already exists`
How can we create multiple instanc
10 matches
Mail list logo