Flip the default to not use Gigahorse by default

Fixes https://github.com/sbt/sbt/issues/3570

The primary motivation for bringing in Gigahorse was to speed up the dependency resolution, especially in a high-latency environment like Australia, by enabling keep-alive. One of unintended consequences was that it ended up exposing either a bug in okhttp or Nexus / Artifactory's handling of keep-alive, since corporate users behind these proxy repositories started to experience problem publishing. Multiple people have also reported that putting network proxies like HAProxy works around this issue, which seems consistent with the theory.

Now that dependency resolution has switched to using Coursier by default, I am just going to flip the default here so publishing would use Ivy's default URL handler based on `java.net.HttpURLConnection` - 5681e1a77a/src/java/org/apache/ivy/util/url/BasicURLHandler.java
This commit is contained in:
Eugene Yokota 2019-08-27 17:47:32 -04:00
parent d0ce65378c
commit c5ce636376
1 changed files with 1 additions and 1 deletions

View File

@ -54,5 +54,5 @@ object LMSysProp {
}
}
lazy val useGigahorse: Boolean = getOrTrue("sbt.gigahorse")
lazy val useGigahorse: Boolean = getOrFalse("sbt.gigahorse")
}