bayonne-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bayonne-devel] Exiting during a libexec result in later TGI problem.


From: Julien Chavanton
Subject: [Bayonne-devel] Exiting during a libexec result in later TGI problem.
Date: Thu, 1 Feb 2007 11:36:18 -0500

I think we have a problem with the following code:
 
     libexec 0 test.pl
     hangup
     exit

After execution TGI will log:

     tgi: exec (/usr/local/libexec/bayonne/test.pl)

However during subsequent execution of libexec command TGI will not log "tgi: 
exec (/usr/local/libexec/bayonne/test.pl)" anymore.

I know this is logged from the tgi read loop in server.cpp I am wandering why 
tgi is still working and not logging this anymore I would expect it from 
stoping working completely.

from server.cpp:
 
    while(read(tgipipe[0], &cmd, sizeof(cmd)) == sizeof(cmd))
    {
     ...
     slog(Slog::levelDebug) << "tgi: exec (" << buffer <<")"<< endl;
     ...
    }


reply via email to

[Prev in Thread] Current Thread [Next in Thread]