Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

enable user configuration of curl options connecttimeout and timeout#99

Open
wfehr wants to merge 1 commit into
amzn:masterfrom
wfehr:fix-timeout
Open

enable user configuration of curl options connecttimeout and timeout#99
wfehr wants to merge 1 commit into
amzn:masterfrom
wfehr:fix-timeout

Conversation

@wfehr
Copy link
Copy Markdown

@wfehr wfehr commented Dec 9, 2022

Description of changes:

  • enable configuration of CURLOPT_CONNECTTIMEOUT and CURLOPT_TIMEOUT

The values of these new keys are set to the defaults of curl.
Now the user can also change these two values for their requirements.
When server errors occur on amazons side (which can happen, as on dec 7th) you
can now configure to just let the user wait for example 60s before it times out
instead of 300s on each request/process.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The values of these new keys are set to the defaults of curl.
Now the user can also change these two values for their requirements.
When server errors occur on amazons side (which can happen, as on dec 7th) you
can now configure to just let the user wait for example 60s before it times out
instead of 300s on each request/process.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant