Wireshark-bugs: [Wireshark-bugs] [Bug 5109] Moving backwards in compressed captures is extremely
Date: Thu, 12 Aug 2010 15:17:41 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5109

Guy Harris <guy@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|x86                         |All
            Summary|Backward searches (Find     |Moving backwards in
                   |Previous, Find>Up) in       |compressed captures is
                   |compressed captures is      |extremely slow
                   |extremely slow              |
         OS/Version|Windows XP                  |All

--- Comment #1 from Guy Harris <guy@xxxxxxxxxxxx> 2010-08-12 15:17:40 PDT ---
We're currently using the I/O routines in zlib to read compressed captures;
seeking forward in a compressed file is implemented by reading forward in the
file, and seeking backward in the file is implemented by going back to the
beginning of the file and reading forward.  This is not a recipe for fast
backward seeks....

Fixing that should be doable, but involves checkpointing the compression
information at various points in the file.  The zlib source comes with some
sample code for this, which I've worked on to try to use it.  It's not a quick
fix, so this is probably going to remain a problem until some unknown point in
the 1.5 development cycle.

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