From a51013b2dbfe2dc72b644a0502b029ea04510380 Mon Sep 17 00:00:00 2001 From: Haakon Dybdahl Date: Tue, 22 Nov 2016 13:12:14 +0100 Subject: Add comment --- .../vespa/http/client/core/communication/ApacheGatewayConnection.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vespa-http-client') diff --git a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java index d8a2d2ddd12..f3d751f67c7 100644 --- a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java +++ b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java @@ -260,6 +260,8 @@ class ApacheGatewayConnection implements GatewayConnection { } private void verifyServerResponseCode(StatusLine statusLine) throws ServerResponseException { + // We use code 261-299 to report errors related to internal transitive errors that the tenants should not care + // about to avoid masking more serious errors. if (statusLine.getStatusCode() > 199 && statusLine.getStatusCode() < 260) { return; } -- cgit v1.2.3