Skip to content

Commit c60cde9

Browse files
authored
Forward Cancellation in ConnectionLimitingServerSocket (#377)
1 parent 027bd02 commit c60cde9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Driver/ConnectionLimitingServerSocket.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function accept(?Cancellation $cancellation = null): ?Socket
2121
{
2222
$lock = $this->semaphore->acquire();
2323

24-
$socket = $this->socketServer->accept();
24+
$socket = $this->socketServer->accept($cancellation);
2525
if (!$socket) {
2626
$lock->release();
2727
return null;

0 commit comments

Comments
 (0)