Skip to contentSkip to conversation

Documentation revision for TCP_USER_TIMEOUT in man7/tcp7

PATCH Enke Chen 2 participants 4 messages Jan 9, 2021 – Jan 20, 2021 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore

Enke Chen

author
#0 lore raw
man7/tcp.7 +2 -1
index 6c91f058b..2ce831c90 100644
@@ -1161,7 +1161,8 @@ This option takes an
 as an argument.
 When the value is greater than 0,
 it specifies the maximum amount of time in milliseconds that transmitted
-data may remain unacknowledged before TCP will forcibly close the
+data may remain unacknowledged, or bufferred data may remain untransmitted
+(due to zero window size) before TCP will forcibly close the
 corresponding connection and return
 .B ETIMEDOUT
 to the application.
#1 lore raw

Hello Enke (and Eric),

Thank you for the patch. Is this a change in behavior, or a better documentation of longstanding behavior?

Eric, do you have an Ack/Review for this patch?

Thanks,

Michael

Quoted 15 lines · Enke Chen
man7/tcp.7 +2 -1
index 6c91f058b..2ce831c90 100644
@@ -1161,7 +1161,8 @@ This option takes an
 as an argument.
 When the value is greater than 0,
 it specifies the maximum amount of time in milliseconds that transmitted
-data may remain unacknowledged before TCP will forcibly close the
+data may remain unacknowledged, or bufferred data may remain untransmitted
+(due to zero window size) before TCP will forcibly close the
 corresponding connection and return
 .B ETIMEDOUT
 to the application.
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
author
#2 lore raw

Hello Michael:

It is the latter, better documentation of longstanding behavior.

There is a bug, however, that broke the functionality two years ago. The bug is being fixed.

Thanks. -- Enke

Quoted 34 lines · Michael Kerrisk (man-pages)

Hello Enke (and Eric),

Thank you for the patch. Is this a change in behavior, or a better documentation of longstanding behavior?

Eric, do you have an Ack/Review for this patch?

Thanks,

Michael

Quoted 15 lines · Enke Chen
man7/tcp.7 +2 -1
index 6c91f058b..2ce831c90 100644
@@ -1161,7 +1161,8 @@ This option takes an
 as an argument.
 When the value is greater than 0,
 it specifies the maximum amount of time in milliseconds that transmitted
-data may remain unacknowledged before TCP will forcibly close the
+data may remain unacknowledged, or bufferred data may remain untransmitted
+(due to zero window size) before TCP will forcibly close the
 corresponding connection and return
 .B ETIMEDOUT
 to the application.
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
#3 lore raw
Quoted 6 lines · Enke Chen

Hello Michael:

It is the latter, better documentation of longstanding behavior.

There is a bug, however, that broke the functionality two years ago. The bug is being fixed.

Thanks for the info, Enke. I've applied the patch.

Cheers,

Michael

Quoted 35 lines · Michael Kerrisk (man-pages)
Quoted 34 lines

Hello Enke (and Eric),

Thank you for the patch. Is this a change in behavior, or a better documentation of longstanding behavior?

Eric, do you have an Ack/Review for this patch?

Thanks,

Michael

Quoted 15 lines · Enke Chen
man7/tcp.7 +2 -1
index 6c91f058b..2ce831c90 100644
@@ -1161,7 +1161,8 @@ This option takes an
 as an argument.
 When the value is greater than 0,
 it specifies the maximum amount of time in milliseconds that transmitted
-data may remain unacknowledged before TCP will forcibly close the
+data may remain unacknowledged, or bufferred data may remain untransmitted
+(due to zero window size) before TCP will forcibly close the
 corresponding connection and return
 .B ETIMEDOUT
 to the application.
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/