author | Pavel Rochnyack <pavel2000@ngs.ru> | |
Tue, 4 Jul 2017 10:31:46 +0000 (17:31 +0700) | ||
committer | Pavel Rochnyack <pavel2000@ngs.ru> | |
Tue, 4 Jul 2017 12:50:07 +0000 (19:50 +0700) | ||
commit | e7a7be6760b7f79780e9e9ed10fa9e029a3faa38 | |
tree | 45ade3078fbbdcb4098d2e538fb3b6e8dfa7a3f7 | tree | snapshot |
parent | 24bdf52decaf93359aab0364fb11420af5cd4a21 | commit | diff |
curl plugins: Use configured URL for all poll cycles
After redirect received, Collectd send subsequent requests to new location.
That is wrong - Collectd should use configured URL for all poll cycles, regardless of the responses received previously.
Problem was caused by libcurl issue 1631. To avoid that we set request url in each poll cycle.
Closes: #2328
After redirect received, Collectd send subsequent requests to new location.
That is wrong - Collectd should use configured URL for all poll cycles, regardless of the responses received previously.
Problem was caused by libcurl issue 1631. To avoid that we set request url in each poll cycle.
Closes: #2328
src/apache.c | diff | blob | history | |
src/ascent.c | diff | blob | history | |
src/bind.c | diff | blob | history | |
src/curl.c | diff | blob | history | |
src/curl_json.c | diff | blob | history | |
src/curl_xml.c | diff | blob | history | |
src/nginx.c | diff | blob | history | |
src/write_http.c | diff | blob | history |