aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/main/java
diff options
context:
space:
mode:
authorlukasz-jarocki-sonarsource <lukasz.jarocki@sonarsource.com>2024-03-19 15:39:33 +0100
committersonartech <sonartech@sonarsource.com>2024-03-19 20:02:38 +0000
commit917a1f424307557ab9f6fbc2dcb1a8320774e511 (patch)
tree57d17709373e0da62038d15deae04116fc5eef50 /sonar-scanner-engine/src/main/java
parentf0217afa1856121b10c4a50d40b4038efb14b318 (diff)
downloadsonarqube-917a1f424307557ab9f6fbc2dcb1a8320774e511.tar.gz
sonarqube-917a1f424307557ab9f6fbc2dcb1a8320774e511.zip
SONAR-21857 fix ssf
Diffstat (limited to 'sonar-scanner-engine/src/main/java')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ScannerWsClientProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ScannerWsClientProvider.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ScannerWsClientProvider.java
index 9d1dfe6fa0e..b06d0eb4e08 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ScannerWsClientProvider.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ScannerWsClientProvider.java
@@ -44,7 +44,7 @@ public class ScannerWsClientProvider {
public DefaultScannerWsClient provide(ScannerProperties scannerProps, EnvironmentInformation env, GlobalAnalysisMode globalMode,
System2 system, AnalysisWarnings analysisWarnings) {
String url = defaultIfBlank(scannerProps.property("sonar.host.url"), "http://localhost:9000");
- HttpConnector.Builder connectorBuilder = HttpConnector.newBuilder();
+ HttpConnector.Builder connectorBuilder = HttpConnector.newBuilder().acceptGzip(true);
String timeoutSec = defaultIfBlank(scannerProps.property(READ_TIMEOUT_SEC_PROPERTY), valueOf(DEFAULT_READ_TIMEOUT_SEC));
String envVarToken = defaultIfBlank(system.envVariable(TOKEN_ENV_VARIABLE), null);