[Twisted-Python] half-closing SSL connection, unexpected connectionLost() error
glyph at divmod.com
glyph at divmod.com
Fri Feb 13 09:39:58 MST 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.
http://tools.ietf.org/html/rfc4346#section-7.2.1
[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