Commit 91eb78fc authored by Philipp Schafft's avatar Philipp Schafft 🦁

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.
parent 927ccf52
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment