I noticed that when I rewrote the dictionary plugin to use Net::DICT instead of using a raw HTTP connection to m-w.com (which didn't work for me), it would be disconnected from the server if there was a particularly long definition. This doesn't happen to any other plugins despite high numbers of lamers filling the channel spamming !weather toronto over and over again.
Any ideas on how to prevent this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Perlbot 2.0 will have output buffering! Also, on a related note, it will have a configurable value for the max number of lines a plugin will be able to print into the public channel. Anything higher than that number will be msg'd to the requesting user (with buffering as well).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I noticed that when I rewrote the dictionary plugin to use Net::DICT instead of using a raw HTTP connection to m-w.com (which didn't work for me), it would be disconnected from the server if there was a particularly long definition. This doesn't happen to any other plugins despite high numbers of lamers filling the channel spamming !weather toronto over and over again.
Any ideas on how to prevent this?
Perlbot 2.0 will have output buffering! Also, on a related note, it will have a configurable value for the max number of lines a plugin will be able to print into the public channel. Anything higher than that number will be msg'd to the requesting user (with buffering as well).