aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-07 23:07:40 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-09 10:03:19 +0200
commit882944a748d123c8715eca88536299d8570858f9 (patch)
treef636a5b10c4bf4e4c2652d52134fe9584c764cf1
parent90992bcc039d2b982ad6df18cf3188b53f939368 (diff)
Used patched (my) version of go-socket.io.
This version fixes crash when client disconnects unexpectedly.
-rw-r--r--glide.yaml4
-rw-r--r--lib/agent/xdsserver.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/glide.yaml b/glide.yaml
index 1f3f847..5e24308 100644
--- a/glide.yaml
+++ b/glide.yaml
@@ -17,8 +17,8 @@ import:
version: ^1.19.1
- package: github.com/Sirupsen/logrus
version: ^0.11.5
-- package: github.com/zhouhui8915/go-socket.io-client
- version: master
+- package: github.com/sebd71/go-socket.io-client
+ version: 46defcb47f
- package: github.com/satori/go.uuid
version: ^1.1.0
- package: github.com/iotbzh/xds-common
diff --git a/lib/agent/xdsserver.go b/lib/agent/xdsserver.go
index 014415f..518c68b 100644
--- a/lib/agent/xdsserver.go
+++ b/lib/agent/xdsserver.go
@@ -13,7 +13,7 @@ import (
"github.com/iotbzh/xds-agent/lib/xdsconfig"
common "github.com/iotbzh/xds-common/golib"
uuid "github.com/satori/go.uuid"
- sio_client "github.com/zhouhui8915/go-socket.io-client"
+ sio_client "github.com/sebd71/go-socket.io-client"
)
// Server .