Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
5192e2f1
Commit
5192e2f1
authored
May 25, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HTTP: kill useless --http-max-redirects
"wget does it" is not a sufficient reason to do it.
parent
c237e73e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
modules/access/http.c
modules/access/http.c
+1
-7
No files found.
modules/access/http.c
View file @
5192e2f1
...
...
@@ -97,9 +97,6 @@ static void Close( vlc_object_t * );
#define FORWARD_COOKIES_TEXT N_("Forward Cookies")
#define FORWARD_COOKIES_LONGTEXT N_("Forward Cookies across http redirections.")
#define MAX_REDIRECT_TEXT N_("Max number of redirection")
#define MAX_REDIRECT_LONGTEXT N_("Limit the number of redirection to follow.")
#define USE_IE_PROXY_TEXT N_("Use Internet Explorer entered HTTP proxy server")
#define USE_IE_PROXY_LONGTEXT N_("Use Internet Explorer entered HTTP proxy " \
"server for all URL. Don't take into account bypasses settings and auto " \
...
...
@@ -137,8 +134,6 @@ vlc_module_begin ()
change_safe
()
add_bool
(
"http-forward-cookies"
,
true
,
FORWARD_COOKIES_TEXT
,
FORWARD_COOKIES_LONGTEXT
,
true
)
add_integer
(
"http-max-redirect"
,
5
,
MAX_REDIRECT_TEXT
,
MAX_REDIRECT_LONGTEXT
,
true
)
#ifdef WIN32
add_bool
(
"http-use-IE-proxy"
,
false
,
USE_IE_PROXY_TEXT
,
USE_IE_PROXY_LONGTEXT
,
true
)
...
...
@@ -245,8 +240,7 @@ static int AuthCheckReply( access_t *p_access, const char *psz_header,
static
int
Open
(
vlc_object_t
*
p_this
)
{
access_t
*
p_access
=
(
access_t
*
)
p_this
;
return
OpenWithCookies
(
p_this
,
p_access
->
psz_access
,
var_InheritInteger
(
p_access
,
"http-max-redirect"
),
NULL
);
return
OpenWithCookies
(
p_this
,
p_access
->
psz_access
,
5
,
NULL
);
}
/**
...
...
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