From 6d58eb3df07164d9600a8768a00415e36436dbae Mon Sep 17 00:00:00 2001 From: Lennart Dohmann Date: Wed, 18 Dec 2024 15:48:14 +0100 Subject: [PATCH] Add missing cancellation token --- php/src/vaas/Vaas.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/src/vaas/Vaas.php b/php/src/vaas/Vaas.php index e02d8512..41845d95 100644 --- a/php/src/vaas/Vaas.php +++ b/php/src/vaas/Vaas.php @@ -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(); }