curl: Enable following redirects

The maximum number of redirects can be limited. The functionality can also
be disabled.

Fixes #2366.
This commit is contained in:
Tobias Brunner
2017-07-27 13:15:43 +02:00
parent 791cfe82a1
commit 67402ec77b
3 changed files with 13 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
charon.plugins.curl.redir = -1
Maximum number of redirects followed by the plugin, set to 0 to disable
following redirects, set to -1 for no limit.