[Twisted-Python] half-closing SSL connection, unexpected connectionLost() error

glyph at divmod.com glyph at divmod.com
Fri Feb 13 11:39:58 EST 2009

On 02:35 pm, denis.bilenko at gmail.com wrote:
>What's the correct way to call loseWriteConnection on SSL connection?

It is illegal, according to the specification.


   [upon receiving a close_notify] ... The other party MUST respond with 
a close_notify alert of its own and close down the connection 
immediately, discarding any pending writes.

More information about the Twisted-Python mailing list