From 25656f488929a7c74d65a1f86cdc3bccbf8ca2c4 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 27 Feb 2013 09:05:05 +1300 Subject: [PATCH] Adapt for new netlib SNI API. --- libpathod/pathod.py | 2 ++ 1 file changed, 2 insertions(+) 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)