curl_json: Add support for specifying a connection timeout
authorJan Kundrát <jan.kundrat@cesnet.cz>
Wed, 25 Mar 2015 17:06:50 +0000 (18:06 +0100)
committerJan Kundrát <jan.kundrat@cesnet.cz>
Wed, 1 Apr 2015 17:49:01 +0000 (19:49 +0200)
commit39a1828548656b7f1fe486d48b8a08bf475277f1
treef303c35c52b4d74effe12d0ccf0e17a51bfd07e5
parent60bcd476c4c3f275f891e1c7ef979624fb44909c
curl_json: Add support for specifying a connection timeout

There's apparently no need to init the config values in the `db` struct;
memset() is used earlier in the process. This patch doesn't change this
convention.
src/collectd.conf.pod
src/curl_json.c