On Saturday 10 August 2013 23:52:44 Damian Johnson wrote:
If I understand this correctly you're thinking that multiple calls to extend_circuit() cause parallel EXTENDCIRCUIT requests, and the first response would be used for both callers. Is that right?
Yes.
If so then I would be very interested if you actually see that behaviour. Stem provides thread safe controller communication. See the msg() method of the BaseController - though the Controller's methods are called in parallel the actual socket requests are done in serial to prevent that exact issue that you describe.
That looks fine to me. I obviously drew the wrong conclusion from the issues I have encountered. My fault, sorry.
Best, Robert