From: Costa Tsaousis (ktsaou) Date: Mon, 27 Feb 2017 01:55:11 +0000 (+0200) Subject: disable streaming by default X-Git-Tag: ab-debian_0.20170227.01-0ab1~1^2~3^2 X-Git-Url: https://arthur.barton.de/gitweb/?p=netdata.git;a=commitdiff_plain;h=9c3ed20f83ff36d1a98d0f020774c15d68126339;hp=a1bbc9034939b6f8b5211629e1a6a0781d82a997 disable streaming by default --- diff --git a/src/rrdpush.c b/src/rrdpush.c index 60923287..06695c6f 100644 --- a/src/rrdpush.c +++ b/src/rrdpush.c @@ -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.");