diff --git a/libpathod/pathod.py b/libpathod/pathod.py index a088120de..31a126b7e 100644 --- a/libpathod/pathod.py +++ b/libpathod/pathod.py @@ -75,6 +75,7 @@ class PathodHandler(tcp.BaseHandler): self.convert_to_ssl( self.server.ssloptions.certfile, self.server.ssloptions.keyfile, + handle_sni = self.handle_sni ) except tcp.NetLibError, v: s = str(v) @@ -179,6 +180,7 @@ class PathodHandler(tcp.BaseHandler): self.convert_to_ssl( self.server.ssloptions.certfile, self.server.ssloptions.keyfile, + handle_sni = self.handle_sni ) except tcp.NetLibError, v: s = str(v)