Open bkchr opened 6 years ago
hello, do you mean packets? RFC 3164 says total length should be 1024 bytes or less, but RFC 5424 does not define any upper limit, except that the receiver must support messages of size up to 480 bytes, and should support messages of size up to 2048 bytes. If we split the messages, they will be understood as multiple syslog messages, which will not be valid. It would be a better idea to have an option for maximum message length, and have the library return an error if the message would be too large.
The RFC says that packages should not be longer than 1024 bytes. We should split these packages into multiple packages.