[Twisted-Python] Invalid 'reason' info - possible cause
Itamar Shtull-Trauring
itamar at itamarst.org
Thu May 20 09:15:41 EDT 2004
On Thu, 2004-05-20 at 03:56, Sorin C. wrote:
> It seems that for every kind of selectable object -
> even if not connected - it is issued connection lost.
> I am unable at this moment to sugest a fix as I am not
> familiar with the internals of twisted so I hope a
> core developer can look into this further.
That is expected behaviour. If you shut down reactor, it closes all
connection by force, i.e. it is not a clean close. The problem is you
run reactor.stop() immediately before reactor.run(), so reactor shuts
down immediately.
--
Itamar Shtull-Trauring http://itamarst.org
More information about the Twisted-Python
mailing list