Skip to content

Implement missing new rt tcp/udp methods. #8040

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

Closed
wants to merge 8 commits into from

Conversation

luqmana
Copy link
Member

@luqmana luqmana commented Jul 25, 2013

Implements various missing tcp & udp methods.. Also fixes handling ipv4-mapped/compatible ipv6 addresses and addresses the XXX on status_to_maybe_uv_error.

r? @brson

@brson
Copy link
Contributor

brson commented Jul 26, 2013

Thanks for doing this! I'm so glad to see I/O pulls. Are there any obstacles to writing tests for these features, and if not can you add some?

@luqmana
Copy link
Member Author

luqmana commented Jul 26, 2013

I'm not sure of the best way to test some of those methods which just set socket options (i.e like keepalive) but I have added tests for {peer, socket}_name. Albeit, testing peer_name with ipv6 is a bit annoying in that multiple runs return different results (perhaps due to ipv6 privacy extensions) so I've just commented it out for now.

bors added a commit that referenced this pull request Jul 27, 2013
Implements various missing tcp & udp methods.. Also fixes handling ipv4-mapped/compatible ipv6 addresses and addresses the XXX on `status_to_maybe_uv_error`.

r? @brson
@bors bors closed this Jul 27, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 6, 2021
…or-pre-expansion, r=camsteffen

Updated known problems section for pre-expansion lints about level attributes

Our last three pre-macro expansion lints aren't affected by lint level attributes. This adds a comment to the know problems section of them. I've also updated some CSS to add some spacing after lists on Clippy's lint list:

Before:

![image](https://user-images.githubusercontent.com/17087237/143783579-064326d4-4e58-4d7d-bbe4-fad8b115fcd4.png)

After:

![image](https://user-images.githubusercontent.com/17087237/143783650-9803fa03-c332-4e0e-886f-523d4217c6e6.png)

---

changelog: [`print_stdout`], [`print_stderr`], [`dbg_macro`]: Document how the lint level can be changed and reference rust-lang/rust-clippy#6610

cc: rust-lang/rust-clippy#6610
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.

4 participants