Commit 42c8e801 authored by Yury's avatar Yury

remove server_connector from Connection

parent 554f6962
Pipeline #110 passed with stages
in 12 minutes and 14 seconds
......@@ -3,8 +3,7 @@ from .protocol import Protocol
class Connection:
def __init__(self, dispatcher_cls, server_connector, loop, cert_path, key_path, prefix='dns-request', host='0.0.0.0', port=443, with_ssl=True):
self.server_connector = server_connector
def __init__(self, dispatcher_cls, loop, cert_path, key_path, prefix='dns-request', host='0.0.0.0', port=443, with_ssl=True):
self.dispatcher_cls = dispatcher_cls
self.loop = loop
self.cert_path = cert_path
......
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