diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2009-10-30 17:47:33 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-04 17:58:14 -0800 |
commit | 42526b478e369d7e8c9a95186ad87fae9930eea5 (patch) | |
tree | 3e3791a0e156d559341a50598e0adc27fccaf06f /archive.h | |
parent | 2f4038ab337e55017d4ff21ddbae9427544ca02c (diff) | |
download | git-42526b478e369d7e8c9a95186ad87fae9930eea5.tar.gz git-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 'archive.h')
0 files changed, 0 insertions, 0 deletions