Hi Michael

the server dies during the OpenCA::Server->run call and it does not make
it to process_request function. It seems to me that it is hanging in a
loop or an infinite recursive call because the kernel kills the startup
process. I traced in the Server->run and it seems like it dies at $self-
>loop. Here is were I get lost, I put a print statement at the beginning
of the sub loop but it never gets to it, but it will print the print
statement I placed right before it makes the $self->loop call. Any ideas
are welcome. 



best regards,
Bahaa Al-amood
On Wed, 2005-02-09 at 08:45 +0100, Michael Bell wrote:
> Hi Bahaa,
> 
> > I am still having hard time with this LunaCA3  module, can you  tell me
> > where is this function OpenCA::Server->run implemented, it is being
> > called from lib//functions/initServer and my trace stops at it and it
> > does not go beyond this function call. I need to see what this function
> > is doing so I can continue my trace.
> 
> initServer is part of the module OpenCA::Server. This module inherits 
> (via @ISA) from the module Net::Server. This class implements the real 
> server technology. run is a function from Net::Server. If the server 
> receives a connect then several actions (redirecting STDIN and STDOUT) 
> are handled by the module Net::Server. The startup of the server ends 
> with this call.
> 
> The normal server action (handling http and other connects) is done by 
> the function process_request. If a class that inherits from Net::Server 
> is implemented then this function is automatically used to do the work. 
> The function is in initServer directly after the call of the function run.
> 
> Please see the docs of Net:Server for a better explanation. This is only 
> the short version.
> 
> Michael

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to