On Fri, May 07, 2004 at 10:04:13AM +0200, Biot Olivier wrote:
>
> That's correct, however you cannot select the gzip compressed body,
> you can only select the *uncompressed* bytes. So it would be nice
> if it were possible to have an item in the HTTP protocol tree
> where an end-user has the possibility to click on the compressed
> body, and optionally on the uncompressed body if uncompression
> succeeded (implying HAVE_ZLIB was true at compile time, of course).
>
> I think that portion of the code is about line 693 of packet-http.c.
The checkin that you made for this doesn't work. You'd have to add
another data source for the compressed data, or else it points to the
last data source selected.
I'm still not entirely sure that this should even be available, since
it's passed to a lower subdissector if decompression works, and I don't
think there are any other places where a data view is kept when passed
to another subdissector.
Adding another data source will make the new Layout prefs useless when
decoding compressed HTTP, since there will be so many tabs it's be
nearly impossible to read anything in a pane that is on the same
horizontal level with the packet bytes.
--
GPG public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9D5B8762