From 9055696e2b19142a07fa3d3c4c5e8413faf09373 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 29 Jul 2005 07:35:43 +0000 Subject: [PATCH] Suggest that perhaps displaying chunks in the chunked encoding with the data dissector might be overkill, as it causes each of those chunks to be dumped in hex in Tethereal output - along with whatever's done with the data reassembled from those chunks. svn path=/trunk/; revision=15141 --- epan/dissectors/packet-http.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/epan/dissectors/packet-http.c b/epan/dissectors/packet-http.c index 3fc4d997d8..05c139a604 100644 --- a/epan/dissectors/packet-http.c +++ b/epan/dissectors/packet-http.c @@ -1326,6 +1326,13 @@ chunked_encoding_dissector(tvbuff_t **tvb_ptr, packet_info *pinfo, if (chunk_size > 0) { + /* + * XXX - just use "proto_tree_add_text()"? + * This means that, in Tethereal, you get + * the entire chunk dumped out in hex, + * in addition to whatever dissection is + * done on the reassembled data. + */ call_dissector(data_handle, data_tvb, pinfo, chunk_subtree); }