[Pkg-anonymity-tools] [onionshare] 76/140: close the wait for HS connection after it successfully connects, because then flask is unresponsive until it times out
Ulrike Uhlig
u-guest at moszumanska.debian.org
Mon Sep 29 20:33:49 UTC 2014
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch master
in repository onionshare.
commit 17646641f638dec76c7de88a5e87c7d5ae027f67
Author: Micah Lee <micah at micahflee.com>
Date: Tue Sep 2 18:32:59 2014 -0700
close the wait for HS connection after it successfully connects, because then flask is unresponsive until it times out
---
onionshare/onionshare.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/onionshare/onionshare.py b/onionshare/onionshare.py
index b3bfead..8e1ba6e 100644
--- a/onionshare/onionshare.py
+++ b/onionshare/onionshare.py
@@ -132,6 +132,8 @@ class OnionShare(object):
s = socks.socksocket()
s.setproxy(socks.PROXY_TYPE_SOCKS5, '127.0.0.1', 9150)
s.connect((self.onion_host, 80))
+ #s.sendall('GET / HTTP/1.1\r\n\r\n')
+ s.close()
ready = True
sys.stdout.write('{0}\n'.format(strings._('wait_for_hs_yup')))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/onionshare.git
More information about the Pkg-anonymity-tools
mailing list