We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76e25af commit b54183bCopy full SHA for b54183b
1 file changed
lib/fluent/plugin/in_forward.rb
@@ -36,6 +36,8 @@ class ForwardInput < Input
36
config_param :port, :integer, default: LISTEN_PORT
37
desc 'The bind address to listen to.'
38
config_param :bind, :string, default: '0.0.0.0'
39
+ desc 'Whether it accept only IPv6 connection with IPv6 bind address.'
40
+ config_param :bind_ipv6_only, :bool, default: true
41
42
config_param :backlog, :integer, default: nil
43
# SO_LINGER 0 to send RST rather than FIN to avoid lots of connections sitting in TIME_WAIT at src
@@ -176,6 +178,7 @@ def start
176
178
resolve_name: @resolve_hostname,
177
179
linger_timeout: @linger_timeout,
180
send_keepalive_packet: @send_keepalive_packet,
181
+ bind_ipv6_only: @bind_ipv6_only,
182
backlog: @backlog,
183
&method(:handle_connection)
184
)
0 commit comments