Commit 408d124b authored by François Cartegnie's avatar François Cartegnie 🤞

demux: adaptive: handle all redirect codes

refs #18290
parent 543eb135
......@@ -250,7 +250,7 @@ int HTTPConnection::parseReply()
line = readLine();
}
if((replycode == 301 || replycode == 307) &&
if((replycode == 301 || replycode == 302 || replycode == 307 || replycode == 308) &&
!locationparams.getUrl().empty())
{
msg_Info(p_object, "%d redirection to %s", replycode, locationparams.getUrl().c_str());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment