From ebfc5f55e50972520ead1fda7cabcdc494c61e3f Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 4 May 2013 23:56:19 +0900 Subject: Add SessionConfig to store per Session config sessionConfigSetKeepRunning() was removed and SessionConfig has keepRunning member instead. Signal handlers are now all prepared in MultiUrlRequestGroup object. Setting SessionConfig.useSignalHandler to false will avoid signal handler setup. --- src/KeepRunningCommand.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/KeepRunningCommand.cc') diff --git a/src/KeepRunningCommand.cc b/src/KeepRunningCommand.cc index f917d5e1..995f3027 100644 --- a/src/KeepRunningCommand.cc +++ b/src/KeepRunningCommand.cc @@ -49,8 +49,7 @@ KeepRunningCommand::~KeepRunningCommand() {} bool KeepRunningCommand::execute() { - if(!e_->getRequestGroupMan()->getKeepRunning() || - e_->isHaltRequested()) { + if(e_->isHaltRequested()) { return true; } e_->addCommand(this); -- cgit