mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-14 06:29:51 +00:00
fix http session init
This commit is contained in:
parent
572d9b482a
commit
35ecbff7a5
1 changed files with 1 additions and 0 deletions
|
@ -191,6 +191,7 @@ class Interface(threading.Thread):
|
||||||
def init_http(self, host, port, proxy=None, use_ssl=True):
|
def init_http(self, host, port, proxy=None, use_ssl=True):
|
||||||
self.init_server(host, port, proxy, use_ssl)
|
self.init_server(host, port, proxy, use_ssl)
|
||||||
self.session_id = None
|
self.session_id = None
|
||||||
|
self.is_connected = True
|
||||||
self.connection_msg = ('https' if self.use_ssl else 'http') + '://%s:%d'%( self.host, self.port )
|
self.connection_msg = ('https' if self.use_ssl else 'http') + '://%s:%d'%( self.host, self.port )
|
||||||
try:
|
try:
|
||||||
self.poll()
|
self.poll()
|
||||||
|
|
Loading…
Add table
Reference in a new issue