substack/pushover — pull request #29 by nemisj (2014-04-22 13:11:19+00:00)
Title: Decode gzip/deflate when git upload-pack switches to gzip/deflate compression

When pack size of the git repo is bigger than 1024bytes, git uses gzip encoding with git-upload-pack request. In order to handle this kind of requests, decoding is needed, otherwise git clone will hangt "forever" in idle state. This patch decodes response when content-encoding is set to deflate or gzip.