diff options
author | Jeff King <peff@peff.net> | 2012-10-31 07:20:15 -0400 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2012-10-31 07:45:08 -0400 |
commit | df126e108b899da133a980e900df39dfe57fcd59 (patch) | |
tree | bd9b8267dd4a3122921554ac41359c18a1a86ee1 /credential.c | |
parent | 1960897ebc5a899a8e4ec3c2afc1d2325574fe41 (diff) | |
download | git-df126e108b899da133a980e900df39dfe57fcd59.tar.gz |
remote-curl: hoist gzip buffer size to top of post_rpc
When we gzip the post data for a smart-http rpc request, we
compute the gzip body and its size inside the "use_gzip"
conditional. We keep track of the body after the conditional
ends, but not the size. Let's remember both, which will
enable us to retry failed gzip requests in a future patch.
Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'credential.c')
0 files changed, 0 insertions, 0 deletions