Monorepo for Tangled

knotserver: git: fix upload-pack handling master

Fix stdin piping to git-upload-pack. I think we were closing the pipe too soon previously, resulting in the 'fatal: remote end hung up unexpectedly' error. Probably went unnoticed for smaller repos. Also fix a bunch of misc. bugs in with superfluous http header writes and the gzip reader being shadowed.


+53 -41
2 changed files