Commit 78d44aa9 authored by Bas de Nooijer's avatar Bas de Nooijer Committed by GitHub

Merge pull request #497 from gsdevme/patch-2

fix(client): set the connection timeout as the timeout (like Guzzlev3)
parents 75ea134d b0f386dd
......@@ -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