author | Cyril Feraudet <cyril@feraudet.com> | |
Mon, 19 Mar 2012 10:08:06 +0000 (11:08 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 21 Mar 2012 17:15:52 +0000 (18:15 +0100) | ||
commit | 12213f8dfeee3feb3846aa658def0bb79c1211d0 | |
tree | 79bde51b3030bb9eb49493ce39d86cf72020d341 | tree | snapshot |
parent | 1cdf817c74f6c4e2136dce840ab33af072f91733 | commit | diff |
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.
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.
src/network.c | diff | blob | history |