Skip to content

Commit

Permalink
Upgrade nv-websocket-client (#81)
Browse files Browse the repository at this point in the history
Fixes #70
  • Loading branch information
dbrgn committed May 8, 2018
1 parent 3304fe5 commit 9e45070
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies {
compile 'org.msgpack:jackson-dataformat-msgpack:0.8.12'

// Dependency: WebSockets
compile 'com.neovisionaries:nv-websocket-client:1.31'
compile 'com.neovisionaries:nv-websocket-client:2.+'

// Dependency: Binary chunking
compile 'org.saltyrtc.chunked-dc:chunked-dc:1.0.0'
Expand Down
1 change: 1 addition & 0 deletions src/main/java/org/saltyrtc/client/signaling/Signaling.java
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ public void handleCallbackError(WebSocket websocket, Throwable cause) throws Exc
this.ws = new WebSocketFactory()
.setConnectionTimeout(this.wsConnectTimeout)
.setSSLContext(this.sslContext)
.setVerifyHostname(true)
.createSocket(uri)
.setPingInterval(SALTYRTC_WS_PING_INTERVAL)
.addProtocol(SALTYRTC_SUBPROTOCOL)
Expand Down

0 comments on commit 9e45070

Please sign in to comment.