Skip to content

Commit c418a89

Browse files
committed
Add description to linger_timeout behavior about Windows
This option is added in fluent/fluentd#3644 The description is added in fluent#392 However, there was a lack of consideration regarding the default behavior on Windows. Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
1 parent 7df3e8b commit c418a89

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

input/forward.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,11 @@ This section is for setting TLS transport or some general transport configuratio
170170

171171
The timeout \(seconds\) to set `SO_LINGER`.
172172

173-
The default value `0` is to send RST rather than FIN to avoid lots of connections sitting in TIME_WAIT on closing.
173+
The default value `0` is to send RST rather than FIN to avoid lots of connections sitting in TIME_WAIT on closing on non-Windows.
174174

175-
You can set positive value to send FIN on closing.
175+
You can set positive value to send FIN on closing on non-Windows.
176+
177+
(On Windows, Fluentd sends FIN when `linger_timeout` is `0` too).
176178

177179
```text
178180
<transport tcp>

input/http.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,11 @@ This section is for setting TLS transport or some general transport configuratio
178178

179179
The timeout \(seconds\) to set `SO_LINGER`.
180180

181-
The default value `0` is to send RST rather than FIN to avoid lots of connections sitting in TIME_WAIT on closing.
181+
The default value `0` is to send RST rather than FIN to avoid lots of connections sitting in TIME_WAIT on closing on non-Windows.
182182

183-
You can set positive value to send FIN on closing.
183+
You can set positive value to send FIN on closing on non-Windows.
184+
185+
(On Windows, Fluentd sends FIN when `linger_timeout` is `0` too).
184186

185187
```text
186188
<transport tcp>

input/tcp.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,11 @@ This section is for setting TLS transport or some general transport configuratio
151151

152152
The timeout \(seconds\) to set `SO_LINGER`.
153153

154-
The default value `0` is to send RST rather than FIN to avoid lots of connections sitting in TIME_WAIT on closing.
154+
The default value `0` is to send RST rather than FIN to avoid lots of connections sitting in TIME_WAIT on closing on non-Windows.
155155

156-
You can set positive value to send FIN on closing.
156+
You can set positive value to send FIN on closing on non-Windows.
157+
158+
(On Windows, Fluentd sends FIN when `linger_timeout` is `0` too).
157159

158160
```text
159161
<source>

plugin-helper-overview/api-plugin-helper-server.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,11 @@ end
170170

171171
The timeout \(seconds\) to set `SO_LINGER`.
172172

173-
The default value `0` is to send RST rather than FIN to avoid lots of connections sitting in TIME_WAIT on closing.
173+
The default value `0` is to send RST rather than FIN to avoid lots of connections sitting in TIME_WAIT on closing on non-Windows.
174174

175-
You can set positive value to send FIN on closing.
175+
You can set positive value to send FIN on closing on non-Windows.
176+
177+
(On Windows, Fluentd sends FIN when `linger_timeout` is `0` too).
176178

177179
```text
178180
<source>

0 commit comments

Comments
 (0)