Skip to content

Commit ed05161

Browse files
committed
[DE-218] changed default protocol from VST to HTTP
1 parent 0b8c09a commit ed05161

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## [Unreleased]
88

9+
- changed default protocol from VST to HTTP/1.1
10+
911
## [6.18.0] - 2022-06-07
1012

1113
- deprecated usage of deprecated server API (#440)

pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.arangodb</groupId>
77
<artifactId>arangodb-java-driver</artifactId>
8-
<version>6.18.0</version>
8+
<version>7.0.0-SNAPSHOT</version>
99
<inceptionYear>2016</inceptionYear>
1010
<packaging>jar</packaging>
1111

@@ -244,7 +244,6 @@
244244
<dependency>
245245
<groupId>org.apache.httpcomponents</groupId>
246246
<artifactId>httpclient</artifactId>
247-
<optional>true</optional>
248247
</dependency>
249248
<dependency>
250249
<groupId>com.arangodb</groupId>

src/main/java/com/arangodb/internal/ArangoDefaults.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ private ArangoDefaults() {
4646
public static final int MAX_CONNECTIONS_VST_DEFAULT = 1;
4747
public static final Integer CONNECTION_TTL_VST_DEFAULT = null;
4848
public static final int MAX_CONNECTIONS_HTTP_DEFAULT = 20;
49-
public static final Protocol DEFAULT_NETWORK_PROTOCOL = Protocol.VST;
49+
public static final Protocol DEFAULT_NETWORK_PROTOCOL = Protocol.HTTP_VPACK;
5050
public static final boolean DEFAULT_ACQUIRE_HOST_LIST = false;
5151
public static final int DEFAULT_ACQUIRE_HOST_LIST_INTERVAL = 60 * 60 * 1000; // hour
5252
public static final LoadBalancingStrategy DEFAULT_LOAD_BALANCING_STRATEGY = LoadBalancingStrategy.NONE;

0 commit comments

Comments
 (0)