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
a735127f
Commit
a735127f
authored
Jun 20, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "No need to send Connection: close or Connection: Keep-Alive."
This reverts commit
4e497a21
.
parent
c5381865
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
modules/access/http.c
modules/access/http.c
+11
-3
No files found.
modules/access/http.c
View file @
a735127f
...
@@ -1193,6 +1193,17 @@ static int Request( access_t *p_access, int64_t i_tell )
...
@@ -1193,6 +1193,17 @@ 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"
);
...
@@ -1445,9 +1456,6 @@ static int Request( access_t *p_access, int64_t i_tell )
...
@@ -1445,9 +1456,6 @@ 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