Hey,
i have a weird issue.
We are currently working on a cross-platform ssh & sftp app and we are using dartssh2 for our SSH & SFTP connection.
We implement the terminal parsing ourself etc. and I have noticed a very weird issue.
When running a high throughput command like yes you then press ctrl + c the delay to the server is around 5 seconds.
I tried to debug the issue and the code hangs for around 5 seconds (almost exactly the input delay) here: https://github.com/TerminalStudio/dartssh2/blob/master/lib/src/ssh_keepalive.dart#L19
I am not sure if this is a bug in dartssh2 or at our end.
Does it even make sense that the code hangs there?
is keepalive not getting through because of yes blocking the streams?
I am just here to check and basically ensure that this is a bug at our end not in this library.
Hey,
i have a weird issue.
We are currently working on a cross-platform ssh & sftp app and we are using
dartssh2for our SSH & SFTP connection.We implement the terminal parsing ourself etc. and I have noticed a very weird issue.
When running a high throughput command like
yesyou then pressctrl + cthe delay to the server is around 5 seconds.I tried to debug the issue and the code hangs for around 5 seconds (almost exactly the input delay) here: https://github.com/TerminalStudio/dartssh2/blob/master/lib/src/ssh_keepalive.dart#L19
I am not sure if this is a bug in
dartssh2or at our end.Does it even make sense that the code hangs there?
is keepalive not getting through because of
yesblocking the streams?I am just here to check and basically ensure that this is a bug at our end not in this library.