Skip to content

Commit 5239fe9

Browse files
committed
revise docs
1 parent 05c8606 commit 5239fe9

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

docs/reference/modules/transport.asciidoc

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -86,24 +86,22 @@ example above:
8686
* `tcp.keep_alive`: Configures the `SO_KEEPALIVE` option for this socket
8787
* `tcp.keep_idle`: Configures the `TCP_KEEPIDLE` option for this socket, which
8888
determines the time in seconds that a connection must be idle before
89-
starting to send TCP keepalive probes.
90-
Only applicable on Linux and Mac, and requires JDK 11 or newer.
91-
Defaults to 60 on applicable configurations, and -1 otherwise, which does
92-
not set this option at the socket level, but uses the default system
93-
configuration instead.
89+
starting to send TCP keepalive probes. A value of `-1` means not to set
90+
this option at the socket level but to use the system default instead.
91+
Only applicable on Linux and Mac, and requires Java 11 or newer.
92+
Defaults to 60 on applicable configurations, and -1 otherwise.
9493
* `tcp.keep_interval`: Configures the `TCP_KEEPINTVL` option for this socket,
9594
which determines the time in seconds between sending TCP keepalive probes.
96-
Only applicable on Linux and Mac, and requires JDK 11 or newer.
97-
Defaults to 10 on applicable configurations, and -1 otherwise, which does
98-
not set this option at the socket level, but uses the default system
99-
configuration instead.
95+
A value of `-1` means not to set this option at the socket level but to
96+
use the system default instead.
97+
Only applicable on Linux and Mac, and requires Java 11 or newer.
98+
Defaults to 10 on applicable configurations, and -1 otherwise.
10099
* `tcp.keep_count`: Configures the `TCP_KEEPCNT` option for this socket, which
101100
determines the number of unacknowledged TCP keepalive probes that may be
102-
sent on a connection before it is dropped.
103-
Only applicable on Linux and Mac, and requires JDK 11 or newer.
104-
Defaults to 3 on applicable configurations, and -1 otherwise, which does
105-
not set this option at the socket level, but uses the default system
106-
configuration instead.
101+
sent on a connection before it is dropped. A value of `-1` means not to set
102+
this option at the socket level but to use the system default instead.
103+
Only applicable on Linux and Mac, and requires Java 11 or newer.
104+
Defaults to 3 on applicable configurations, and -1 otherwise.
107105
* `tcp.reuse_address`: Configures the `SO_REUSEADDR` option for this socket
108106
* `tcp.send_buffer_size`: Configures the send buffer size of the socket
109107
* `tcp.receive_buffer_size`: Configures the receive buffer size of the socket

0 commit comments

Comments
 (0)