Signed-off-by: YAMAMOTO Takashi <yamam...@valinux.co.jp> --- ryu/app/cli.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ryu/app/cli.py b/ryu/app/cli.py index 75284f9..96b9b78 100644 --- a/ryu/app/cli.py +++ b/ryu/app/cli.py @@ -175,7 +175,10 @@ class SshServer(paramiko.ServerInterface): os.write(fd, data) if rpipe in rfds: logger = self.logger - call_via_pipe.serve(rpipe, wpipe, [locals(), globals()]) + try: + call_via_pipe.serve(rpipe, wpipe, [locals(), globals()]) + except EOFError: + break chan.close() def _handle_shell_request(self): -- 1.8.0.1 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel