← All changes
|
vendor_prefixed/guzzlehttp/guzzle/src/Handler/CurlHandler.php
+1
-0
28.2
→
trunk
View file →
| @@ -52,8 +52,9 @@ | ||
| 52 | 52 | $this->factory = $this->shareHandleState !== null ? new \YoastSEO_Vendor\GuzzleHttp\Handler\CurlFactory(3, $this->shareHandleState->mode, $this->shareHandleState) : new \YoastSEO_Vendor\GuzzleHttp\Handler\CurlFactory(3); |
| 53 | 53 | } |
| 54 | 54 | public function __invoke(\YoastSEO_Vendor\Psr\Http\Message\RequestInterface $request, array $options) : \YoastSEO_Vendor\GuzzleHttp\Promise\PromiseInterface |
| 55 | 55 | { |
| 56 | + \YoastSEO_Vendor\GuzzleHttp\Handler\HostValidator::assertRequestHost($request); | |
| 56 | 57 | if (isset($options['delay'])) { |
| 57 | 58 | \usleep($options['delay'] * 1000); |
| 58 | 59 | } |
| 59 | 60 | // A Multiplexing::NONE request option holds unconditionally here: |