diff --git a/platform/platform-api/src/com/intellij/util/net/NetUtils.java b/platform/platform-api/src/com/intellij/util/net/NetUtils.java index a2380bdc94a0..610b4b5d78eb 100644 --- a/platform/platform-api/src/com/intellij/util/net/NetUtils.java +++ b/platform/platform-api/src/com/intellij/util/net/NetUtils.java @@ -110,6 +110,7 @@ public class NetUtils { int expectedContentSize) throws IOException, ProcessCanceledException { if (indicator != null) { indicator.checkCanceled(); + if (expectedContentSize < 0) indicator.setIndeterminate(true); } final byte[] buffer = new byte[4 * 1024];