Split IRC messages exceeding 512 bytes into multiple ones #41

Closed
opened 2025-09-08 14:08:01 +00:00 by versus · 0 comments
Owner

IRC messages should not exceed 512 bytes in length as per RFC 1459, and the IRC library in use doesn't transparently split long messages on this limit, which results in server truncating incoming messages.

Split long messages and send each chunk in a separate PRIVMSG. Mind the utf-8 multibyte encoding when splitting.

IRC messages should not exceed 512 bytes in length as per [RFC 1459](https://www.rfc-editor.org/rfc/rfc1459#section-2.3), and the [IRC library](https://github.com/thoj/go-ircevent) in use doesn't transparently split long messages on this limit, which results in server truncating incoming messages. Split long messages and send each chunk in a separate _PRIVMSG_. Mind the utf-8 multibyte encoding when splitting.
versus added this to the Road to 0.1.0 milestone 2025-09-08 14:08:01 +00:00
versus self-assigned this 2025-09-08 14:08:01 +00:00
versus added this to the Tasks project 2025-09-08 14:08:02 +00:00
versus added reference fix/split_irc_messages 2025-09-12 09:40:04 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jammella/gancio.notification#41
No description provided.