Hello Karl!
I try to redirect listeners to another server over listener_add auth. If i set header('Location: http://newurl.com/mount'); in auth.php, then icecast wait 5 sec and redirect user. The reason here is that CURL in your code auth_url.c use this option:
curl_easy_setopt (atd->curl, CURLOPT_FOLLOWLOCATION, 1);
This mean that curl make intern redirection and download content from a radio stream.
Maybe you can remove this option, or add new feature header for redirects?
Example:
icecast-auth-location: http://newurl.com/mount
Hello Karl! I try to redirect listeners to another server over listener_add auth. If i set header('Location: http://newurl.com/mount'); in auth.php, then icecast wait 5 sec and redirect user. The reason here is that CURL in your code auth_url.c use this option: curl_easy_setopt (atd->curl, CURLOPT_FOLLOWLOCATION, 1); This mean that curl make intern redirection and download content from a radio stream. Maybe you can remove this option, or add new feature header for redirects? Example: icecast-auth-location: http://newurl.com/mount