aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.lfs.server
diff options
context:
space:
mode:
authorZhen Chen <czhen@google.com>2016-11-21 17:15:15 -0800
committerZhen Chen <czhen@google.com>2016-11-22 12:24:32 -0800
commitca2183a403b986d5ed2a2562b614a3dd4f36ffad (patch)
treef4741b989ada18d2ef0ad3ed3e66ade7bfe53187 /org.eclipse.jgit.lfs.server
parent81f9c18433f9d53a64498b07c90c4fc73654d942 (diff)
downloadjgit-ca2183a403b986d5ed2a2562b614a3dd4f36ffad.tar.gz
jgit-ca2183a403b986d5ed2a2562b614a3dd4f36ffad.zip
Fix content length in HttpClientConnection
Per the interface specification, the getContentLength method should return -1 if content length is unknown or greater than Integer.MAX_VALUE. For chunked transfer encoding, the content length is not included in the header, hence will cause a NullPointerException when trying to parse the content length header. Change-Id: Iaa36b5c146a8d654e364635fa0bd2d14129baf17 Signed-off-by: Zhen Chen <czhen@google.com>
Diffstat (limited to 'org.eclipse.jgit.lfs.server')
0 files changed, 0 insertions, 0 deletions