测试
This commit is contained in:
parent
216c23f5f7
commit
81c9872884
3
tap.go
3
tap.go
|
@ -82,7 +82,8 @@ func (cli *RPCClient) run() {
|
||||||
}
|
}
|
||||||
|
|
||||||
enc := gob.NewEncoder(zenc)
|
enc := gob.NewEncoder(zenc)
|
||||||
enc.Encode(<-cli.FrameChan)
|
cliBuffer := <-cli.FrameChan
|
||||||
|
enc.Encode(cliBuffer.BytesArray)
|
||||||
|
|
||||||
// 发到对面的网卡
|
// 发到对面的网卡
|
||||||
err = stream.Send(&gen.Request{
|
err = stream.Send(&gen.Request{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user