-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run concurrent tor instances. #22
Comments
I am running into the same problem. Would be nice to run concurrent tor instance in the future. @karalabe any update on this problem? I could also try to create a PR if you point me in the right direction |
@gtuk this is since all of this code is executed in the same process as go. It might also be possible to remap Tor's global variables into TLS (Thread Local Storage), it's the same idea, isolate the globals, ... but using Thread Specific memory, instead of Process one. |
…libtor#22). - Use one global instance of Tor.
- LND can use Tor. - WebDav remote server backup/restore can use Tor. - Add breez/tor package. - It's not possible to run concurrent instances of Tor (ref. ipsn/go-libtor#22). - Use one global instance of Tor.
- LND can use Tor. - WebDav remote server backup/restore can use Tor. - Add breez/tor package. - It's not possible to run concurrent instances of Tor (ref. ipsn/go-libtor#22). - Use one global instance of Tor. - iOS isn't officially supported in go-libtor dependency. - An iOS wrapper is needed in upstream go-libtor (ref. ipsn/go-libtor#3).
- LND can use Tor. - WebDav remote server backup/restore can use Tor. - Add breez/tor package. - It's not possible to run concurrent instances of Tor (ref. ipsn/go-libtor#22). - Use one global instance of Tor. - iOS isn't officially supported in go-libtor dependency. - An iOS wrapper is needed in upstream go-libtor (ref. ipsn/go-libtor#3).
- LND can use Tor. - WebDav remote server backup/restore can use Tor. - Add breez/tor package. - It's not possible to run concurrent instances of Tor (ref. ipsn/go-libtor#22). - Use one global instance of Tor. - iOS isn't officially supported in go-libtor dependency. - An iOS wrapper is needed in upstream go-libtor (ref. ipsn/go-libtor#3).
- LND can use Tor. - WebDav remote server backup/restore can use Tor. - Add breez/tor package. - It's not possible to run concurrent instances of Tor (ref. ipsn/go-libtor#22). - Use one global instance of Tor. - iOS isn't officially supported in go-libtor dependency. - An iOS wrapper is needed in upstream go-libtor (ref. ipsn/go-libtor#3).
- LND can use Tor. - WebDav remote server backup/restore can use Tor. - Add breez/tor package. - It's not possible to run concurrent instances of Tor (ref. ipsn/go-libtor#22). - Use one global instance of Tor. - iOS isn't officially supported in go-libtor dependency. - An iOS wrapper is needed in upstream go-libtor (ref. ipsn/go-libtor#3).
This slightly modified example crash instantly :
Crash like this :
Is this a complete impossibility (such as the tor node using some global objects) or something that can be fixed with a good lock somewhere ?
The text was updated successfully, but these errors were encountered: