Wireshark-commits: [Wireshark-commits] master-2.0 ad6acca: TCP: only store up to 1000 unacked segme
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 14 Oct 2015 13:43:50 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ad6accaecee782f0e1d2d2c767663a7f872a9fe9
Submitter: Jeff Morriss (jeff.morriss.ws@xxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

ad6acca by Jeff Morriss (jeff.morriss.ws@xxxxxxxxx):

    TCP: only store up to 1000 unacked segments (in each direction).
    
    If we're seeing only one side of a conversation (we're not seeing any ACKs)
    then things get really, really slow as the number of unacked segments grows.
    
    1000 is, of course, an arbitrary limit.
    
    Bug: 11589
    Change-Id: I42652965b736da50122c722e6ac386c4d481e57f
    Reviewed-on: https://code.wireshark.org/review/10971
    Petri-Dish: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 065c4646a631690896c9b45cadc4cc2d012255d8)
    Reviewed-on: https://code.wireshark.org/review/11012
    Reviewed-by: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
    

Actions performed:

    from  41367a6   regenerate files adding new UA Specification 1.03 services and types
    adds  ad6acca   TCP: only store up to 1000 unacked segments (in each direction).


Summary of changes:
 epan/dissectors/packet-tcp.c |    8 ++++++--
 epan/dissectors/packet-tcp.h |    4 +++-
 2 files changed, 9 insertions(+), 3 deletions(-)