]> source.dussan.org Git - jgit.git/commit
Ignore attempts to set the timeout to -1 80/7680/4
authorJason Pyeron <jpyeron@pdinc.us>
Mon, 10 Sep 2012 21:50:10 +0000 (23:50 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 10 Sep 2012 21:50:10 +0000 (23:50 +0200)
commit79d3dd839198c1ef10791fcc91973729d7755b31
tree268451ae2130bfbbad67d027e459b34c2d6a3967
parente63f1c94f8f9a5b10da6c1e5932da33eb805230a
Ignore attempts to set the timeout to -1

The value of -1 is the default value used by the underlying http
transports provided by the jre. On some versions an attempt to
set the timeout explicitly to -1 triggers a check condition,
disallowing negative numbers.

Bug: 389003
Change-Id: I74a22f8edc6c8e15843ad07c96a137739d9dcad1
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java