lwip-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up


From: Joel Cunningham
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-894-gf582c88
Date: Fri, 25 Aug 2017 11:09:14 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".

The branch, master has been updated
       via  f582c8833969ac7f4ab0c8329ac277bf3ac3a3e3 (commit)
      from  2e4867fcde4163dda007482bd1f84e6e51098b65 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f582c8833969ac7f4ab0c8329ac277bf3ac3a3e3
Author: Joel Cunningham <address@hidden>
Date:   Fri Aug 4 12:50:47 2017 -0500

    tcp: persist timer re-work (bug #50837)
    
    This re-works the persist timer to have the following behavior:
    
      1) Only start persist timer when a buffered segment doesn't fit within
         the current window and there is no in-fligh data.  Previously, the
         persist timer was always started when the window went to zero even
         if there was no buffered data (since timer was managed in receive
         pathway rather than transmit pathway)
      2) Upon first fire of persist timer, fill the remaining window if
         non-zero by splitting the unsent segment.  If split segment is sent,
         persist timer is stopped, RTO timer is now ensuring reliable window
         updates
      3) If window is already zero when persist timer fires, send 1 byte probe
      4) Persist timer and zero window probe should only be active when the
         following are true:
           * no in-flight data (pcb->unacked == NULL)
           * when there is buffered data (pcb->unsent != NULL)
           * when pcb->unsent->len > pcb->snd_wnd

-----------------------------------------------------------------------

Summary of changes:
 CHANGELOG                        |   3 +
 src/core/tcp.c                   |  21 +++-
 src/core/tcp_in.c                |  11 --
 src/core/tcp_out.c               | 213 +++++++++++++++++++++++++++++++++------
 src/include/lwip/priv/tcp_priv.h |   1 +
 test/unit/tcp/test_tcp.c         | 159 ++++++++++++++++++++++++++++-
 6 files changed, 360 insertions(+), 48 deletions(-)


hooks/post-receive
-- 
lwIP - A Lightweight TCPIP stack



reply via email to

[Prev in Thread] Current Thread [Next in Thread]