Code

curl_json: use configured interval as default timeout value
authorMarc Fournier <marc.fournier@camptocamp.com>
Wed, 4 Jan 2017 00:05:49 +0000 (01:05 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Wed, 4 Jan 2017 00:05:49 +0000 (01:05 +0100)
commite7f68a40cf0db99a51afc1029c0697c661a7c4aa
tree36f6b522cf3a7daab4a0848a52355e35aee3a619
parent1afa5e081f364890b7c855b728f26d3923f1cbb7
curl_json: use configured interval as default timeout value

When no timeout is specified, the default timeout should be set to the
configured interval, not the default timeout (which is -1, no timeout).

This bug got introduced in bce14a848.
src/curl_json.c