comparison hgext/graphlog.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 0c9ba2ac60a8
children c303d65d2e34
comparison
equal deleted inserted replaced
39208:362c4603602d 39209:1af95139e5ec