tadd comment about proxy side effect - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 92987d90193dc8c15f3e1b9455941681ed770099
DIR parent 0947eb7960496eeb959a4af3fd3c9097a3e27e56
HTML Author: ThomasV <thomasv@gitorious>
Date: Tue, 10 Mar 2015 09:43:22 +0100
add comment about proxy side effect
Diffstat:
M lib/interface.py | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/lib/interface.py b/lib/interface.py
t@@ -96,6 +96,7 @@ class TcpInterface(threading.Thread):
if self.proxy:
self.proxy_mode = proxy_modes.index(self.proxy["mode"]) + 1
socks.setdefaultproxy(self.proxy_mode, self.proxy["host"], int(self.proxy["port"]))
+ # fixme: side effect, client needs restart in order to get out of proxy mode
socket.socket = socks.socksocket
# prevent dns leaks, see http://stackoverflow.com/questions/13184205/dns-over-proxy
def getaddrinfo(*args):