From 67402ec77bd3e4b585f3f4fc906c974e68772c77 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 26 Jun 2017 10:29:17 +0200 Subject: curl: Enable following redirects The maximum number of redirects can be limited. The functionality can also be disabled. Fixes #2366. --- conf/Makefile.am | 1 + conf/plugins/curl.opt | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 conf/plugins/curl.opt (limited to 'conf') diff --git a/conf/Makefile.am b/conf/Makefile.am index de21103e3..87319db22 100644 --- a/conf/Makefile.am +++ b/conf/Makefile.am @@ -36,6 +36,7 @@ plugins = \ plugins/bypass-lan.opt \ plugins/certexpire.opt \ plugins/coupling.opt \ + plugins/curl.opt \ plugins/dhcp.opt \ plugins/dnscert.opt \ plugins/duplicheck.opt \ diff --git a/conf/plugins/curl.opt b/conf/plugins/curl.opt new file mode 100644 index 000000000..90efa12f4 --- /dev/null +++ b/conf/plugins/curl.opt @@ -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. -- cgit v1.2.3