1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

Feature: Expose TLS status in <listener> tags.

This exposes the TLS status as <tls> tag in the <listener> tag.
The tag contains a bool ("true" or "false"). TLS mode, version and
other parameters are out of the scope of this tag and may be added
as independed tags in later commits.
This commit is contained in:
Philipp Schafft 2015-02-09 12:14:16 +00:00
parent 927ccf5213
commit 91eb78fc3a

View File

@ -697,6 +697,8 @@ static inline xmlNodePtr __add_listener(client_t *client,
if (client->role)
xmlNewChild(node, NULL, XMLSTR("role"), XMLSTR(client->role));
xmlNewChild(node, NULL, XMLSTR("tls"), XMLSTR(client->con->ssl ? "true" : "false"));
return node;
}