From: Shawn O. Pearce Date: Sat, 31 Oct 2009 00:47:34 +0000 (-0700) Subject: Smart fetch and push over HTTP: server side X-Git-Tag: v1.7.5.1~2^2~8 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/556cfa3b6d316074d41cd73c4659402fdb6207c8?hp=556cfa3b6d316074d41cd73c4659402fdb6207c8 Smart fetch and push over HTTP: server side Requests for $GIT_URL/git-receive-pack and $GIT_URL/git-upload-pack are forwarded to the corresponding backend process by directly executing it and leaving stdin and stdout connected to the invoking web server. Prior to starting the backend process the HTTP response headers are sent, thereby freeing the backend from needing to know about the HTTP protocol. Requests that are encoded with Content-Encoding: gzip are automatically inflated before being streamed into the backend. This is primarily useful for the git-upload-pack backend, which receives highly repetitive text data from clients that easily compresses to 50% of its original size. Signed-off-by: Shawn O. Pearce Signed-off-by: Junio C Hamano ---