summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-08-17 20:09:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-17 20:09:57 (GMT)
commitc5d276cb184cc42fb90b60b14996253b855a3e06 (patch)
tree3ff423a75640bf12d4ae281ca321ca98f97f1e4d /config.c
parentc83149ace6cd78cdd9b29b1ec4f0e0cb87558687 (diff)
parenteebfe409628e337e283d57a870f52ae0d0e0de34 (diff)
downloadgit-c5d276cb184cc42fb90b60b14996253b855a3e06.zip
git-c5d276cb184cc42fb90b60b14996253b855a3e06.tar.gz
git-c5d276cb184cc42fb90b60b14996253b855a3e06.tar.bz2
Merge branch 'mk/http-backend-content-length'
The http-backend (used for smart-http transport) used to slurp the whole input until EOF, without paying attention to CONTENT_LENGTH that is supplied in the environment and instead expecting the Web server to close the input stream. This has been fixed. * mk/http-backend-content-length: t5562: avoid non-portable "export FOO=bar" construct http-backend: respect CONTENT_LENGTH for receive-pack http-backend: respect CONTENT_LENGTH as specified by rfc3875 http-backend: cleanup writing to child process
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 10522f3..4446909 100644
--- a/config.c
+++ b/config.c
@@ -933,7 +933,7 @@ int git_parse_ulong(const char *value, unsigned long *ret)
return 1;
}
-static int git_parse_ssize_t(const char *value, ssize_t *ret)
+int git_parse_ssize_t(const char *value, ssize_t *ret)
{
intmax_t tmp;
if (!git_parse_signed(value, &tmp, maximum_signed_value_of_type(ssize_t)))