Skip to content

socket: support TCP_CORK option in Linux#2769

Open
cgzones wants to merge 1 commit intonix-rust:masterfrom
cgzones:tcp_cork
Open

socket: support TCP_CORK option in Linux#2769
cgzones wants to merge 1 commit intonix-rust:masterfrom
cgzones:tcp_cork

Conversation

@cgzones
Copy link
Copy Markdown

@cgzones cgzones commented Apr 12, 2026

Closes: #2758

What does this PR do

Enable getting and setting the corking state of a tcp connection. See man:tcp(7).

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

Copy link
Copy Markdown
Member

@kamalmarhubi kamalmarhubi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @cgzones! Can you also add a changelog/2769.added.md file for this? 🙏

Comment thread src/sys/socket/sockopt.rs Outdated
Enable getting and setting the corking state of a tcp connection.
See man:tcp(7).

Closes: nix-rust#2758
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support setsockopt(2) option TCP_CORK

2 participants