Opened 2 years ago

Closed 2 years ago

#25853 closed defect (fixed)

Behavior for Controller.get_exit_policy() for tor client

Reported by: dmr Owned by: atagar
Priority: Medium Milestone:
Component: Archived/Stem Version:
Severity: Normal Keywords: controller easy
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


In #25423 it was noticed that...

[...] the client-only configuration ALWAYS returns this:

>>> GETINFO exit-policy/full
551 router_get_my_routerinfo returned NULL

#25852 tracks implementing defined behavior in tor and the control spec to return 551 in this scenario.

This ticket tracks any necessary changes to stem.control for Controller.get_exit_policy() to return the appropriate ExitPolicy (perhaps None) for tor clients.

Child Tickets

Change History (3)

comment:1 Changed 2 years ago by atagar

Keywords: controller easy added

comment:2 Changed 2 years ago by atagar

This turned out to be more involved than I thought but in the end got to a good spot. Change pushed.

comment:3 Changed 2 years ago by atagar

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.