comparison hgext/censor.py @ 39209:1af95139e5ec

util: improve handling of truncated compressed streams If the compressed stream is over as marked by the reader providing nothing new and the compression engine is not providing data, bail out. This can happen in practise when the server misbehaves and would result in an infinite loop otherwise. Differential Revision: https://phab.mercurial-scm.org/D4297
author Joerg Sonnenberger <joerg@bec.de>
date Thu, 16 Aug 2018 05:50:49 +0200
parents e7aa113b14f7
children a658f97c1ce4
comparison
equal deleted inserted replaced
39208:362c4603602d 39209:1af95139e5ec