-
Notifications
You must be signed in to change notification settings - Fork 123
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
Being refactored: ECN additions #1495
Closed
Closed
Changes from 67 commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
f2c093c
Rollup
larseggert 8234696
Move functionality into neqo-common as non-default feature
larseggert 7983f80
Make clippy happy
larseggert 57512f6
Use trait for socket as suggested by @martinthomson
larseggert ef2671a
Fix formatting
larseggert 5c09621
Reuse std::os::fd::AsRawFd
larseggert 3944647
Try and restore Windows operation.
larseggert 470a73e
Fix formatting
larseggert e01dadc
Update neqo-common/src/socket.rs
larseggert 57b0f9a
Address code review comments
larseggert 2a1b774
cfg
larseggert 15a3de4
Sort out use statements
larseggert 5cfabe5
Fixes
larseggert 47cf5f5
Fix call
larseggert 3712419
Attempt
larseggert c853c30
Attempt
larseggert 8530a72
Hopefully fix Windows
larseggert 3154527
Fixes
larseggert 10eb0e9
Rebase
larseggert 253e1d8
Add tests
larseggert 915a161
Re-enable non-blocking mode (disable in test only)
larseggert 237489d
Use neqo_common::socket
larseggert 3d1a27a
A bunch of progress towards doing ACK_ECN
larseggert 6cb3435
Fix rebase
larseggert 0b14760
Minimize diff to origin/main
larseggert faf2285
More minimization
larseggert 09da257
Use new Datagram::new method everywhere. Make TOS and TTL path-specific.
larseggert b81a322
Small tweaks
larseggert 1103fc1
Reformat
larseggert 6cda23a
Disable ECN on a path when ECN-marked packets are persistently lost
larseggert 5c65b90
Remove println!
larseggert 2fcf7a7
Add workflow_dispatch for QNS, reduce rate (#1562)
martinthomson 9d58e64
Make ConnectionIdRef Copy (#1561)
martinthomson 70e3ac4
Fix qlog issues to enable correct qvis rendering (#1544)
larseggert 09c02b7
Rollup
larseggert ae8f13a
Move functionality into neqo-common as non-default feature
larseggert 76d6b19
Make clippy happy
larseggert ccd4b65
Use trait for socket as suggested by @martinthomson
larseggert 38c123c
Fix formatting
larseggert 107e51c
Reuse std::os::fd::AsRawFd
larseggert ef24355
Try and restore Windows operation.
larseggert d58f846
Fix formatting
larseggert e721fd6
Update neqo-common/src/socket.rs
larseggert f32177f
Address code review comments
larseggert fd18d00
cfg
larseggert 0569faa
Sort out use statements
larseggert 39c6500
Fixes
larseggert 04417c7
Fix call
larseggert d8a758e
Attempt
larseggert 0d95460
Attempt
larseggert 43554d8
Hopefully fix Windows
larseggert db599a4
Fixes
larseggert e02b51a
Rebase
larseggert f99aec6
Add tests
larseggert 616ffc5
Re-enable non-blocking mode (disable in test only)
larseggert 5b85c09
Use neqo_common::socket
larseggert 22b6236
A bunch of progress towards doing ACK_ECN
larseggert 933e126
Fix rebase
larseggert 7219e7a
Minimize diff to origin/main
larseggert afefa8f
More minimization
larseggert 93942b2
Use new Datagram::new method everywhere. Make TOS and TTL path-specific.
larseggert 62f963f
Small tweaks
larseggert 0c7554d
Reformat
larseggert 0422462
Disable ECN on a path when ECN-marked packets are persistently lost
larseggert dbdaa80
Remove println!
larseggert e06206b
Rebase cleanup
larseggert c0bf1a1
Merge branch 'feat-ecn' of github.com:larseggert/neqo into feat-ecn
larseggert 052eb06
Address code review comments
larseggert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
use cfg_aliases::cfg_aliases; | ||
use std::env; | ||
|
||
fn main() { | ||
let target = env::var("TARGET").unwrap(); | ||
if target.contains("windows") { | ||
println!("cargo:rustc-link-lib=winmm"); | ||
} | ||
|
||
cfg_aliases! { | ||
posix_socket: { any(target_os = "macos", target_os = "linux", target_os = "android") }, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
OK, let's continue to block on this being integrated upstream. Worst case, we can take up your fork, but if this can be upstreamed, that's a lot easier.
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.
It's in progress. Depends on another PR upstream.