Commit eeef3df3 authored by ibuler's avatar ibuler

[Update] 修改发送connect msg

parent fb44c3ac
......@@ -12,7 +12,6 @@ except ImportError:
import selectors2 as selectors
import paramiko
from paramiko.ssh_exception import SSHException
from .service import app_service
from .config import config
......
......@@ -103,6 +103,7 @@ class ProxyServer:
server = self.get_ssh_server_conn()
else:
server = None
self.client.send(b'\r\n')
self.connecting = False
return server
......@@ -148,6 +149,5 @@ class ProxyServer:
self.client.send_unicode('\x08\x08\x08\x08{:.1f}'.format(delay))
time.sleep(0.1)
delay += 0.1
self.client.send(b'\r\n')
thread = threading.Thread(target=func)
thread.start()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment