aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/protocols/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'pathod/protocols/http.py')
-rw-r--r--pathod/protocols/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/protocols/http.py b/pathod/protocols/http.py
index 4387b4fb..5fcb6618 100644
--- a/pathod/protocols/http.py
+++ b/pathod/protocols/http.py
@@ -27,7 +27,7 @@ class HTTPProtocol:
cert, key, chain_file_ = self.pathod_handler.server.ssloptions.get_cert(
connect[0].encode()
)
- self.pathod_handler.convert_to_ssl(
+ self.pathod_handler.convert_to_tls(
cert,
key,
handle_sni=self.pathod_handler.handle_sni,