[Twisted-Python] IRC & Excess-Flood
ttimo at idsoftware.com
Fri Dec 12 03:50:43 EST 2003
The IRC RFCs describe the flood protection mecanism that's used in IRC
daemons. The IRC protocol in twisted doesn't do any rate limitation, it
can easily flood the server and get disconnected. I have the rate
monitoring algorithm written in C, contact me directly if you are
interested. It might be a good thing to add that to twisted's IRC protocol
if you convert it to python.
On Fri, 12 Dec 2003 02:01:21 +0000
Richard Livsey <R.Livsey at cache-22.co.uk> wrote:
> I'm in the process of writing an IRC component to an app I've made.
> All seems to work fine, except when it comes to output a lot of data it
> gets booted from the IRC server for flooding :o)
> *** Quits: SearchBot (Excess Flood)
> However, it doesn't seem to just disconnect as clientConnectionLost
> doesn't get called.
> In the logs, it says:
> 'Stopping factory <__builtin__.IRCClientFactoryFromService instance at
> Any ideas on what I can do to stop it happening?
> For the moment I'm just going to throttle the output by making each
> message have a delay using callLater, but it would be nice to work out
> whats happening!
> Cheers :o)
> Incutio Web Developer
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
More information about the Twisted-Python