Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chunk messages that are larger than the IRC line length limit #8

Open
LeftyBC opened this issue Apr 14, 2015 · 1 comment
Open

Chunk messages that are larger than the IRC line length limit #8

LeftyBC opened this issue Apr 14, 2015 · 1 comment

Comments

@LeftyBC
Copy link
Owner

LeftyBC commented Apr 14, 2015

We should be able to determine the IRC line length limit and chunk messages that, when encrypted+encoded, are larger than that limit.

@LeftyBC LeftyBC added this to the 1.1 milestone Apr 14, 2015
@LeftyBC LeftyBC modified the milestones: 2.0, 1.1 Apr 14, 2015
@LeftyBC LeftyBC added help wanted and removed UI labels Apr 14, 2015
@johnmaguire
Copy link

Just FYI, when implementing this in an IRC bot I wrote I learned the hard way that the limit for one user is different than another use. If the IRC server is following RFC 2812, it should allow 512 chars (subtract 2 for CRLF and you've got 510) per line. But a line includes prefix, hostname, ident, channel, etc. So it can be tricky to take all the diff variables into account. I think we settled on 200 after looking at the possible max values for all the other variables, but it's definitely possible to be smarter about it (though possibly painful.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants