Thread (9 messages) 9 messages, 6 authors, 2011-11-29

Re: is non-inheritance of congestion control algorithm from the listen socket a bug or a feature?

From: Eric Dumazet <hidden>
Date: 2011-11-29 21:56:33

Le mardi 29 novembre 2011 à 16:52 -0500, David Miller a écrit :
There is really no reason to keep the current behavior.

If an application sets the congestion control algorithm on a listening
socket to a non-default value, what effect could possibly be intended?

Congestion control doesn't even come into play at all on a listening
socket, therefore the only logical expectation is that it inherits to
the child.

The only other logical behavior would be to forbid this operation on a
listening socket, since it has no effect, but that doesn't make any
sense now does it? :-)
Moreover, an application can use setsockopt(TCP_CONGESTION) before
calling listen() (while socket is still in CLOSE state)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help