diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-05-04 23:56:19 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-05-04 23:56:19 +0900 |
| commit | ebfc5f55e50972520ead1fda7cabcdc494c61e3f (patch) | |
| tree | 28f38146a71ace546d67ac3742b9e91855aed515 /src/KeepRunningCommand.cc | |
| parent | 7d55341fded7b88f528b62a5527f9df8bc3259d8 (diff) | |
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.
Diffstat (limited to 'src/KeepRunningCommand.cc')
| -rw-r--r-- | src/KeepRunningCommand.cc | 3 |
1 files changed, 1 insertions, 2 deletions
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); |
