mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 02:05:19 +00:00
Retrieve version information using HTTPS
This commit is contained in:
parent
0b674eb35d
commit
e770ec3a61
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class VersionGetter(threading.Thread):
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
try:
|
try:
|
||||||
con = httplib.HTTPConnection('electrum.org', 80, timeout=5)
|
con = httplib.HTTPSConnection('electrum.org', timeout=5)
|
||||||
con.request("GET", "/version")
|
con.request("GET", "/version")
|
||||||
res = con.getresponse()
|
res = con.getresponse()
|
||||||
except socket.error as msg:
|
except socket.error as msg:
|
||||||
|
|
Loading…
Add table
Reference in a new issue