Skip to content
  • Nick Mathewson's avatar
    Rewrite control_event_signal() to use signal_table. · 7bd67181
    Nick Mathewson authored
    When we added the ACTIVE and DORMANT virtual signals, we taught the
    signal command to handle them, but we didn't teach SIGNAL event to
    report them.
    
    To solve this problem and prevent it from recurring, this patch
    revises the implementation of control_event_signal() to use the same
    signal_table that handle_control_signal() uses.  This way, the two
    controller commands can't become out of sync.
    
    Fixes bug 33104; bugfix on 0.4.0.1-alpha.
    7bd67181