mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix: Unbreak TLS for ICECAST_PROTOCOL_SHOUTCAST source clients
This commit is contained in:
parent
2c32f02083
commit
be407ebbc7
@ -740,7 +740,7 @@ static inline void source_startup(client_t *client, const char *uri)
|
|||||||
client->respcode = 200;
|
client->respcode = 200;
|
||||||
/* send this non-blocking but if there is only a partial write
|
/* send this non-blocking but if there is only a partial write
|
||||||
* then leave to header timeout */
|
* then leave to header timeout */
|
||||||
sock_write (client->con->sock, "OK2\r\nicy-caps:11\r\n\r\n");
|
client_send_bytes(client, "OK2\r\nicy-caps:11\r\n\r\n", 20); /* TODO: Replace Magic Number! */
|
||||||
source->shoutcast_compat = 1;
|
source->shoutcast_compat = 1;
|
||||||
source_client_callback(client, source);
|
source_client_callback(client, source);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user