Show More
@@ -154,7 +154,7 b' class EngineFactory(RegistrationFactory):' | |||||
154 |
|
154 | |||
155 | def complete_registration(self, msg, connect, maybe_tunnel): |
|
155 | def complete_registration(self, msg, connect, maybe_tunnel): | |
156 | # print msg |
|
156 | # print msg | |
157 |
self.loop.remove_timeout(self._abort_ |
|
157 | self.loop.remove_timeout(self._abort_timeout) | |
158 | ctx = self.context |
|
158 | ctx = self.context | |
159 | loop = self.loop |
|
159 | loop = self.loop | |
160 | identity = self.bident |
|
160 | identity = self.bident | |
@@ -295,7 +295,7 b' class EngineFactory(RegistrationFactory):' | |||||
295 | loop = self.loop |
|
295 | loop = self.loop | |
296 | def _start(): |
|
296 | def _start(): | |
297 | self.register() |
|
297 | self.register() | |
298 | loop.add_timeout(loop.time() + self.timeout, self.abort) |
|
298 | self._abort_timeout = loop.add_timeout(loop.time() + self.timeout, self.abort) | |
299 | self.loop.add_callback(_start) |
|
299 | self.loop.add_callback(_start) | |
300 |
|
300 | |||
301 |
|
301 |
General Comments 0
You need to be logged in to leave comments.
Login now