Skip to content

Commit c9cd60f

Browse files
pcloudsgitster
authored andcommitted
protocol-capabilities.txt: document no-done
See 3e63b21 (upload-pack: Implement no-done capability - 2011-03-14) and 761ecf0 (fetch-pack: Implement no-done capability - 2011-03-14) for more information. Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 087e347 commit c9cd60f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Documentation/technical/protocol-capabilities.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,18 @@ This is an extension of multi_ack that permits client to better
7575
understand the server's in-memory state. See pack-protocol.txt,
7676
section "Packfile Negotiation" for more information.
7777

78+
no-done
79+
-------
80+
This capability should only be used with the smart HTTP protocol. If
81+
multi_ack_detailed and no-done are both present, then the sender is
82+
free to immediately send a pack following its first "ACK obj-id ready"
83+
message.
84+
85+
Without no-done in the smart HTTP protocol, the server session would
86+
end and the client has to make another trip to send "done" before
87+
the server can send the pack. no-done removes the last round and
88+
thus slightly reduces latency.
89+
7890
thin-pack
7991
---------
8092

0 commit comments

Comments
 (0)