Mercurial > hg
diff doc/gendoc.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 | ff874d34c856 |
children | 170926caf44c |