![]() 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> |
||
---|---|---|
.. | ||
.settings | ||
META-INF | ||
resources/org/eclipse/jgit/transport/http/apache/internal | ||
src/org/eclipse/jgit/transport/http/apache | ||
.classpath | ||
.gitignore | ||
.project | ||
BUCK | ||
about.html | ||
build.properties | ||
plugin.properties | ||
pom.xml |