author | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 31 Oct 2009 00:47:43 +0000 (17:47 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 5 Nov 2009 01:58:15 +0000 (17:58 -0800) | ||
commit | b8538603a34b13ccb1a3a096f461b8a35d7ea878 | |
tree | 109847c1ee74297039c22eb65c34d871d80db1f1 | tree | snapshot |
parent | 249b2004d8c9c58ed1ea1665dfd376af0312ed7e | commit | diff |
Smart HTTP fetch: gzip requests
The upload-pack requests are mostly plain text and they compress
rather well. Deflating them with Content-Encoding: gzip can easily
drop the size of the request by 50%, reducing the amount of data
to transfer as we negotiate the common commits.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
CC: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The upload-pack requests are mostly plain text and they compress
rather well. Deflating them with Content-Encoding: gzip can easily
drop the size of the request by 50%, reducing the amount of data
to transfer as we negotiate the common commits.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
CC: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote-curl.c | diff | blob | history |