summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-08-17 13:09:57 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-17 13:09:57 -0700
commitc5d276cb184cc42fb90b60b14996253b855a3e06 (patch)
tree3ff423a75640bf12d4ae281ca321ca98f97f1e4d /config.c
parentMerge branch 'ot/ref-filter-object-info' (diff)
parentt5562: avoid non-portable "export FOO=bar" construct (diff)
downloadtgif-c5d276cb184cc42fb90b60b14996253b855a3e06.tar.xz
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 10522f399e..4446909229 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)))