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

UDP documentation is incorrect #18

Open
bkeroackdsc opened this issue Oct 9, 2015 · 0 comments
Open

UDP documentation is incorrect #18

bkeroackdsc opened this issue Oct 9, 2015 · 0 comments

Comments

@bkeroackdsc
Copy link

The README incorrectly declares that UDP messages >1500 bytes (eg, the most common MTU) cannot be transmitted. UDP packets of arbitrary length can be transmitted via IP fragmentation. The caveat being that if any one of the fragments is not received, the entire datagram cannot be reassembled and the message is lost.

Given this, I think there should be a config option to not truncate messages (with clear warnings that this is not RFC-compliant and the larger the message, the greater the chance of it being lost in transit).

EDIT: After looking through the code, the truncation is done in the syslog_protocol gem and therefore isn't relevant here. However it would be nice to have an option to not split the message by lines.

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

No branches or pull requests

1 participant