Ticket #3463: tls-no-ticket.patch

File tls-no-ticket.patch, 539 bytes (added by ralphm, 6 years ago)

Patch to disable the Session Ticket extension

  • twisted/words/protocols/jabber/xmlstream.py

     
    391391 
    392392        self.xmlstream.removeObserver('/failure', self.onFailure) 
    393393        ctx = ssl.CertificateOptions() 
     394        ctx.getContext().set_options(0x4000) 
    394395        self.xmlstream.transport.startTLS(ctx) 
    395396        self.xmlstream.reset() 
    396397        self.xmlstream.sendHeader()