[Twisted-Python] shut down only half the connection?

Itamar Shtull-Trauring itamar at itamarst.org
Sat Oct 4 14:01:16 MDT 2003


On Sat, 4 Oct 2003 15:54:42 -0400
Greg <greg at digitalinfo.net> wrote:

> Using internet.protocol Protocol, is it is possible to close only the
> writing half of a connection, like would be done with "shutdown(1)"
> using the Python Socket module? transport.loseConnection() seems to
> close down the connection alltogether, at which point
> Protocol.dataReceived() never gets called. Thanks. 

It is not possible at the moment. There's an issue in the bug tracker
about this, eventually it will be supported.

-- 
Itamar Shtull-Trauring    http://itamarst.org/
Available for Python & Twisted consulting




More information about the Twisted-Python mailing list