-
Notifications
You must be signed in to change notification settings - Fork 244
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
feat: add dont_frag option #556
Conversation
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.
We'll also need a getter for this.
And we'll need tests.
1a36d92
to
e0035f9
Compare
what happend about this ci? |
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.
This now has way too many unrelated changes. Please don't overload a pr with unrelated stuff.
If you want to make multiple changes, please open multiple prs.
@@ -1022,36 +1035,41 @@ impl FromRawSocket for crate::Socket { | |||
} | |||
} | |||
|
|||
#[test] |
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.
Why did you make these changes? Please revert.
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.
if you don't warp #[test] in cfg(test), then these code will be compiled into the binary.
Signed-off-by: loongtao.zhang <loongtao.zhang@outlook.com>
9e44a2c
to
680d8ad
Compare
Signed-off-by: loongtao.zhang <loongtao.zhang@outlook.com>
fix #318