From c60cde9a1e331f539b7ef5a7705f42092e646f90 Mon Sep 17 00:00:00 2001 From: Fneufneu Date: Tue, 31 Dec 2024 17:35:28 +0100 Subject: [PATCH] Forward Cancellation in ConnectionLimitingServerSocket (#377) --- src/Driver/ConnectionLimitingServerSocket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Driver/ConnectionLimitingServerSocket.php b/src/Driver/ConnectionLimitingServerSocket.php index 88763b6f..3af4cb52 100644 --- a/src/Driver/ConnectionLimitingServerSocket.php +++ b/src/Driver/ConnectionLimitingServerSocket.php @@ -21,7 +21,7 @@ public function accept(?Cancellation $cancellation = null): ?Socket { $lock = $this->semaphore->acquire(); - $socket = $this->socketServer->accept(); + $socket = $this->socketServer->accept($cancellation); if (!$socket) { $lock->release(); return null;