[Twisted-Python] deleting server with coil

W.J. miathan at goliath.darktech.org
Wed May 21 08:22:18 EDT 2003


> it seems when you start a server using the coilwebinterface,
> it starts using listentcp in the same app that is already running..
> this makes that bindPorts is not called,
> so when you unlisten the userdict doesnt contain the needed port...

I know - A while ago I posted a patch on this list that fixes that problem
in twisted.internet.app, among others.

http://www.twistedmatrix.com/pipermail/twisted-python/2003-May/003945.html

But I never even got a reply to it.

> (btw calling bindPorts after you've run app.run() clears self._listenerDict)

No, that's not the way, bindPorts should only be called once.

Wladimir






More information about the Twisted-Python mailing list