mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-05 03:21:13 +00:00
686e6d5082
Breaks the receive loop of the API client when the VMM shuts down the socket connection. A shutdown is indicated by the return value 0 of the `recv()` system call.[^1][^2] This case was not handled before, so the API client tried infinitely to receive more bytes and did not return. [^1]: https://linux.die.net/man/2/recv [^2]: https://doc.rust-lang.org/std/io/trait.Read.html#tymethod.read Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |