Re: [Twisted-Python] TLSMemoryBIOProtocol _shutdownTLS what to do when not successfull

2013-01-16 Thread exarkun
On 03:47 pm, a...@roiban.ro wrote: >Hi, > >Here is this code in t.p.t.TLSMemoryBIOProtocol > >def _shutdownTLS(self): >""" >Initiate, or reply to, the shutdown handshake of the TLS layer. >""" >self._flushSendBIO() >shutdownSuccess = self._tlsConnection.s

[Twisted-Python] TLSMemoryBIOProtocol _shutdownTLS what to do when not successfull

2013-01-16 Thread Adi Roiban
Hi, Here is this code in t.p.t.TLSMemoryBIOProtocol def _shutdownTLS(self): """ Initiate, or reply to, the shutdown handshake of the TLS layer. """ self._flushSendBIO() shutdownSuccess = self._tlsConnection.shutdown() self._flushSendBIO()