1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Update: Use match-method="" not method=""

This commit is contained in:
Philipp Schafft 2018-09-28 13:01:36 +00:00
parent 764b18ff7c
commit 996a64334f

View File

@ -166,10 +166,10 @@
<intro>/server-wide-intro.ogg</intro> <intro>/server-wide-intro.ogg</intro>
<max-listener-duration>3600</max-listener-duration> <max-listener-duration>3600</max-listener-duration>
<authentication> <authentication>
<role type="url" method="source,put" allow-web="*" allow-admin="*"> <role type="url" match-method="source,put" allow-web="*" allow-admin="*">
<option name="client_add" value="http://auth.example.org/stream_start.php"/> <option name="client_add" value="http://auth.example.org/stream_start.php"/>
</role> </role>
<role type="anonymous" method="source,put" deny-all="*" /> <role type="anonymous" match-method="source,put" deny-all="*" />
</authentication> </authentication>
<http-headers> <http-headers>
<header name="foo" value="bar" /> <header name="foo" value="bar" />
@ -221,7 +221,7 @@
<mount type="normal"> <mount type="normal">
<mount-name>/auth_example.ogg</mount-name> <mount-name>/auth_example.ogg</mount-name>
<authentication> <authentication>
<role type="url" method="get,post,head,options" allow-web="*" deny-admin="*" may-alter="send_error,redirect"> <role type="url" match-method="get,post,head,options" allow-web="*" deny-admin="*" may-alter="send_error,redirect">
<option name="client_add" value="http://myauthserver.net/notify_listener.php"/> <option name="client_add" value="http://myauthserver.net/notify_listener.php"/>
<option name="client_remove" value="http://myauthserver.net/notify_listener.php"/> <option name="client_remove" value="http://myauthserver.net/notify_listener.php"/>
<option name="action_add" value="listener_add"/> <option name="action_add" value="listener_add"/>
@ -229,7 +229,7 @@
<option name="headers" value="x-pragma,x-token"/> <option name="headers" value="x-pragma,x-token"/>
<option name="header_prefix" value="ClientHeader."/> <option name="header_prefix" value="ClientHeader."/>
</role> </role>
<role type="anonymous" method="get,post,head,options" deny-all="*" /> <role type="anonymous" match-method="get,post,head,options" deny-all="*" />
</authentication> </authentication>
<event-bindings> <event-bindings>
<event type="url" trigger="source-connect"> <event type="url" trigger="source-connect">