Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
408d124b
Commit
408d124b
authored
May 08, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: adaptive: handle all redirect codes
refs #18290
parent
543eb135
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/demux/adaptive/http/HTTPConnection.cpp
modules/demux/adaptive/http/HTTPConnection.cpp
+1
-1
No files found.
modules/demux/adaptive/http/HTTPConnection.cpp
View file @
408d124b
...
...
@@ -250,7 +250,7 @@ int HTTPConnection::parseReply()
line
=
readLine
();
}
if
((
replycode
==
301
||
replycode
==
30
7
)
&&
if
((
replycode
==
301
||
replycode
==
30
2
||
replycode
==
307
||
replycode
==
308
)
&&
!
locationparams
.
getUrl
().
empty
())
{
msg_Info
(
p_object
,
"%d redirection to %s"
,
replycode
,
locationparams
.
getUrl
().
c_str
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment