Skip to content

Commit

Permalink
Forward Cancellation in ConnectionLimitingServerSocket (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fneufneu authored Dec 31, 2024
1 parent 027bd02 commit c60cde9
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 c60cde9

Please sign in to comment.