Displaying 1 result from an estimated 1 matches for "mimetypes_fn".
2015 Mar 22
2
exposed-port option for Icecast behind reverse proxy
...ll as YP updates will use that port number.
The below patch is for Icecast version 2.3.2:
diff --git a/src/cfgfile.c b/src/cfgfile.c
index 5eac93d..42d917f 100644
--- a/src/cfgfile.c
+++ b/src/cfgfile.c
@@ -436,6 +436,10 @@ static void _parse_root(xmlDocPtr doc, xmlNodePtr node,
configuration->mimetypes_fn = (char *)xmlNodeListGetString(doc,
node->xmlChildrenNode, 1);
} else if (xmlStrcmp (node->name, XMLSTR("listen-socket")) == 0) {
_parse_listen_socket(doc, node->xmlChildrenNode, configuration);
+ } else if (xmlStrcmp (node->name, XMLSTR("exposed-port")) == 0) {
+ tm...