disable streaming by default
Costa Tsaousis (ktsaou) committed
Feb 27, 2017 at 03:55 UTC
9c3ed20f83ff36d1a98d0f020774c15d68126339
1 file changed
+1
-1
src/rrdpush.c
+1
-1
@@ -689,7 +689,7 @@ int rrdpush_receiver_thread_spawn(RRDHOST *host, struct web_client *w, char *url
689
return 404;
690
}
691
692
- if(!appconfig_get_boolean(&stream_config, key, "enabled", 1)) {
692
+ if(!appconfig_get_boolean(&stream_config, key, "enabled", 0)) {
693
error("STREAM [receive from [%s]:%s]: API key '%s' is not allowed. Forbidding access.", w->client_ip, w->client_port, machine_guid);
694
buffer_flush(w->response.data);
695
buffer_sprintf(w->response.data, "Your API key is not permitted access.");