aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'pathod/protocols')
-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 9756c266..2ede2591 100644
--- a/pathod/protocols/http.py
+++ b/pathod/protocols/http.py
@@ -25,7 +25,7 @@ class HTTPProtocol(object):
if not self.pathod_handler.server.ssloptions.not_after_connect:
try:
cert, key, chain_file_ = self.pathod_handler.server.ssloptions.get_cert(
- connect[0]
+ connect[0].encode()
)
self.pathod_handler.convert_to_ssl(
cert,