Loading CHANGELOG.next.toml +6 −0 Original line number Diff line number Diff line Loading @@ -125,3 +125,9 @@ message = "The client Config now has getters for every value that it holds." references = ["smithy-rs#1747"] meta = { "breaking" = false, "tada" = false, "bug" = true } author = "kastolars" [[aws-sdk-rust]] message = "Fix regression where `connect_timeout` and `read_timeout` fields are unused in the IMDS client" references = ["smithy-rs#1822"] meta = { "breaking" = false, "tada" = false, "bug" = true } author = "kevinpark1217" aws/rust-runtime/aws-config/src/imds/client.rs +2 −2 Original line number Diff line number Diff line Loading @@ -556,8 +556,8 @@ impl Builder { pub async fn build(self) -> Result<Client, BuildError> { let config = self.config.unwrap_or_default(); let timeout_config = TimeoutConfig::builder() .connect_timeout(DEFAULT_CONNECT_TIMEOUT) .read_timeout(DEFAULT_READ_TIMEOUT) .connect_timeout(self.connect_timeout.unwrap_or(DEFAULT_CONNECT_TIMEOUT)) .read_timeout(self.read_timeout.unwrap_or(DEFAULT_READ_TIMEOUT)) .build(); let connector_settings = ConnectorSettings::from_timeout_config(&timeout_config); let connector = expect_connector(config.connector(&connector_settings)); Loading Loading
CHANGELOG.next.toml +6 −0 Original line number Diff line number Diff line Loading @@ -125,3 +125,9 @@ message = "The client Config now has getters for every value that it holds." references = ["smithy-rs#1747"] meta = { "breaking" = false, "tada" = false, "bug" = true } author = "kastolars" [[aws-sdk-rust]] message = "Fix regression where `connect_timeout` and `read_timeout` fields are unused in the IMDS client" references = ["smithy-rs#1822"] meta = { "breaking" = false, "tada" = false, "bug" = true } author = "kevinpark1217"
aws/rust-runtime/aws-config/src/imds/client.rs +2 −2 Original line number Diff line number Diff line Loading @@ -556,8 +556,8 @@ impl Builder { pub async fn build(self) -> Result<Client, BuildError> { let config = self.config.unwrap_or_default(); let timeout_config = TimeoutConfig::builder() .connect_timeout(DEFAULT_CONNECT_TIMEOUT) .read_timeout(DEFAULT_READ_TIMEOUT) .connect_timeout(self.connect_timeout.unwrap_or(DEFAULT_CONNECT_TIMEOUT)) .read_timeout(self.read_timeout.unwrap_or(DEFAULT_READ_TIMEOUT)) .build(); let connector_settings = ConnectorSettings::from_timeout_config(&timeout_config); let connector = expect_connector(config.connector(&connector_settings)); Loading