Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add methods to TCP and UDP sockets to modify hop limit (refresh of #94678) #138744

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

Open
Mallets wants to merge 5 commits into rust-lang:master
base: master
Choose a base branch
Loading
from Mallets:set_ipv6_sock_hop_limit

Conversation

Copy link

@Mallets Mallets commented Mar 20, 2025
edited
Loading

#94678 was closed because of time constraints of the original author (@kckeiks).

This PR is a refresh of #94678 where the original proposed changes are ported to the current status of the standard library.

In addition, this PR:

Issue: #139166

Copy link
Collaborator

rustbot commented Mar 20, 2025

r? @ibraheemdev

rustbot has assigned @ibraheemdev.
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-windows Operating system: Windows 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 Mar 20, 2025
Copy link
Member

r? libs-api because it's been a while since the original PR was approved.

@rustbot rustbot added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Mar 28, 2025
@rustbot rustbot assigned dtolnay and unassigned ibraheemdev Mar 28, 2025
@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 30, 2025
@rustbot rustbot added the has-merge-commits PR has merge commits, merge with caution. label Mar 31, 2025

This comment has been minimized.

@Mallets Mallets force-pushed the set_ipv6_sock_hop_limit branch from 7f790e2 to 9c1ee90 Compare March 31, 2025 10:13
@rustbot rustbot removed the has-merge-commits PR has merge commits, merge with caution. label Mar 31, 2025
Copy link
Collaborator

bors commented Apr 13, 2025

☔ The latest upstream changes (presumably #139724) made this pull request unmergeable. Please resolve the merge conflicts.

Co-authored-by: David Tolnay <dtolnay@gmail.com>
Copy link
Member

dtolnay commented Apr 13, 2025

Sorry—I missed that this was ready for review again. Please use @rustbot ready, which replaces S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label with S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. .

@dtolnay dtolnay force-pushed the set_ipv6_sock_hop_limit branch from 9c1ee90 to 25fb525 Compare April 13, 2025 16:23
Copy link
Member

dtolnay commented Apr 13, 2025

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Apr 13, 2025
Copy link
Member

dtolnay commented Apr 13, 2025

Thank you!

@bors r+

ChrisDenton added a commit to ChrisDenton/rust that referenced this pull request Apr 13, 2025
...=dtolnay
Add methods to TCP and UDP sockets to modify hop limit (refresh of rust-lang#94678)
rust-lang#94678 was closed because of time constraints of the original author (`@kckeiks).`
This PR is a refresh of rust-lang#94678 where the original proposed changes are ported to the current status of the standard library.
In addition, this PR:
- implements the change suggested in rust-lang#94678 (comment)
- defines `set_multicast_hop_limit_v6` and `multicast_hop_limit_v6 ` only for UDP sockets and not for TCP sockets as originally proposed
Issue: rust-lang#139166 
ChrisDenton added a commit to ChrisDenton/rust that referenced this pull request Apr 13, 2025
...=dtolnay
Add methods to TCP and UDP sockets to modify hop limit (refresh of rust-lang#94678)
rust-lang#94678 was closed because of time constraints of the original author (``@kckeiks).``
This PR is a refresh of rust-lang#94678 where the original proposed changes are ported to the current status of the standard library.
In addition, this PR:
- implements the change suggested in rust-lang#94678 (comment)
- defines `set_multicast_hop_limit_v6` and `multicast_hop_limit_v6 ` only for UDP sockets and not for TCP sockets as originally proposed
Issue: rust-lang#139166 
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 13, 2025
...enton
Rollup of 12 pull requests
Successful merges:
 - rust-lang#138744 (Add methods to TCP and UDP sockets to modify hop limit (refresh of rust-lang#94678))
 - rust-lang#138962 (Expect an array when expected and acutal types are both arrays during cast)
 - rust-lang#139001 (add `naked_functions_rustic_abi` feature gate)
 - rust-lang#139379 (Use delayed bug for normalization errors in drop elaboration)
 - rust-lang#139582 (Various coercion cleanups)
 - rust-lang#139628 (Suggest remove redundant `$()?` around `vis`)
 - rust-lang#139644 (Micro-optimize `InstSimplify`'s `simplify_primitive_clone`)
 - rust-lang#139666 (cleanup `mir_borrowck`)
 - rust-lang#139674 (In `rustc_mir_transform`, iterate over index newtypes instead of ints)
 - rust-lang#139695 (compiletest: consistently use `camino::{Utf8Path,Utf8PathBuf}` throughout)
 - rust-lang#139722 (Move some things to rustc_type_ir)
 - rust-lang#139740 (Convert `tests/ui/lint/dead-code/self-assign.rs` to a known-bug test)
r? `@ghost`
`@rustbot` modify labels: rollup
Copy link
Member

failed in rollup #139755 (comment)

@bors r-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Apr 13, 2025
Copy link
Author

Mallets commented Apr 16, 2025
edited
Loading

I believe I have now fixed the unused_variable error.

Copy link
Member

dtolnay commented May 25, 2025

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 25, 2025
Copy link
Member

dtolnay commented May 25, 2025

@bors r+

Copy link
Collaborator

bors commented May 25, 2025

📌 Commit 6657c75 has been approved by dtolnay

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 May 25, 2025
jhpratt added a commit to jhpratt/rust that referenced this pull request May 25, 2025
...=dtolnay
Add methods to TCP and UDP sockets to modify hop limit (refresh of rust-lang#94678)
rust-lang#94678 was closed because of time constraints of the original author (`@kckeiks).`
This PR is a refresh of rust-lang#94678 where the original proposed changes are ported to the current status of the standard library.
In addition, this PR:
- implements the change suggested in rust-lang#94678 (comment)
- defines `set_multicast_hop_limit_v6` and `multicast_hop_limit_v6 ` only for UDP sockets and not for TCP sockets as originally proposed
Issue: rust-lang#139166 
bors added a commit that referenced this pull request May 26, 2025
Rollup of 9 pull requests
Successful merges:
 - #134696 (Implement `normalize_lexically`)
 - #138744 (Add methods to TCP and UDP sockets to modify hop limit (refresh of #94678))
 - #140539 (Simplify `attribute_groups`)
 - #140863 ([rustdoc] Unify type aliases rendering with other ADT)
 - #140936 (Clarify WTF-8 safety docs)
 - #140952 (Specify that split_ascii_whitespace uses the same definition as is_ascii_whitespace)
 - #141472 (Attempt to improve the `std::fs::create_dir_all` docs related to atomicity)
 - #141502 (ci: move PR job x86_64-gnu-tools to codebuild)
 - #141559 (const-check: stop recommending the use of rustc_allow_const_fn_unstable)
r? `@ghost`
`@rustbot` modify labels: rollup
Copy link
Member

jhpratt commented May 26, 2025

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels May 26, 2025
Copy link
Author

Mallets commented Aug 25, 2025

Would it be possible to re-kick the CI to get the failure logs?

Copy link
Member

Not sure if this reproduces the error but we can try

@bors try

Mallets reacted with thumbs up emoji

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Sep 4, 2025
Add methods to TCP and UDP sockets to modify hop limit (refresh of #94678)
Copy link

rust-bors bot commented Sep 4, 2025

☀️ Try build successful (CI)
Build commit: 6b5fa05 (6b5fa054a42b37f7e0057cdcaf96ceff75677206, parent: 033c0a4742794f5608b19eb78458726596f8ec18)

Copy link
Author

Mallets commented Sep 4, 2025

@Dylan-DPC the build succeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@dtolnay dtolnay dtolnay approved these changes

Labels
O-windows Operating system: Windows S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /