[Twisted-Python] HTTP Agent persistent connections not closed for some HTTPS sites
Cory Benfield
cory at lukasa.co.uk
Fri Mar 10 01:26:40 MST 2017
> On 9 Mar 2017, at 22:01, Jean-Paul Calderone <exarkun at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20170310/5e66904d/attachment-0002.html>
More information about the Twisted-Python
mailing list