Skip to content
  • Nick Mathewson's avatar
    Enforce the rule that COMPRESS_OK means progress was made. · 9328bd52
    Nick Mathewson authored
    If COMPRESS_OK occurs but data is neither consumed nor generated,
    treat it as a BUG and a COMPRESS_ERROR.
    
    This change is meant to prevent infinite loops in the case where
    we've made a mistake in one of our compression backends.
    
    Closes ticket 22672.
    9328bd52