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

irc: LINELEN ISUPPORT token support/use #2346

Merged
merged 1 commit into from
Sep 3, 2022
Merged

irc: LINELEN ISUPPORT token support/use #2346

merged 1 commit into from
Sep 3, 2022

Conversation

dgw
Copy link
Member

@dgw dgw commented Aug 28, 2022

Take advantage of the LINELEN token in 005 to send longer messages than the RFC limit of 512 bytes, when possible.

Can't say I've ever seen a network actually advertise this token, but it's relatively easy to add and test so why not support it.

Checklist

  • I have read CONTRIBUTING.md
  • I can and do license this contribution under the EFLv2
  • No issues are reported by make qa (runs make quality and make test)
  • I have tested the functionality of the things this change touches

Notes

This was previously flagged as obsolete, but InspIRCd still uses it (refs: ircdocs/irc-defs#82, https://github.com/inspircd/inspircd/blob/e147b461173c58eb443eee0ac56f7d3c3c4b2c3a/src/server.cpp#L218).

Docs link in the code points to a nonexistent section at time of writing. See ircdocs/modern-irc#189 for the patch that will add it.

Take advantage of the (possibly niche) LINELEN token in 005 to send
longer messages than the RFC limit of 512 bytes, when possible.

Can't say I've ever seen a network actually advertise this token, but
it's relatively easy to add and test so why not support it.
@dgw dgw added this to the 8.0.0 milestone Aug 28, 2022
@dgw dgw requested a review from a team August 28, 2022 20:20
Copy link
Contributor

@Exirel Exirel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks straightforward to me.

@dgw dgw merged commit c06f353 into master Sep 3, 2022
@dgw dgw deleted the LINELEN-token branch September 3, 2022 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants