This commit is contained in:
黄思敏 2022-08-26 10:16:00 +08:00
parent 216c23f5f7
commit 81c9872884

3
tap.go
View File

@ -82,7 +82,8 @@ func (cli *RPCClient) run() {
}
enc := gob.NewEncoder(zenc)
enc.Encode(<-cli.FrameChan)
cliBuffer := <-cli.FrameChan
enc.Encode(cliBuffer.BytesArray)
// 发到对面的网卡
err = stream.Send(&gen.Request{