1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

Fix: Unbreak TLS for ICECAST_PROTOCOL_SHOUTCAST source clients

This commit is contained in:
Philipp Schafft 2018-04-21 09:54:19 +00:00
parent 2c32f02083
commit be407ebbc7

View File

@ -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_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_client_callback(client, source);
} else {