Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
4e497a21
Commit
4e497a21
authored
Jun 17, 2008
by
Bill C Riemers
Committed by
Rémi Denis-Courmont
Jun 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to send Connection: close or Connection: Keep-Alive.
Signed-off-by:
Rémi Denis-Courmont
<
rdenis@simphalempin.com
>
parent
fe4423dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
modules/access/http.c
modules/access/http.c
+3
-11
No files found.
modules/access/http.c
View file @
4e497a21
...
@@ -1193,17 +1193,6 @@ static int Request( access_t *p_access, int64_t i_tell )
...
@@ -1193,17 +1193,6 @@ static int Request( access_t *p_access, int64_t i_tell )
net_Printf
(
VLC_OBJECT
(
p_access
),
p_sys
->
fd
,
pvs
,
"Icy-MetaData: 1
\r\n
"
);
net_Printf
(
VLC_OBJECT
(
p_access
),
p_sys
->
fd
,
pvs
,
"Icy-MetaData: 1
\r\n
"
);
if
(
p_sys
->
b_continuous
)
{
net_Printf
(
VLC_OBJECT
(
p_access
),
p_sys
->
fd
,
pvs
,
"Connection: Keep-Alive
\r\n
"
);
}
else
if
(
p_sys
->
i_version
==
1
)
{
net_Printf
(
VLC_OBJECT
(
p_access
),
p_sys
->
fd
,
pvs
,
"Connection: Close
\r\n
"
);
}
if
(
net_Printf
(
VLC_OBJECT
(
p_access
),
p_sys
->
fd
,
pvs
,
"
\r\n
"
)
<
0
)
if
(
net_Printf
(
VLC_OBJECT
(
p_access
),
p_sys
->
fd
,
pvs
,
"
\r\n
"
)
<
0
)
{
{
msg_Err
(
p_access
,
"failed to send request"
);
msg_Err
(
p_access
,
"failed to send request"
);
...
@@ -1456,6 +1445,9 @@ static int Request( access_t *p_access, int64_t i_tell )
...
@@ -1456,6 +1445,9 @@ static int Request( access_t *p_access, int64_t i_tell )
free
(
psz
);
free
(
psz
);
}
}
if
(
p_sys
->
i_remaining
==
0
&&
(
p_access
->
info
.
i_size
==
-
1
||
p_access
->
info
.
i_size
==
i_tell
))
{
Disconnect
(
p_access
);
}
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
error:
error:
...
...
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