curl_json: allow Timeout to be set to 0
authorMarc Fournier <marc.fournier@camptocamp.com>
Thu, 2 Apr 2015 16:25:42 +0000 (18:25 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Thu, 2 Apr 2015 16:25:42 +0000 (18:25 +0200)
commitbce14a848714aa347c0eab462e952d86c3347da6
tree3b4f555c1369d96fb7e7aa17ec1fd342ef2c0411
parent3dae3b4a426b3302227f58f015e33bea9813c9c9
curl_json: allow Timeout to be set to 0

also use the per-instance interval or plugin_get_interval() as the
default value, depending on which one is configured.
src/curl_json.c