Update server.py

This commit is contained in:
Namhyeon Go 2024-03-06 16:25:36 +09:00 committed by GitHub
parent 14878eea50
commit efbf9363e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -136,6 +136,8 @@ def jsonrpc2_server(conn, id, method, params):
else:
Extension.dispatch_rpcmethod(method, "call", id, params, conn)
conn.close()
def proxy_connect(webserver, conn):
hostname = webserver.decode(client_encoding)
certpath = "%s/%s.crt" % (certdir.rstrip('/'), hostname)