-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating RetryableHttp lib to latest (#3967)
Signed-off-by: Matthias Wessendorf <[email protected]>
- Loading branch information
Showing
83 changed files
with
9,713 additions
and
4,388 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
third_party/VENDOR-LICENSE/github.com/hashicorp/go-retryablehttp/.go-version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.22.2 |
33 changes: 33 additions & 0 deletions
33
third_party/VENDOR-LICENSE/github.com/hashicorp/go-retryablehttp/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
## 0.7.7 (May 30, 2024) | ||
|
||
BUG FIXES: | ||
|
||
- client: avoid potentially leaking URL-embedded basic authentication credentials in logs (#158) | ||
|
||
## 0.7.6 (May 9, 2024) | ||
|
||
ENHANCEMENTS: | ||
|
||
- client: support a `RetryPrepare` function for modifying the request before retrying (#216) | ||
- client: support HTTP-date values for `Retry-After` header value (#138) | ||
- client: avoid reading entire body when the body is a `*bytes.Reader` (#197) | ||
|
||
BUG FIXES: | ||
|
||
- client: fix a broken check for invalid server certificate in go 1.20+ (#210) | ||
|
||
## 0.7.5 (Nov 8, 2023) | ||
|
||
BUG FIXES: | ||
|
||
- client: fixes an issue where the request body is not preserved on temporary redirects or re-established HTTP/2 connections (#207) | ||
|
||
## 0.7.4 (Jun 6, 2023) | ||
|
||
BUG FIXES: | ||
|
||
- client: fixing an issue where the Content-Type header wouldn't be sent with an empty payload when using HTTP/2 (#194) | ||
|
||
## 0.7.3 (May 15, 2023) | ||
|
||
Initial release |
1 change: 1 addition & 0 deletions
1
third_party/VENDOR-LICENSE/github.com/hashicorp/go-retryablehttp/CODEOWNERS
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @hashicorp/go-retryablehttp-maintainers |
2 changes: 2 additions & 0 deletions
2
third_party/VENDOR-LICENSE/github.com/hashicorp/go-retryablehttp/LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
Copyright (c) 2015 HashiCorp, Inc. | ||
|
||
Mozilla Public License, version 2.0 | ||
|
||
1. Definitions | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
third_party/VENDOR-LICENSE/github.com/hashicorp/go-retryablehttp/cert_error_go119.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright (c) HashiCorp, Inc. | ||
// SPDX-License-Identifier: MPL-2.0 | ||
|
||
//go:build !go1.20 | ||
// +build !go1.20 | ||
|
||
package retryablehttp | ||
|
||
import "crypto/x509" | ||
|
||
func isCertError(err error) bool { | ||
_, ok := err.(x509.UnknownAuthorityError) | ||
return ok | ||
} |
14 changes: 14 additions & 0 deletions
14
third_party/VENDOR-LICENSE/github.com/hashicorp/go-retryablehttp/cert_error_go120.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright (c) HashiCorp, Inc. | ||
// SPDX-License-Identifier: MPL-2.0 | ||
|
||
//go:build go1.20 | ||
// +build go1.20 | ||
|
||
package retryablehttp | ||
|
||
import "crypto/tls" | ||
|
||
func isCertError(err error) bool { | ||
_, ok := err.(*tls.CertificateVerificationError) | ||
return ok | ||
} |
Oops, something went wrong.