Adapt for new netlib SNI API.
This commit is contained in:
parent
ba0caff2dc
commit
25656f4889
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue