Skip to content

net: deprecate TcpStream::set_linger#7752

Merged
Darksonn merged 6 commits intomasterfrom
alice-linger
Dec 2, 2025
Merged

net: deprecate TcpStream::set_linger#7752
Darksonn merged 6 commits intomasterfrom
alice-linger

Conversation

@Darksonn
Copy link
Contributor

@Darksonn Darksonn commented Dec 2, 2025

I did not deprecate TcpStream::linger() because just reading the option seems harmless.

Closes: #7751

@Darksonn Darksonn added A-tokio Area: The main tokio crate M-net Module: tokio/net labels Dec 2, 2025
@Darksonn Darksonn merged commit 3bf2e53 into master Dec 2, 2025
88 checks passed
@Darksonn Darksonn deleted the alice-linger branch December 2, 2025 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tokio Area: The main tokio crate M-net Module: tokio/net

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TcpStream::set_linger can lead to blocking

3 participants