1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-27 07:18:13 +03:00
wezterm/codec
Wez Furlong 6b67ae842c mux: try to detect invalid data on stdout during connection
Use some heuristics to verify the data that is about to be parsed;
this can help to detect eg: data being output to stdout prior
to us sending any encoded data to the remote mux.

In addition, add a timeout to help avoid waiting forever in
the case that we didn't detect a problem.

refs: https://github.com/wez/wezterm/issues/1860
2022-04-11 21:08:57 -07:00
..
src mux: try to detect invalid data on stdout during connection 2022-04-11 21:08:57 -07:00
Cargo.toml mux: try to detect invalid data on stdout during connection 2022-04-11 21:08:57 -07:00