Skip to content

Commit

Permalink
Enable TLS renegotiation (#21182)
Browse files Browse the repository at this point in the history
Some endpoints require TLS renegotiation.  There is no change in
behavior for endpoints that don't.
  • Loading branch information
jhendrixMSFT committed Aug 14, 2023
1 parent 624baba commit b1db0be
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions sdk/azcore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 1.7.1 (2023-08-14)

## Bugs Fixed

* Enable TLS renegotiation in the default transport policy.

## 1.7.0 (2023-07-12)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/azcore/internal/shared/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ const (
Module = "azcore"

// Version is the semantic version (see http://semver.org) of this module.
Version = "v1.7.0"
Version = "v1.7.1"
)
3 changes: 2 additions & 1 deletion sdk/azcore/runtime/transport_default_http_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ func init() {
TLSHandshakeTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second,
TLSClientConfig: &tls.Config{
MinVersion: tls.VersionTLS12,
MinVersion: tls.VersionTLS12,
Renegotiation: tls.RenegotiateFreelyAsClient,
},
}
defaultHTTPClient = &http.Client{
Expand Down

0 comments on commit b1db0be

Please sign in to comment.