aboutsummaryrefslogtreecommitdiffstats
path: root/vespa-http-client
diff options
context:
space:
mode:
authorTor Egge <tegge@oath.com>2018-11-13 15:53:44 +0000
committerJon Bratseth <bratseth@verizonmedia.com>2019-01-23 21:40:13 +0100
commit535a056b2d69038fa606cf7990e322f5f0b25489 (patch)
treee26975b11c09391f5f572338a702717db57d8dd9 /vespa-http-client
parente7c426600cdea793dc7e67d81d060543e68c0e95 (diff)
Remove traces of protocol version 2 from internal http feeder.
Diffstat (limited to 'vespa-http-client')
-rw-r--r--vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java2
1 files changed, 1 insertions, 1 deletions
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 d7733a23b18..57007743b1b 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
@@ -158,7 +158,7 @@ class ApacheGatewayConnection implements GatewayConnection {
private ByteBuffer[] getDataWithStartAndEndOfFeed(List<Document> docs, int version) {
List<ByteBuffer> data = new ArrayList<>();
- if (version == 2 || version == 3) { // TODO: Vespa 7: Remove support for version 2
+ if (version == 3) {
for (Document doc : docs) {
int operationSize = doc.size() + startOfFeed.length + endOfFeed.length;
StringBuilder envelope = new StringBuilder();