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(); }