Prepare larger packet buffer for upload-pack protocol.
authorJunio C Hamano <junkio@cox.net>
Sun, 10 Sep 2006 23:27:08 +0000 (16:27 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 10 Sep 2006 23:27:08 +0000 (16:27 -0700)
commitd47f3db75c58139cdcbca5cc63b17bf5db293b6a
treedc46b01a0ec82e6450e841638486bbb2caeabb78
parent958c24b1b8f463bca857f45c41a2f8198e345c2f
Prepare larger packet buffer for upload-pack protocol.

The original side-band support added to the upload-pack protocol used the
default 1000-byte packet length.  The pkt-line format allows up to 64k, so
prepare the receiver for the maximum size, and have the uploader and
downloader negotiate if larger packet length is allowed.

Signed-off-by: Junio C Hamano <junkio@cox.net>
fetch-clone.c
fetch-pack.c
sideband.h
upload-pack.c