Skip to content
Snippets Groups Projects
  • Andy Green's avatar
    895d56d4
    remove minimum frame size for deflate · 895d56d4
    Andy Green authored
    
    The idea here seems wrong, if we have a mixture of frames of varying
    sizes above and below the limit, we segfault in deflate after skipping
    it once.
    
    If the protocol doesn't want compression because many frames are
    small, it should veto the extension in the user callback.  If only
    a few frames are tiny, the overhead for compressing it all is tiny.
    
    Signed-off-by: default avatarAndy Green <andy.green@linaro.org>
    895d56d4
    History
    remove minimum frame size for deflate
    Andy Green authored
    
    The idea here seems wrong, if we have a mixture of frames of varying
    sizes above and below the limit, we segfault in deflate after skipping
    it once.
    
    If the protocol doesn't want compression because many frames are
    small, it should veto the extension in the user callback.  If only
    a few frames are tiny, the overhead for compressing it all is tiny.
    
    Signed-off-by: default avatarAndy Green <andy.green@linaro.org>
To find the state of this project's repository at the time of any of these versions, check out the tags.