[haiku-bugs] Re: [Haiku] #13629: tcp: slow start & congestion avoidance @ rfc 5681 : updated rules for congestion window

  • From: "a-star" <trac@xxxxxxxxxxxx>
  • Date: Thu, 27 Jul 2017 11:24:23 -0000

#13629: tcp: slow start & congestion avoidance @ rfc 5681 : updated rules for
congestion window
--------------------------------------+-----------------------------------
   Reporter:  a-star                  |      Owner:  axeld
       Type:  task                    |     Status:  new
   Priority:  normal                  |  Milestone:  Unscheduled
  Component:  Network & Internet/TCP  |    Version:  R1/Development
 Resolution:                          |   Keywords:  tcp, gsoc, slow start
 Blocked By:                          |   Blocking:
Has a Patch:  1                       |   Platform:  All
--------------------------------------+-----------------------------------

Comment (by a-star):

 I was actually a bit confused with how to implement that rule without
 adding a new variable to the TCP control block.

 I haven't been able to come up with such an idea. I am submitting another
 patch that implements that rule by extending the TCP control block with a
 fSendMaxSegments variable. Should this variable reach a value of zero, the
 _ShouldSendSegment (called in _SendQueued) will return false.

 It would be great if you could give me an idea on how to implement it
 without adding a new variable or if it's ok to add a new varible.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13629#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: