-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix execute command missing output with pauses in output text
For the container execute command, if the command executed has pauses in the output text, the websocket will send binary messages. These were interpreted as the stream being completed, and pylxd closed the websocket, thus losing the rest of the output. Delving into the code indicated some very strange behaviour across the threads, so as part of solving the problem, this has been cleaned up as well. Closes: #362 Signed-off-by: Alex Kavanagh <alex.kavanagh@canonical.com>
- Loading branch information
1 parent
816da55
commit 4c59b13
Showing
1 changed file
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters