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 receive_buffer_size parameter for in_udp for v0.12 #1788

Merged
merged 1 commit into from
Dec 13, 2017

Conversation

mururu
Copy link
Member

@mururu mururu commented Dec 12, 2017

backport of #1787 for v0.12

@mururu mururu requested a review from repeatedly December 12, 2017 20:28
@@ -28,6 +28,8 @@ class UdpInput < SocketUtil::BaseInput
config_param :message_length_limit, :size, default: 4096
desc "Remove newline from the end of incoming payload"
config_param :remove_newline, :bool, default: true
desc "The max size of socket receive buffer. SO_RCVBUF"
config_param :recv_buffer, :size, default: nil
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

receive_buffer_size is better.

@mururu mururu force-pushed the udp-recv-buffer-12 branch from 2b5136c to d6656e3 Compare December 13, 2017 08:07
@mururu
Copy link
Member Author

mururu commented Dec 13, 2017

Updated.

@repeatedly repeatedly changed the title Add recv_buffer parameter for in_udp for v0.12 Add receive_buffer_size parameter for in_udp for v0.12 Dec 13, 2017
@repeatedly repeatedly merged commit 9e15c48 into v0.12 Dec 13, 2017
@mururu mururu deleted the udp-recv-buffer-12 branch December 14, 2017 02:30
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