8000 Tags · sethgrid/pester · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: sethgrid/pester

Tags
A931

v1.2.0

Toggle v1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix POST retries (#45)

* Add test to verify backoff Context cancellation behaviour
* Verify that call will return error when Context-cancelled during backoff
* Verify that error is due to Context-cancellation

* Fix Context-cancellation during backoff
* Context cancellation would result in no result being sent, thus
  causing the operation to hang in many circumstances

* Add tests to verify retry behaviour with POST requests
* Add test for POST-requests provided by Do() with a body
* Add test for POST-requests provided by Post() with a body
* Add middlewareServer to support POST tests

* Fix retries for requests with bodies
* Provide each concurrent request with its own Request so they do not
  interfere with each other. Eg reading/closing each others bodies.
* Reset body before retrying when requests have bodies

* Fix first request with Do and a body failing due to copyBody closing it

v1.1.0

Toggle v1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
adding context.Context to loghook to allow tracing id extraction for …

…custom loghooks (#40)

Co-authored-by: mdreikorn <mdreikorn@twilio.com>

1.0.0

Toggle 1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #35 from pritamsarkar007/master

cofigurable retries for HTTP 429
0