aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-07-29 07:35:43 +0000
committerGuy Harris <guy@alum.mit.edu>2005-07-29 07:35:43 +0000
commit9055696e2b19142a07fa3d3c4c5e8413faf09373 (patch)
tree598cab1193d54954007f270b610dbed17f1f07a8
parent66a2801dfa3de3690462c3799fb4bc927f8a30cf (diff)
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
-rw-r--r--epan/dissectors/packet-http.c7
1 files changed, 7 insertions, 0 deletions
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);
}