jgit/org.eclipse.jgit.http.apache
Zhen Chen ca2183a403 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>
2016-11-22 12:24:32 -08:00
..
.settings Change JGit minimum execution environment to JavaSE-1.8 2016-09-20 11:32:36 +02:00
META-INF HttpClientConnection: Don't use deprecated HttpClient classes 2016-09-22 09:46:23 +02:00
resources/org/eclipse/jgit/transport/http/apache/internal Move Apache httpclient based HTTP support to a separate bundle 2014-02-20 23:57:21 +01:00
src/org/eclipse/jgit/transport/http/apache Fix content length in HttpClientConnection 2016-11-22 12:24:32 -08:00
.classpath Change JGit minimum execution environment to JavaSE-1.8 2016-09-20 11:32:36 +02:00
.gitignore Move Apache httpclient based HTTP support to a separate bundle 2014-02-20 23:57:21 +01:00
.project Move Apache httpclient based HTTP support to a separate bundle 2014-02-20 23:57:21 +01:00
BUCK Remove unused dependency to commons logging 2016-01-24 13:47:31 +01:00
about.html Move Apache httpclient based HTTP support to a separate bundle 2014-02-20 23:57:21 +01:00
build.properties Move Apache httpclient based HTTP support to a separate bundle 2014-02-20 23:57:21 +01:00
plugin.properties Move Apache httpclient based HTTP support to a separate bundle 2014-02-20 23:57:21 +01:00
pom.xml Prepare 4.6.0-SNAPSHOT builds 2016-09-19 17:06:42 +02:00