Skip to content

Proposal fix for large "MaxPacketSize" use. #24

Closed
wants to merge 1 commit into from

2 participants

@feraudet

When we use a "MaxPacketSize" over two thousand of octets (to pass huge
message in notification for example), buffer may not be flushed for a
while.
By flushing buffer when there is about 1400 octets, we're sure there is
no data too longer in.

Cyril Feraudet Proposal fix for large "MaxPacketSize" use.
When we use a "MaxPacketSize" over two thousand of octets (to pass huge
message in notification for example), buffer may not be flushed for a
while.
By flushing buffer when there is about 1400 octets, we're sure there is
no data too longer in.
a8ee9cc
@feraudet

In addition, to pass huge notification message, I've updated NOTIF_MAX_MSG_LEN to 64k.

@octo
Owner
octo commented Mar 21, 2012

Hi Cyril,

thank you very much for finding and fixing this issue!

I've rebased this to the collectd-4.10 branch and submitted as 12213f8.

Best regards,
—octo

@octo octo closed this Mar 21, 2012
@mwongatemma mwongatemma referenced this pull request in mwongatemma/collectd Apr 17, 2012
@octo df plugin: Fix a compiler issue with Mac OS X 10.7.
Xcode Version 4.1 (11C74), GitHub issue #24

Change-Id: Ic6f49a95868c7f77bfb19f9c8afc87a97a1bf670
ead8b24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.