Skip to content

Commit

Permalink
Forward Cancellation in ConnectionLimitingServerSocket
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickael Maillot committed Dec 30, 2024
1 parent 027bd02 commit e63d2b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Driver/ConnectionLimitingServerSocket.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e63d2b8

Please sign in to comment.