Commit 01db173a authored by Gavin Staniforth's avatar Gavin Staniforth Committed by GitHub

fix(client): set the connection timeout as the timeout (like Guzzlev3)

parent aa463671
......@@ -74,6 +74,7 @@ class Guzzle extends Configurable implements AdapterInterface
RequestOptions::HEADERS => $this->getRequestHeaders($request),
RequestOptions::BODY => $this->getRequestBody($request),
RequestOptions::TIMEOUT => $endpoint->getTimeout(),
RequestOptions::CONNECT_TIMEOUT => $endpoint->getTimeout()
];
// Try endpoint authentication first, fallback to request for backwards compatibility
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment