containerd / ttrpc-rust

Rust implementation of ttrpc (GRPC for low-memory environments)
Apache License 2.0
197 stars 47 forks source link

fix the issue of read/write partial msg. #18

Closed lifupan closed 4 years ago

lifupan commented 4 years ago

Since the socket's recv/send would be interrupted by signal, thus loop the recv/send until read/write the expected lenght of data.

Signed-off-by: fupan.lfp fupan.lfp@antfin.com