diff options
author | Eliza Weisman <eliza@buoyant.io> | 2020-11-16 12:29:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-16 12:29:03 -0800 |
commit | f5cb4c20422a35b51bfba3391744f8bcb54f7581 (patch) | |
tree | fcf642984a21d04533efad0cdde613d294635c4d /tokio/Cargo.toml | |
parent | 4e39c9b818eb8af064bb9f45f47e3cfc6593de95 (diff) |
net: Add send/recv buf size methods to `TcpSocket` (#3145)
This commit adds `set_{send, recv}_buffer_size` methods to `TcpSocket`
for setting the size of the TCP send and receive buffers, and `{send,
recv}_buffer_size` methods for returning the current value. These just
call into similar methods on `mio`'s `TcpSocket` type, which were added
in tokio-rs/mio#1384.
Refs: #3082
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Diffstat (limited to 'tokio/Cargo.toml')
-rw-r--r-- | tokio/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 1c454b9a..1af88fe0 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -98,7 +98,7 @@ bytes = { version = "0.6.0", optional = true } futures-core = { version = "0.3.0", optional = true } lazy_static = { version = "1.4.0", optional = true } memchr = { version = "2.2", optional = true } -mio = { version = "0.7.5", optional = true } +mio = { version = "0.7.6", optional = true } num_cpus = { version = "1.8.0", optional = true } parking_lot = { version = "0.11.0", optional = true } slab = { version = "0.4.1", optional = true } |