ProPeler
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cpanel-ccs
/
lib-patches
/
Twisted
/
Filename :
securetransport.patch
back
Copy
Index: twisted/protocols/tls.py =================================================================== --- twisted/protocols/tls.py (revision 45115) +++ twisted/protocols/tls.py (working copy) @@ -705,7 +705,9 @@ @rtype: L{OpenSSL.SSL.Connection} """ context = self._oldStyleContextFactory.getContext() - return Connection(context, None) + connection = Connection(context, None) + connection.set_app_data(protocol) + return connection def serverConnectionForTLS(self, protocol):