Adapt for new netlib SNI API.

This commit is contained in:
Aldo Cortesi 2013-02-27 09:05:05 +13:00
parent ba0caff2dc
commit 25656f4889
1 changed files with 2 additions and 0 deletions

View File

@ -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)