You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function readToBytesChannel, which processes the Stdout and Stderr stream, has been updated to read lines for better granularity and lower complexity.
A wait group has also been added to ensure that all goroutines are returned elegantly. There was a problem with readToBytesChannel causing an issue further up the chain of execution, meaning each session was "completed" before all output had been processed.
Intermittently, running stream to capture a reasonable amount of text sometimes misses chunks of lines.
You can see an example of this here in "Go Test": https://github.com/DiscoRiver/massh/runs/3832011162?check_suite_focus=true
I was using the command
cat /var/log/auth.log
in this test, and you'll see the following online 48
;This should be something like what is on
line 44
;There doesn't immediately seem to be a pattern, but more investigation is necessary into the concurrency model.
The text was updated successfully, but these errors were encountered: