Opened 4 years ago

Closed 4 years ago

#9792 closed defect (fixed)

stem's HiddenServiceOptions not updating

Reported by: cypherpunks Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version: Tor: 0.2.3.25
Severity: Keywords: stem HiddenServiceOptions
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

In stem, after unsetting any hidden services and then setting any new hidden service, get_conf_map('HiddenServiceOptions') still returns an empty list until reset_conf causes variable/argument to update (services and events work fine, just the variable/argument is a problem):

http://stackoverflow.com/questions/18777837/tors-stem-module-python-loading-but-not-unloading-config

My apologies if more amplifying data is needed...

Child Tickets

Change History (1)

comment:1 Changed 4 years ago by atagar

  • Resolution set to fixed
  • Status changed from new to closed

Thanks wayzard! This puzzled me for quite a while too. Turns out you uncovered a pretty bad bug with stem's configuration caching mechanism. It's now fixed - thanks for the catch!

Note: See TracTickets for help on using tickets.