Used patched (my) version of go-socket.io.
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Sat, 7 Oct 2017 21:07:40 +0000 (23:07 +0200)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Mon, 9 Oct 2017 08:03:19 +0000 (10:03 +0200)
This version fixes crash when client disconnects unexpectedly.

glide.yaml
lib/agent/xdsserver.go

index 1f3f847..5e24308 100644 (file)
@@ -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
index 014415f..518c68b 100644 (file)
@@ -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 .