From ff9bec994b67cd3ac56c1d8ba808307f96302082 Mon Sep 17 00:00:00 2001 From: vzex Date: Sat, 14 Oct 2017 00:11:21 +0800 Subject: [PATCH] fix zappy decode crash bug, version change to 1.32 --- common/common.go | 2 +- pipe/pipe.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/common.go b/common/common.go index 3ec6010..06100b6 100644 --- a/common/common.go +++ b/common/common.go @@ -22,7 +22,7 @@ func init() { initxor() } -const Version = 1.31 +const Version = 1.32 type ClientSetting struct { AccessKey string diff --git a/pipe/pipe.go b/pipe/pipe.go index 3d24d77..f89fba1 100644 --- a/pipe/pipe.go +++ b/pipe/pipe.go @@ -12,7 +12,7 @@ import ( "time" ) import "github.com/klauspost/reedsolomon" -import "github.com/cznic/zappy" +import "github.com/vzex/zappy" const WriteBufferSize = 5000 //udp writer will add some data for checksum or encrypt const ReadBufferSize = WriteBufferSize * 2 //so reader must be larger