]> arthur.barton.de Git - netdata.git/commitdiff
disable streaming by default
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Mon, 27 Feb 2017 01:55:11 +0000 (03:55 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Mon, 27 Feb 2017 01:55:11 +0000 (03:55 +0200)
src/rrdpush.c

index 60923287ac94224b87b9f517da8898c3f4737c74..06695c6f207e8a36e9f01019e22e4feb60fe50e2 100644 (file)
@@ -689,7 +689,7 @@ int rrdpush_receiver_thread_spawn(RRDHOST *host, struct web_client *w, char *url
         return 404;
     }
 
-    if(!appconfig_get_boolean(&stream_config, key, "enabled", 1)) {
+    if(!appconfig_get_boolean(&stream_config, key, "enabled", 0)) {
         error("STREAM [receive from [%s]:%s]: API key '%s' is not allowed. Forbidding access.", w->client_ip, w->client_port, machine_guid);
         buffer_flush(w->response.data);
         buffer_sprintf(w->response.data, "Your API key is not permitted access.");