Make the ssl handshake non blocking.
This commit is contained in:
parent
ad5472d5f2
commit
d83c25e709
3 changed files with 103 additions and 58 deletions
|
|
@ -48,6 +48,7 @@ class MatrixServer:
|
|||
self.buffers = dict() # type: Dict[str, weechat.buffer]
|
||||
self.server_buffer = None # type: weechat.buffer
|
||||
self.fd_hook = None # type: weechat.hook
|
||||
self.ssl_hook = None # type: weechat.hook
|
||||
self.timer_hook = None # type: weechat.hook
|
||||
self.numeric_address = "" # type: str
|
||||
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ def server_buffer_set_title(server):
|
|||
else:
|
||||
ip_string = ""
|
||||
|
||||
title = ("Matrix: {address}/{port}{ip}").format(
|
||||
title = ("Matrix: {address}:{port}{ip}").format(
|
||||
address=server.address,
|
||||
port=server.port,
|
||||
ip=ip_string)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue