Tor tunnel has no connection object until connect is called
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Anonplus |
Fix Committed
|
Undecided
|
aj00200 |
Bug Description
We need to call the connect methods on our tunnels before using them to send data so that they have a connection object.
The traceback is as follows:
Exception happened during processing of request from ('127.0.0.1', 53513)
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.handle()
File "/usr/lib/
self.
File "/usr/lib/
method()
File "/home/
broadcast(
File "/home/
getattr(
File "/home/
post_
File "/home/
self.send(pack)
File "/home/
self.
File "/home/
self.
AttributeError: 'Tunnel' object has no attribute 'connection'
Related branches
- pharno: Approve
-
Diff: 241 lines (+76/-45)5 files modifiedsrc/libs/friends.py (+38/-36)
src/libs/packets.py (+9/-2)
src/libs/storage/classes.py (+8/-1)
src/tunnels/tor.py (+19/-5)
src/vomun.py (+2/-1)
Changed in anonplus: | |
status: | New → Fix Committed |