Skip to content

Commit 3c0ed9a

Browse files
committed
6.5.1
Same as 6.5.0 with one change: `Config::max_connections_per_host()` is now properly named `Config::set_max_connections_per_host()`. ### Added - `Config` has been stabilized and is now available by default! - `wasm_client` support for `Config` (only timeouts). - `Config::max_connections_per_host` (Supported on `h1_client` and `curl_client`.) ### Deprecated - `H1Client::with_max_connections()` was been superseded by `Config::max_connections_per_host`.
1 parent 80e4fc5 commit 3c0ed9a

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

Diff for: CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,21 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview
77

88
## [Unreleased]
99

10+
Same as 6.5.0 with one change:
11+
12+
`Config::max_connections_per_host()` is now properly named `Config::set_max_connections_per_host()`.
13+
1014
## [6.5.0]
1115

16+
(Yanked)
17+
1218
### Added
1319
- `Config` has been stabilized and is now available by default!
1420
- `wasm_client` support for `Config` (only timeouts).
1521
- `Config::max_connections_per_host` (Supported on `h1_client` and `curl_client`.)
1622

1723
### Deprecated
18-
- `H1Client::with_max_connections()` was been superseded by `Config::max_connections_per_host`.
24+
- `H1Client::with_max_connections()` will be superseded by `Config::max_connections_per_host`.
1925

2026
## [6.4.1] - 2021-05-19
2127

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "http-client"
3-
version = "6.5.0"
3+
version = "6.5.1"
44
license = "MIT OR Apache-2.0"
55
repository = "https://github.com/http-rs/http-client"
66
documentation = "https://docs.rs/http-client"

Diff for: src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ impl Config {
110110
}
111111

112112
/// Set the maximum number of simultaneous connections that this client is allowed to keep open to individual hosts at one time.
113-
pub fn max_connections_per_host(mut self, max_connections_per_host: usize) -> Self {
113+
pub fn set_max_connections_per_host(mut self, max_connections_per_host: usize) -> Self {
114114
self.max_connections_per_host = max_connections_per_host;
115115
self
116116
}

0 commit comments

Comments
 (0)