forked from cockpit-project/cockpit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python: on ProtocolChannel close, close the transport
Right now ProtocolChannel basically ignores "close" from the user. The correct this to do in this case is to ask the transport to close. The "close" message will be sent back to the user once we see our .connection_lost() method called by the transport. Doing this means that we no longer need to worry about killing the subprocess from the stream channel — it happens as part of .close() on the SubprocessTransport.
- Loading branch information
1 parent
ce4e755
commit b655ab8
Showing
2 changed files
with
4 additions
and
13 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
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