Opened 13 years ago

Last modified 7 years ago

#347 closed defect (Fixed)

Some controller signals only work on unix

Reported by: arma Owned by:
Priority: Low Milestone: 0.1.2.x-final
Component: Core Tor/Tor Version: 0.1.2.2-alpha
Severity: Keywords:
Cc: arma, edmanm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

control_signal_check() and control_signal_act hard-code the
signal numbers to be the ones used in unix.

But handle_control_signal() uses the system-defined values for them.

One of these behaviors is wrong.

E.g., USR1 and USR2 (among possibly others) don't work on OS X from the
controller.

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (3)

comment:1 Changed 13 years ago by nickm

Only signal_check hardcodes, and it only hardcodes the values that the v0 controller accepts. So the test should really only happen in the v0 path, and it should be a translation rather than a test. Fixing.

comment:2 Changed 13 years ago by nickm

flyspray2trac: bug closed.
Fixed in r8828.

comment:3 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.