TorCtl Crashes with Invalid torrc
Hi Mike. By issuing a sighup with an invalid torrc (my test case being to set RelayBandwidthBurst < RelayBandwidthRate) TorCtl dies in a rather unsightly way. Unfortunately I can't prevent this in arm, and if TorCtl kills the interpreter while curses is running the user's terminal is left in an especially screwed up state (requiring a reset to function again).
Traceback (most recent call last): File "/home/atagar/Desktop/arm/TorCtl/TorCtl.py", line 494, in _loop isEvent, reply = self._read_reply() File "/home/atagar/Desktop/arm/TorCtl/TorCtl.py", line 636, in _read_reply line = self._s.readline() File "/home/atagar/Desktop/arm/TorCtl/TorUtil.py", line 198, in readline s = self._s.recv(128) error: (104, 'Connection reset by peer')
[Automatically added by flyspray2trac: Operating System: All]