Wireshark-commits: [Wireshark-commits] master 5db18c6: CoAP: fixes for TCP transport

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 05 Nov 2019 17:09:47 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5db18c604e2270191af78f0c9ad19367477719de
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

5db18c6 by Pascal Quantin (pascal@xxxxxxxxxxxxx):

    CoAP: fixes for TCP transport
    
    - switch from tcp_dissect_pdus() to pinfo based reassembly as the header
    size is variable
    - use the proper message length when dissecting the payload
    - reuse the conversation from the TCP disector instead of creating a new
    one and breaking the TCP analysis
    
    Ping-Bug: 15910
    Change-Id: Ie2689363a01343bbb45cba6a48ce3475521954ec
    Reviewed-on: https://code.wireshark.org/review/34987
    Petri-Dish: Pascal Quantin <pascal@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  0e64e9f   extcap: Allow loading of extcap files from personal directory
     add  5db18c6   CoAP: fixes for TCP transport


Summary of changes:
 epan/dissectors/packet-coap.c | 109 +++++++++++++++++++++++-------------------
 1 file changed, 60 insertions(+), 49 deletions(-)