Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
be407ebb
Commit
be407ebb
authored
Apr 21, 2018
by
Philipp Schafft
🦁
Browse files
Fix: Unbreak TLS for ICECAST_PROTOCOL_SHOUTCAST source clients
parent
2c32f020
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/connection.c
View file @
be407ebb
...
...
@@ -740,7 +740,7 @@ static inline void source_startup(client_t *client, const char *uri)
client
->
respcode
=
200
;
/* send this non-blocking but if there is only a partial write
* then leave to header timeout */
sock_wri
te
(
client
->
con
->
sock
,
"OK2
\r\n
icy-caps:11
\r\n\r\n
"
);
client_send_by
te
s
(
client
,
"OK2
\r\n
icy-caps:11
\r\n\r\n
"
,
20
);
/* TODO: Replace Magic Number! */
source
->
shoutcast_compat
=
1
;
source_client_callback
(
client
,
source
);
}
else
{
...
...
Write
Preview
Supports
Markdown
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