DescriptionHandle exception writing to Chromoting host's stdin.
The linux_me2me_host script launches the host process, then writes the
JSON config to the child's stdin. If the host process dies before the
data is written to stdin, an IOError (EPIPE) exception is raised. This
CL handles the exception and retries launching the host, instead of
exiting the script.
To test this, I added a time.sleep(5) call between launching the
host and writing the config to stdin. This allowed me enough time to
simulate the error by killing the host process.
BUG=473441
Committed: https://crrev.com/acfbcb214d2af95cdc8e0e16b809db8fde878494
Cr-Commit-Position: refs/heads/master@{#329273}
Patch Set 1 #
Messages
Total messages: 11 (4 generated)
|