Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #1329

Closed
Open
Opened Mar 25, 2010 by Damian Johnson@atagar

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]

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#1329