Use --max-redirs 9999 instead of -1 as workaround.
Did a little research and found commit f121575 to be a candidate for cause.
/* * The maximum amount of hops you allow curl to follow Location: * headers. This should mostly be used to detect never-ending loops.*/
arg = va_arg(param, long);
if(arg < 0)
data->set.maxredirs = arg;
The text was updated successfully, but these errors were encountered: