Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client.go: HybridVSockDialer: Change Read EOT to recv peek
Rust agent(grpc-rs) cannot work with firecacker because the first package will be dropped or truncated by HybridVSockDialer read EOT code. This issue was reported in kata-containers/kata-containers#79 Golang agent(grpc-golang) is also affected by this issue. But it is first package is 9 bytes FRAME_SETTINGS. Drop it will not affect subsequent communications. This commit change to use recv peek that will do same check with read EOT but not drop any package. Fixes: kata-containers#695 Signed-off-by: Hui Zhu <teawater@antfin.com>
- Loading branch information