Is there a way to have icecast report server full rather then 404 not found when the max number of clients is reached? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Weather @ 3:28pm - Temp: -1.2 ?C - WindChill -4.3 ?C - Humidity 56 % - Wind: S @ 11 km/h Baro: 996 kPa Falling - Vis: 14 km - Sky: Overcast - Weather: --- =-=-=-= Website: http://www.WeatherServer.net =-=-=-=-=-=-=- Southern Ontario Weather Email Alerts, Closed Road Alerts -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20050311/208fc56c/attachment.html
On Fri, 11 Mar 2005 15:26:26 -0500, Jason <Jason@weatherserver.net> wrote:> > Is there a way to have icecast report server full rather then 404 not found > when the max number of clients is reached?I don't think there's an appropriate HTTP error code to use for this. If there is one, we could change icecast to use it (possibly), but the current version doesn't have any options for this. Mike
Michael Smith wrote:> I don't think there's an appropriate HTTP error code to use for this.I think Shoutcast uses 400. But not sure. But they also use 401 if there's no stream. I guess you could use 403 as access would indeed be forbidden. (must go look through the return codes again and see if there's anything better) Geoff.