[Twisted-Python] how to drop connection
warner at lothar.com
Wed Jul 30 02:33:37 EDT 2003
"Michael Porter" <mporter at despammed.com> writes:
> I'm trying to close down a web server (wihout closing the application) but
> am having problems closing already established connections.
Maybe something like this? (note: completely untested):
def connectionLost(self, reason):
currentConnections = 
protocol = DroppingHTTPChannel
for p in self.currentConnections:
hope that seems useful..
More information about the Twisted-Python