diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2009-10-30 17:47:34 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-04 17:58:15 -0800 |
commit | 556cfa3b6d316074d41cd73c4659402fdb6207c8 (patch) | |
tree | 70de4c0f563493dc05f2f53b3af554657f99f9eb /t/t4252/am-test-3-2 | |
parent | Add stateless RPC options to upload-pack, receive-pack (diff) | |
download | tgif-556cfa3b6d316074d41cd73c4659402fdb6207c8.tar.xz |
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 <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4252/am-test-3-2')
0 files changed, 0 insertions, 0 deletions