Skip to content

Add more TCP options for solaris systems. #1964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 30, 2020
Merged

Conversation

jasonbking
Copy link
Contributor

This adds the TCP_KEEPCNT and TCP_KEEPINTVL tcp values to the libc crate. It also corrects the value of TCP_KEEPIDLE for Solaris systems. As seen in the diff, the value is different between illumos and Solaris (as the feature was added after the two code bases forked, and each ended up choosing a different value).

Adding these to libc will allow the nix crate to utilize them when used on solarish systems.

@rust-highfive
Copy link

r? @JohnTitor

(rust_highfive has picked a reviewer for you, use r? to override)

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

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

Looks good!

@JohnTitor
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Oct 30, 2020

📌 Commit 9cd5c4b has been approved by JohnTitor

@bors
Copy link
Contributor

bors commented Oct 30, 2020

⌛ Testing commit 9cd5c4b with merge 43f9f53...

@bors
Copy link
Contributor

bors commented Oct 30, 2020

☀️ Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing 43f9f53 to master...

@bors bors merged commit 43f9f53 into rust-lang:master Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants