Skip to content

Commit

Permalink
Add description to linger_timeout behavior about Windows
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
daipom committed Apr 4, 2022
1 parent 7df3e8b commit c418a89
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
6 changes: 4 additions & 2 deletions input/forward.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,11 @@ This section is for setting TLS transport or some general transport configuratio

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

The default value `0` is to send RST rather than FIN to avoid lots of connections sitting in TIME_WAIT on closing.
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.

You can set positive value to send FIN on closing.
You can set positive value to send FIN on closing on non-Windows.

(On Windows, Fluentd sends FIN when `linger_timeout` is `0` too).

```text
<transport tcp>
Expand Down
6 changes: 4 additions & 2 deletions input/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,11 @@ This section is for setting TLS transport or some general transport configuratio

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

The default value `0` is to send RST rather than FIN to avoid lots of connections sitting in TIME_WAIT on closing.
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.

You can set positive value to send FIN on closing.
You can set positive value to send FIN on closing on non-Windows.

(On Windows, Fluentd sends FIN when `linger_timeout` is `0` too).

```text
<transport tcp>
Expand Down
6 changes: 4 additions & 2 deletions input/tcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,11 @@ This section is for setting TLS transport or some general transport configuratio

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

The default value `0` is to send RST rather than FIN to avoid lots of connections sitting in TIME_WAIT on closing.
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.

You can set positive value to send FIN on closing.
You can set positive value to send FIN on closing on non-Windows.

(On Windows, Fluentd sends FIN when `linger_timeout` is `0` too).

```text
<source>
Expand Down
6 changes: 4 additions & 2 deletions plugin-helper-overview/api-plugin-helper-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,11 @@ end

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

The default value `0` is to send RST rather than FIN to avoid lots of connections sitting in TIME_WAIT on closing.
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.

You can set positive value to send FIN on closing.
You can set positive value to send FIN on closing on non-Windows.

(On Windows, Fluentd sends FIN when `linger_timeout` is `0` too).

```text
<source>
Expand Down

0 comments on commit c418a89

Please sign in to comment.