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
3330aa6f
Commit
3330aa6f
authored
Sep 03, 2013
by
Ales Guzik
Committed by
Max Kellermann
Sep 05, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input/curl: enable https
parent
8929f88e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
NEWS
NEWS
+1
-0
CurlInputPlugin.cxx
src/input/CurlInputPlugin.cxx
+2
-1
ls.cxx
src/ls.cxx
+1
-0
No files found.
NEWS
View file @
3330aa6f
...
...
@@ -2,6 +2,7 @@ ver 0.18 (2012/??/??)
* protocol:
- new command "toggleoutput"
* innput:
- curl: enable https
- soup: plugin removed
* decoder:
- adplug: new decoder plugin using libadplug
...
...
src/input/CurlInputPlugin.cxx
View file @
3330aa6f
...
...
@@ -1083,7 +1083,8 @@ static struct input_stream *
input_curl_open
(
const
char
*
url
,
Mutex
&
mutex
,
Cond
&
cond
,
Error
&
error
)
{
if
(
strncmp
(
url
,
"http://"
,
7
)
!=
0
)
if
((
strncmp
(
url
,
"http://"
,
7
)
!=
0
)
&&
(
strncmp
(
url
,
"https://"
,
8
)
!=
0
))
return
NULL
;
struct
input_curl
*
c
=
new
input_curl
(
url
,
mutex
,
cond
);
...
...
src/ls.cxx
View file @
3330aa6f
...
...
@@ -36,6 +36,7 @@
static
const
char
*
remoteUrlPrefixes
[]
=
{
#if defined(ENABLE_CURL)
"http://"
,
"https://"
,
#endif
#ifdef ENABLE_MMS
"mms://"
,
...
...
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