Overview
Comment: | Incremented delay waiting for unsolicited prompt upon connect |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
34d65aa483a88d4dce17686de513d5cf |
User & Date: | vitus on 2017-01-09 16:24:47 |
Other Links: | manifest | tags |
Context
2017-01-13
| ||
15:09 | Fix working without /home/vitus env var. Fixes [370911207add19] . Add full path to vws script into service file. Autostart from systemd now works check-in: 83e14cb536 user: vitus tags: trunk | |
2017-01-09
| ||
16:24 | Incremented delay waiting for unsolicited prompt upon connect check-in: 34d65aa483 user: vitus tags: trunk | |
2016-05-30
| ||
06:36 | Add chgrp for pid and monitor to startup script check-in: 3a33d29e3f user: vitus tags: trunk | |
Changes
Modified vws from [e16ae0ef11] to [46101f1ba1].
︙ | ︙ | |||
34 35 36 37 38 39 40 | sock.connect(monitor_path) except IOError as ex: if ex.errno == errno.ECONNREFUSED: # virtal machine is not running return None else: raise ex | | | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | sock.connect(monitor_path) except IOError as ex: if ex.errno == errno.ECONNREFUSED: # virtal machine is not running return None else: raise ex readfd, dummy_w, dummy_x = select.select([sock], [], [], 0.1) if sock in readfd: dummy_greeting = sock.recv(1024) return sock def send_command(sock, command): """ Sends monitor command to given socket and returns answer """ fcntl.flock(sock, fcntl.LOCK_EX) |
︙ | ︙ |