xenserver / xscontainer

Support for Docker and Container Management
BSD 2-Clause "Simplified" License
25 stars 14 forks source link

CA-183332: Don't close stdin when listening for docker events #21

Closed robertbreker closed 8 years ago

robertbreker commented 8 years ago

Calling stdin.channel.shutdown_write() worked fine in earlier environment versions. However, with the current versions shutdown_write triggers the event call to return instantaneously (with rc=0), instead of waiting and listening as we'd like it to. This is presumably down to a slightly different (i.e. more complete) implementation of shutdown_write.

Signed-off-by: Robert Breker robert.breker@citrix.com