From b5f4e0919e13d0be0ce59e7a6ea764419a02f93b Mon Sep 17 00:00:00 2001 From: ash-m Date: Thu, 26 Oct 2023 16:16:59 -0700 Subject: [PATCH] Remove SIGKILL handling from reactphp (#136) Co-authored-by: Alexander Schranz --- src/reactphp/src/ServerFactory.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/reactphp/src/ServerFactory.php b/src/reactphp/src/ServerFactory.php index e449471..9ec6a42 100644 --- a/src/reactphp/src/ServerFactory.php +++ b/src/reactphp/src/ServerFactory.php @@ -36,9 +36,6 @@ public function createServer(RequestHandlerInterface $requestHandler): LoopInter $loop->addSignal(SIGTERM, function (int $signal) { exit(128 + $signal); }); - $loop->addSignal(SIGKILL, function (int $signal) { - exit(128 + $signal); - }); $server = new HttpServer($loop, function (ServerRequestInterface $request) use ($requestHandler) { return $requestHandler->handle($request); });