Wireshark-bugs: [Wireshark-bugs] [Bug 3467] Memcache Textual Protocol dissector patch

Date: Tue, 19 May 2009 12:54:49 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3467





--- Comment #15 from Stig Bjørlykke <stig@xxxxxxxxxxxxx>  2009-05-19 12:54:48 PDT ---
(In reply to comment #12)

> After a little bit of investigation, I see that the \r\n come as a completely
> different packet when they are a part of the the packet before. Somehow the
> packet reassembly is not happening. Observe that the tvb s are different. 

Have a look in desegment_pdus, where you set pinfo->desegment_len.  You should
add 2 for the last \r\n.  Or maybe add them in get_payload_length()?

pinfo->desegment_offset = offset; /* start of the packet. */
pinfo->desegment_len = content_length - length_remaining + 2; /* add 2 for \r\n
*/


Frame 10 and 11 is not decoded correctly, did I break something in my cleanup?


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.