Skip to content

Commit

Permalink
Add missing cancellation token
Browse files Browse the repository at this point in the history
  • Loading branch information
lennartdohmann committed Dec 18, 2024
1 parent 32c0829 commit 6d58eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/src/vaas/Vaas.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function forStreamAsync(ReadableStream $stream, int $fileSize, ?ForStream
$request->setTransferTimeout($options->timeout);
$this->addRequestHeadersAsync($request, $options->vaasRequestId)->await();
$this->logger->debug("Send request for file stream: " . self::logUri($request));
$response = $this->httpClient->request($request);
$response = $this->httpClient->request($request, $cancellation);
} finally {
$stream->close();
}
Expand Down

0 comments on commit 6d58eb3

Please sign in to comment.