diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-08-17 13:09:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-17 13:09:57 -0700 |
commit | c5d276cb184cc42fb90b60b14996253b855a3e06 (patch) | |
tree | 3ff423a75640bf12d4ae281ca321ca98f97f1e4d /config.c | |
parent | Merge branch 'ot/ref-filter-object-info' (diff) | |
parent | t5562: avoid non-portable "export FOO=bar" construct (diff) | |
download | tgif-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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))) |