runtime-rs: set agent timeout to 0 for stream RPCs
For stream RPCs:
write_stdin
read_stdout
read_stderr
there should be no timeout (by setting it to 0).
Fixes:
@@ -100,9 +100,9 @@ impl_agent!(
stats_container | crate::ContainerID | crate::StatsContainerResponse | None,
pause_container | crate::ContainerID | crate::Empty | None,
resume_container | crate::ContainerID | crate::Empty | None,
- write_stdin | crate::WriteStreamRequest | crate::WriteStreamResponse | None,
- read_stdout | crate::ReadStreamRequest | crate::ReadStreamResponse | None,
- read_stderr | crate::ReadStreamRequest | crate::ReadStreamResponse | None,
+ write_stdin | crate::WriteStreamRequest | crate::WriteStreamResponse | Some(0),
+ read_stdout | crate::ReadStreamRequest | crate::ReadStreamResponse | Some(0),
+ read_stderr | crate::ReadStreamRequest | crate::ReadStreamResponse | Some(0),
close_stdin | crate::CloseStdinRequest | crate::Empty | None,
tty_win_resize | crate::TtyWinResizeRequest | crate::Empty | None,
update_interface | crate::UpdateInterfaceRequest | crate::Interface | None,
