Skip to content

Stabilize tcp_quickack #129121

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jun 9, 2025
Merged

Conversation

devnexen
Copy link
Contributor

@devnexen devnexen commented Aug 15, 2024

to stabilise the quickack part for now, tcp_deferaccept had been added at a later stage.

The related API calls are the following

// 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: #96256

@rustbot
Copy link
Collaborator

rustbot commented Aug 15, 2024

r? @ChrisDenton

rustbot has assigned @ChrisDenton.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added O-android Operating system: Android O-linux Operating system: Linux S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Aug 15, 2024
@rust-log-analyzer

This comment has been minimized.

to stabilise the quickack part for now, tcp_deferaccept had been added at a
later stage.
@devnexen devnexen force-pushed the stabilize_ext_linux_tcp_layer branch from d40c8a7 to 1666f86 Compare August 15, 2024 12:41
@ChrisDenton
Copy link
Member

This needs a stabilization fcp

r? libs-api

@rustbot rustbot added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Aug 15, 2024
@rustbot rustbot assigned BurntSushi and unassigned ChrisDenton Aug 15, 2024
@tgross35
Copy link
Contributor

@devnexen could you add an API summary to the top post? Like #129401

@devnexen
Copy link
Contributor Author

done.

@tgross35 tgross35 changed the title proposal to expand (a subset of) linux specific socket capabilities. Stabilize tcp_quickack Oct 22, 2024
@tgross35 tgross35 added the needs-fcp This change is insta-stable, or significant enough to need a team FCP to proceed. label Oct 22, 2024
@tgross35
Copy link
Contributor

Nominating to put this on the radar

@rustbot label +I-libs-api-nominated

@rustbot rustbot added the I-libs-api-nominated Nominated for discussion during a libs-api team meeting. label Apr 27, 2025
@Amanieu Amanieu removed the T-libs Relevant to the library team, which will review and decide on the PR/issue. label Apr 29, 2025
@joshtriplett
Copy link
Member

This has been around for a while and seems reasonable.

@rfcbot merge

@rfcbot
Copy link
Collaborator

rfcbot commented Apr 29, 2025

Team member @joshtriplett has proposed to merge this. The next step is review by the rest of the tagged team members:

No concerns currently listed.

Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up!

See this document for info about what commands tagged team members can give me.

@rfcbot rfcbot added proposed-final-comment-period Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off. disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. final-comment-period In the final comment period and will be merged soon unless new substantive objections are raised. and removed proposed-final-comment-period Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off. labels Apr 29, 2025
@rfcbot
Copy link
Collaborator

rfcbot commented May 6, 2025

🔔 This is now entering its final comment period, as per the review above. 🔔

@Amanieu Amanieu removed the I-libs-api-nominated Nominated for discussion during a libs-api team meeting. label May 6, 2025
@rfcbot rfcbot added the finished-final-comment-period The final comment period is finished for this PR / Issue. label May 16, 2025
@rfcbot rfcbot added to-announce Announce this issue on triage meeting and removed final-comment-period In the final comment period and will be merged soon unless new substantive objections are raised. labels May 16, 2025
@rfcbot
Copy link
Collaborator

rfcbot commented May 16, 2025

The final comment period, with a disposition to merge, as per the review above, is now complete.

As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed.

This will be merged soon.

@apiraino apiraino removed the to-announce Announce this issue on triage meeting label Jun 5, 2025
@tgross35 tgross35 assigned tgross35 and unassigned BurntSushi Jun 9, 2025
@tgross35
Copy link
Contributor

tgross35 commented Jun 9, 2025

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jun 9, 2025

📌 Commit 1666f86 has been approved by tgross35

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 9, 2025
bors added a commit that referenced this pull request Jun 9, 2025
Rollup of 7 pull requests

Successful merges:

 - #129121 (Stabilize `tcp_quickack`)
 - #142192 (De-duplicate f16 & f128 doctest attributes)
 - #142193 (add tests for pattern binding drop order edge cases)
 - #142222 (Dont make `ObligationCtxt`s with diagnostics unnecessarily)
 - #142228 (rustc-dev-guide subtree update)
 - #142231 (Run `calculate_matrix` job on `master` to cache citool builds)
 - #142232 (add `Cargo.lock` to CI-rustc allowed list for non-CI env)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit d9563a5 into rust-lang:master Jun 9, 2025
6 checks passed
@rustbot rustbot added this to the 1.89.0 milestone Jun 9, 2025
rust-timer added a commit that referenced this pull request Jun 9, 2025
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: #96256
github-actions bot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Jun 12, 2025
Rollup of 7 pull requests

Successful merges:

 - rust-lang/rust#129121 (Stabilize `tcp_quickack`)
 - rust-lang/rust#142192 (De-duplicate f16 & f128 doctest attributes)
 - rust-lang/rust#142193 (add tests for pattern binding drop order edge cases)
 - rust-lang/rust#142222 (Dont make `ObligationCtxt`s with diagnostics unnecessarily)
 - rust-lang/rust#142228 (rustc-dev-guide subtree update)
 - rust-lang/rust#142231 (Run `calculate_matrix` job on `master` to cache citool builds)
 - rust-lang/rust#142232 (add `Cargo.lock` to CI-rustc allowed list for non-CI env)

r? `@ghost`
`@rustbot` modify labels: rollup
tautschnig pushed a commit to model-checking/verify-rust-std that referenced this pull request Jun 17, 2025
…ayer, 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: rust-lang#96256
tautschnig pushed a commit to model-checking/verify-rust-std that referenced this pull request Jun 17, 2025
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#129121 (Stabilize `tcp_quickack`)
 - rust-lang#142192 (De-duplicate f16 & f128 doctest attributes)
 - rust-lang#142193 (add tests for pattern binding drop order edge cases)
 - rust-lang#142222 (Dont make `ObligationCtxt`s with diagnostics unnecessarily)
 - rust-lang#142228 (rustc-dev-guide subtree update)
 - rust-lang#142231 (Run `calculate_matrix` job on `master` to cache citool builds)
 - rust-lang#142232 (add `Cargo.lock` to CI-rustc allowed list for non-CI env)

r? `@ghost`
`@rustbot` modify labels: rollup
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-period The final comment period is finished for this PR / Issue. needs-fcp This change is insta-stable, or significant enough to need a team FCP to proceed. O-android Operating system: Android O-linux Operating system: Linux S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tracking Issue for TCP_QUICKACK support on Linux