Skip to content
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 support for setting send and receive buffer sizes #12

Closed
wants to merge 2 commits into from

Conversation

k0ekk0ek
Copy link
Contributor

@k0ekk0ek k0ekk0ek commented Jun 4, 2019

This pull request adds support for overriding the default socket send and receive buffer sizes, which is useful in case the default buffer sizes (1m to avoid messages being lost in spikes (I think)) are either too small or too large.

For convenience I've pushed the implementation for forcefully rejecting connections to this branch too, hope that's ok.

nsd-checkconf.c Outdated Show resolved Hide resolved
Signed-off-by: Jeroen Koekkoek <jeroen@nlnetlabs.nl>
Signed-off-by: Jeroen Koekkoek <jeroen@nlnetlabs.nl>
wcawijngaards added a commit that referenced this pull request Jun 20, 2019
  reject-overflow options for nsd.conf, from Jeroen Koekkoek.
@wcawijngaards
Copy link
Member

Thanks for the PR, it has been merged in a previous commit.

k0ekk0ek pushed a commit to k0ekk0ek/nsd that referenced this pull request Jun 21, 2019
Add support for setting send and receive buffer sizes
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.

2 participants