-
Notifications
You must be signed in to change notification settings - Fork 160
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
limit size of encrypted packet queue #628
Conversation
63e5fa9
to
7e1f7a8
Compare
Mind opening this one against master also |
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 looks good, just a small ask first.
conn.go
Outdated
mtu := config.MTU | ||
if mtu <= 0 { | ||
mtu = defaultMTU | ||
} | ||
|
||
replayProtectionWindow := config.ReplayProtectionWindow | ||
if replayProtectionWindow <= 0 { | ||
replayProtectionWindow = defaultReplayProtectionWindow | ||
} |
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.
Are these used in this func? Or is this a remnant of a copy/paste?
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.
done. These were a remnant of copy/paste.
Lets not forget to do the same change on master as well |
No description provided.