diff options
author | Andrew Moss <1043609+amoss@users.noreply.github.com> | 2020-08-19 11:06:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 11:06:46 +0200 |
commit | 559376ad46c4d3a4b7058bd186d2fe75849500a4 (patch) | |
tree | 9cf661f0f1df080adbcc7d1d5a20bb5f59966a7c /streaming | |
parent | 8008029a2f0b56e3c9cc47c5d379b20151055d1e (diff) |
Fix long stats.d chart names (thanks to @vince-lessbits) (#9783)
The read buffer in the streaming receiver was too small to allow the longest lines in the plugins.d protocol to be reassembled.
Diffstat (limited to 'streaming')
-rw-r--r-- | streaming/rrdpush.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/rrdpush.h b/streaming/rrdpush.h index f747b69b2d..3985198d97 100644 --- a/streaming/rrdpush.h +++ b/streaming/rrdpush.h @@ -81,7 +81,7 @@ struct receiver_state { int update_every; uint32_t stream_version; time_t last_msg_t; - char read_buffer[512]; + char read_buffer[1024]; // Need to allow RRD_ID_LENGTH_MAX * 4 + the other fields int read_len; #ifdef ENABLE_HTTPS struct netdata_ssl ssl; |