haiku/src
Jérôme Duval f1ec69628a tcp: several fixes for SACK handling:
* kMaxOptionSize: TCP header size is 60 bytes. process_options() would have
 accepted a longer header as permitted. add_options() would have possibly added
 more options or SACK entries as permitted.
* tcp_segment: reserve memory for sack entries.
* _SendQueued(): "fLastAcknowledgeSent <= fReceiveNext": also send SACK entries
 for received data when acknowledging a missing segment.
* _SendQueue(): after acknowledging, cancel the delayed acknowledgment timer.
* _Receive(): if calling Acknowledged() already triggered sending a segment
 including an acknowledgement (piggy-back), remove "immediate acknowledge"
 from the action. This helps to reduce empty ACKs for bidirectional streams.

Change-Id: I32808fbe549be0f5b25bcf4be17cd91a640b8ec4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3906
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-05-13 08:01:27 +00:00
..
add-ons tcp: several fixes for SACK handling: 2021-05-13 08:01:27 +00:00
apps StyledEdit: SetInsets() instead of insetting initial text rect 2021-05-09 10:35:24 +00:00
bin bin/network/telnetd: Fix multiple definitions 2021-05-12 12:50:45 +00:00
build build: follow-up for hrev54993 2021-04-30 10:42:21 +00:00
data WavPack support 2021-03-05 08:00:35 +00:00
kits Decorator: Introduce Scroll bar size call 2021-05-03 16:42:32 +00:00
libs compat/freebsd_network: Fix Use of zero-allocated memory 2021-03-02 14:19:54 +00:00
preferences Input preferences: use correct API for watch_input_devices() 2021-05-03 19:51:23 +00:00
servers input_server: Properly implement watch_input_devices() & add documentation 2021-04-19 19:48:29 +00:00
system packagefs and IOCache: don't reread pages when we have them all. 2021-05-12 16:52:57 +00:00
tests Implement stack protection support 2021-05-03 17:52:31 +00:00
tools tools/set_haiku_revision: Fix wrong type of arguments to formatting function 2021-04-30 14:31:14 +00:00
Jamfile