@cryptotaxi247 / netdata-1 / commits / 559376ad4

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.

Andrew Moss committed Aug 19, 2020 at 11:06 UTC 559376ad46c4d3a4b7058bd186d2fe75849500a4
1 file changed +1 -1
streaming/rrdpush.h
+1 -1
@@ -81,7 +81,7 @@ struct receiver_state {
81 int update_every;
82 uint32_t stream_version;
83 time_t last_msg_t;
84 - char read_buffer[512];
84 + char read_buffer[1024]; // Need to allow RRD_ID_LENGTH_MAX * 4 + the other fields
85 int read_len;
86 #ifdef ENABLE_HTTPS
87 struct netdata_ssl ssl;