-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add TCP FastOpen support for macOS #1635
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @gnzlbg (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
@gnzlbg Hello, could you review this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Once CI is fixed I'll merge it.
@mati865 @pietroalbini there are many linker failures across the board of the form that are unrelated to this PR:
Do these look familiar ? |
I think there were changes to |
This one? Looks potentially related: rust-lang/cc-rs#461 cc @alexcrichton |
It's not yet published so it was something else, Docker images shouldn't have changed AFAIK. |
Wait, |
I'll cc @ehuss ^ Possibly
|
Hm, sorry, that was an unexpected regression. I'll work on a fix today, though it may take until sometime next week to get into nightly. |
@ehuss do you know which cargo PR caused it? I skimmed through the closed PR queue and couldn't find anything that ringed a bell. |
I think that is rust-lang/cargo#7649 and that's why I pointed to cargo (I knew about this PR before). |
Fix has been posted at rust-lang/cargo#7763. |
The fix should be in the latest nightly (2020-01-08). |
@gnzlbg Could you trigger rebuild? |
@gnzlbg Hello, when could this PR be merged? |
Hey @zonyitoo, could you rebase to make sure things? |
r? @JohnTitor |
This comment has been minimized.
This comment has been minimized.
Style check complains about line length, could you fix it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This is used to disable the backoff mechanism, otherwise TFO is basically unusable. Updates rust-lang#1632 and rust-lang#1635 Definition: https://github.com/apple/darwin-xnu/blob/2ff845c2e033bd0ff64b5b6aa6063a1f8f65aa32/bsd/netinet/tcp.h#L310 Related commits/PRs: zonyitoo/tokio-tfo#5, database64128/tfo-go@c980f6b
fix #1632