console: Make sure error socket is non blocking
This commit is contained in:
parent
bb1102afe6
commit
4ff0832301
|
@ -551,6 +551,7 @@ class vmmConsolePages(gobject.GObject):
|
|||
|
||||
logging.debug("Tunnel PID=%d OUTFD=%d ERRFD=%d" %
|
||||
(pid, fds[0].fileno(), errorfds[0].fileno()))
|
||||
errorfds[0].setblocking(0)
|
||||
self.vncTunnel = [fds[0], errorfds[0], pid]
|
||||
|
||||
return fds[0].fileno()
|
||||
|
|
Loading…
Reference in New Issue