Skip to content

Preserve Guzzle client default timeout - #917

Open
GrahamCampbell wants to merge 1 commit into
twilio:mainfrom
GrahamCampbell:gc/preserve-guzzle-client-timeout
Open

Preserve Guzzle client default timeout#917
GrahamCampbell wants to merge 1 commit into
twilio:mainfrom
GrahamCampbell:gc/preserve-guzzle-client-timeout

Conversation

@GrahamCampbell

Copy link
Copy Markdown

GuzzleClient currently passes timeout as null when Twilio does not receive a per-request timeout. That prevents timeout defaults configured on the injected Guzzle client from applying.

This only sends the timeout option when Twilio receives an explicit timeout value, matching CurlClient's behavior where null means no per-request override rather than clearing the client's configured timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants