summaryrefslogtreecommitdiff
path: root/sigchain.c
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2009-10-30 17:47:33 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-11-04 17:58:14 -0800
commit42526b478e369d7e8c9a95186ad87fae9930eea5 (patch)
tree3e3791a0e156d559341a50598e0adc27fccaf06f /sigchain.c
parentGit-aware CGI to provide dumb HTTP transport (diff)
downloadtgif-42526b478e369d7e8c9a95186ad87fae9930eea5.tar.xz
Add stateless RPC options to upload-pack, receive-pack
When --stateless-rpc is passed as a command line parameter to upload-pack or receive-pack the programs now assume they may perform only a single read-write cycle with stdin and stdout. This fits with the HTTP POST request processing model where a program may read the request, write a response, and must exit. When --advertise-refs is passed as a command line parameter only the initial ref advertisement is output, and the program exits immediately. This fits with the HTTP GET request model, where no request content is received but a response must be produced. HTTP headers and/or environment are not processed here, but instead are assumed to be handled by the program invoking either service backend. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sigchain.c')
0 files changed, 0 insertions, 0 deletions