diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-06-09 13:55:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-09 13:55:32 +0200 |
| commit | d9563a5aa4b3cb361e5b9bf9c95e8a47b684119a (patch) | |
| tree | 3d65a5c75864b5ca1bdfa38bfdd5389fbb173b33 /library/std/src/os/linux | |
| parent | b6685d748fe4668571c05ba338f61520db6dacc9 (diff) | |
| parent | 1666f8684d7cd274c24ef5dc3f09a3e192a463ba (diff) | |
Rollup merge of #129121 - devnexen:stabilize_ext_linux_tcp_layer, r=tgross35
Stabilize `tcp_quickack`
to stabilise the quickack part for now, tcp_deferaccept had been added at a later stage.
The related API calls are the following
```rust
// std::os::linux::net
// sealed trait, implemented for std::net::TcpStream
pub trait TcpStreamExt: Sealed{
fn quickack(&self) -> io::Result<bool>;
fn set_quickack(&self, quickack: bool) -> io::Result<()>;
}
```
Closes: https://github.com/rust-lang/rust/issues/96256
Diffstat (limited to 'library/std/src/os/linux')
| -rw-r--r-- | library/std/src/os/linux/net.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/os/linux/net.rs b/library/std/src/os/linux/net.rs index 1de120c8fd3..c14aba13bd1 100644 --- a/library/std/src/os/linux/net.rs +++ b/library/std/src/os/linux/net.rs @@ -6,5 +6,5 @@ pub use crate::os::net::linux_ext::addr::SocketAddrExt; #[unstable(feature = "unix_socket_ancillary_data", issue = "76915")] pub use crate::os::net::linux_ext::socket::UnixSocketExt; -#[unstable(feature = "tcp_quickack", issue = "96256")] +#[stable(feature = "tcp_quickack", since = "CURRENT_RUSTC_VERSION")] pub use crate::os::net::linux_ext::tcp::TcpStreamExt; |
