Skip to content

Commit bdec1a2

Browse files
aajtoddgoatgooselandonxjames
authored
change default HTTPS client to hyper1 (#4040)
## Motivation and Context <!--- Why is this change required? What problem does it solve? --> <!--- If it fixes an open issue, please link to the issue here --> * #3710 * #1925 * awslabs/aws-sdk-rust#977 ## Description Updates the default HTTPS client to be based off hyper 1.x, rustls, and aws-lc. See the GitHub discussion: awslabs/aws-sdk-rust#1257 This PR is a rollup of previously reviewed PRs: * Refactor the runtime structure and consolidate HTTP client implementation(s): [smithy-rs#3866](#3866) * Migrate HTTP test utils: [smithy-rs#3888](#3888) * Update runtime to use new test utils: [smithy-rs#3898](#3898) * Backport connection poisoning: [smithy-rs#3795](#3795) * Deprecate HTTP 02x presign APIs: [smithy-rs#3823](#3823) * Enable hyper1 as default client: [smithy-rs#]() * Enable hyper1 behind BMV:[smithy-rs#3973](#3973) * s2n-tls provider (by Sam): [smithy-rs#3965](#3965) * custom TLS config: [smithy-rs#4032](#4032) ## Testing <!--- Please describe in detail how you tested your changes --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> ## Checklist <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [x] For changes to the smithy-rs codegen or runtime crates, I have created a changelog entry Markdown file in the `.changelog` directory, specifying "client," "server," or both in the `applies_to` key. - [x] For changes to the AWS SDK, generated SDK code, or SDK runtime crates, I have created a changelog entry Markdown file in the `.changelog` directory, specifying "aws-sdk-rust" in the `applies_to` key. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ --------- Co-authored-by: Sam Clark <[email protected]> Co-authored-by: Landon James <[email protected]>
1 parent b342506 commit bdec1a2

File tree

218 files changed

+6142
-3337
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

218 files changed

+6142
-3337
lines changed

.changelog/1741027916.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
applies_to:
3+
- aws-sdk-rust
4+
- client
5+
authors:
6+
- aajtodd
7+
references:
8+
- aws-sdk-rust#977
9+
- smithy-rs#1925
10+
- smithy-rs#3710
11+
breaking: false
12+
new_feature: false
13+
bug_fix: false
14+
---
15+
Updates the default HTTP client to be based on the 1.x version of hyper and updates the default TLS provider to [rustls](https://github.com/rustls/rustls) with [aws-lc](https://github.com/aws/aws-lc-rs). For more information see the GitHub [discussion](https://github.com/awslabs/aws-sdk-rust/discussions/1257).

.github/workflows/ci.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -241,35 +241,35 @@ jobs:
241241
name: Exotic platform support
242242
runs-on: ubuntu-latest
243243
timeout-minutes: 10
244+
env:
245+
CROSS_CONFIG: Cross.toml
244246
strategy:
245247
fail-fast: false
248+
# We always exclude `aws-smithy-http-server-python`, `aws-smithy-http-server-typescript`, and `aws-smithy-experimental` since they are experimental.
249+
# We exclude `aws-smithy-http-client` due to FIPS related feature flags and aws-lc-fips target support
246250
matrix:
247251
include:
248-
# We always exclude `aws-smithy-http-server-python` and
249-
# `aws-smithy-http-server-typescript` since they are experimental.
250252
- target: i686-unknown-linux-gnu
251253
build_smithy_rs_features: --all-features
252254
build_aws_exclude: ''
253-
build_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental
255+
build_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
254256
test_smithy_rs_features: --all-features
255257
test_aws_exclude: ''
256-
test_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental
258+
test_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
257259
- target: powerpc-unknown-linux-gnu
258260
build_smithy_rs_features: ''
259261
build_aws_exclude: --exclude aws-inlineable
260-
build_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental
262+
build_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
261263
test_smithy_rs_features: ''
262264
test_aws_exclude: --exclude aws-inlineable
263-
test_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript
265+
test_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
264266
- target: powerpc64-unknown-linux-gnu
265267
build_smithy_rs_features: ''
266268
build_aws_exclude: --exclude aws-inlineable
267-
build_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental
269+
build_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
268270
test_smithy_rs_features: ''
269271
test_aws_exclude: --exclude aws-inlineable
270-
test_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental
271-
env:
272-
CROSS_CONFIG: Cross.toml
272+
test_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
273273
steps:
274274
- name: Checkout
275275
uses: actions/checkout@v4

0 commit comments

Comments
 (0)