> On 9 Mar 2017, at 22:01, Jean-Paul Calderone <exar...@twistedmatrix.com> 
> wrote:
> 
> Run the server with TLSMemoryBIOProtocol and use the transport's 
> pauseProducing method before you attempt the shutdown?
> 
> Jean-Paul

Yup, that will work. Similarly, having two TLSMemoryBIOProtocols communicating 
together and pausing one before calling loseConnection on the other should also 
work. Essentially, any situation you can conjure where the closing connection 
will manage not to see either a TLS CloseNotify or a TCP FIN or RST will do the 
job.

Cory

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to