Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
ac8dce65
Commit
ac8dce65
authored
Mar 10, 2017
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib/curl/Request: "ICY 200 OK" is a response boundary header
parent
190d5250
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
NEWS
NEWS
+2
-0
Request.cxx
src/lib/curl/Request.cxx
+4
-1
No files found.
NEWS
View file @
ac8dce65
ver 0.20.6 (not yet released)
* input
- curl: fix headers after HTTP redirect to Shoutcast server
* decoder
- ffmpeg: re-enable as fallback
- mpcdec: fix crash (division by zero) after seeking
...
...
src/lib/curl/Request.cxx
View file @
ac8dce65
...
...
@@ -172,7 +172,10 @@ gcc_pure
static
bool
IsResponseBoundaryHeader
(
StringView
s
)
{
return
s
.
size
>
5
&&
memcmp
(
s
.
data
,
"HTTP/"
,
5
)
==
0
;
return
s
.
size
>
5
&&
(
memcmp
(
s
.
data
,
"HTTP/"
,
5
)
==
0
||
/* the proprietary "ICY 200 OK" is
emitted by Shoutcast */
memcmp
(
s
.
data
,
"ICY 2"
,
5
)
==
0
);
}
inline
void
...
...
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