Skip to content

Commit b78e021

Browse files
committed
Update ugorji/go/codec to v1.2.4
1 parent 94449a9 commit b78e021

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ require (
2929
github.com/pkg/sftp v0.0.0-20160118190721-e84cc8c755ca
3030
github.com/ryanuber/go-glob v1.0.0
3131
github.com/stretchr/testify v1.6.1
32-
github.com/ugorji/go v0.0.0-20151218193438-646ae4a518c1
32+
github.com/ugorji/go/codec v1.2.4
3333
github.com/zclconf/go-cty v1.7.0
3434
golang.org/x/crypto v0.0.0-20201208171446-5f87f3452ae9
3535
golang.org/x/mobile v0.0.0-20201208152944-da85bec010a2

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,8 @@ github.com/ufilesdk-dev/ufile-gosdk v0.0.0-20190830075812-b4dbc4ef43a6 h1:FAWNiq
603603
github.com/ufilesdk-dev/ufile-gosdk v0.0.0-20190830075812-b4dbc4ef43a6/go.mod h1:R5FMQxkQ+QK/9Vz+jfnJP4rZIktYrRcWmuAnbOSkROI=
604604
github.com/ugorji/go v0.0.0-20151218193438-646ae4a518c1 h1:U6ufy3mLDgg9RYupntOvAF7xCmNNquyKaYaaVHo1Nnk=
605605
github.com/ugorji/go v0.0.0-20151218193438-646ae4a518c1/go.mod h1:hnLbHMwcvSihnDhEfx2/BzKp2xb0Y+ErdfYcrs9tkJQ=
606+
github.com/ugorji/go v1.2.4/go.mod h1:EuaSCk8iZMdIspsu6HXH7X2UGKw1ezO4wCfGszGmmo4=
607+
github.com/ugorji/go/codec v1.2.4/go.mod h1:bWBu1+kIRWcF8uMklKaJrR6fTWQOwAlrIzX22pHwryA=
606608
github.com/ulikunitz/xz v0.5.5 h1:pFrO0lVpTBXLpYw+pnLj6TbvHuyjXMfjGeCwSqCVwok=
607609
github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8=
608610
github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=

rpc/client.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ func newClientWithMux(mux *muxBroker, streamId uint32) (*Client, error) {
4444
}
4545

4646
h := &codec.MsgpackHandle{
47-
RawToString: true,
48-
WriteExt: true,
47+
WriteExt: true,
4948
}
5049
clientCodec := codec.GoRpc.ClientCodec(clientConn, h)
5150

rpc/server.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ func (s *PluginServer) Serve() {
153153
defer stream.Close()
154154

155155
h := &codec.MsgpackHandle{
156-
RawToString: true,
157-
WriteExt: true,
156+
WriteExt: true,
158157
}
159158
rpcCodec := codec.GoRpc.ServerCodec(stream, h)
160159
s.server.ServeCodec(rpcCodec)

0 commit comments

Comments
 (0)