Subject: | PoCo::IRC should trim long lines |
Date: | Wed, 20 Feb 2008 16:10:44 -0200 |
To: | bug-POE-Component-IRC [...] rt.cpan.org |
From: | "Martín Ferrari" <martin.ferrari [...] gmail.com> |
Hi,
Today I discovered that a commit notification bot I wrote with
PoCo::IRC wes getting kicked out of the server with a "Request too
long" message. Inspection revealed that the PRIVMSG it sent to the
channel was causing the kick because the raw command was longer than
512 bytes, including \r\n. It seems that my private irc server is one
of the few to enforce the limit, but that's what the rfc says, so it'd
be nice if your module did check it.
Thanks for the nice and useful code!
--
Martín Ferrari