Skip to content

Commit

Permalink
Merge pull request #398 from daipom/fix-comments-about-solinger-option
Browse files Browse the repository at this point in the history
Add description to `linger_timeout` behavior about Windows
  • Loading branch information
ashie authored Apr 4, 2022
2 parents 7df3e8b + c418a89 commit 8ec581b
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 8ec581b

Please sign in to comment.