[Icecast-dev] MySQL/HTTP Auth

Karl Heyes karl at xiph.org
Sat Jan 1 17:20:36 PST 2005


On Fri, 2004-12-31 at 08:49, Mike Whitaker wrote:

> We tried out Karl's URL based auth scheme talking to a MySQL DB, to 
> serve premium pay content ('radio'-style sports commentary on that 
> strange English game called cricket). The basic concept rocks utterly, 
> but we did run into some stability problems - this was kh58 - which 
> unfortunately due to pressures of having Real Customers we had to scrap 
> in favour of a cron job that dumped the DB to a flat file and use the 
> basic auth in 2.1.
> 
> I'll try and thrash the latest kh- branch when I get a chance - it 
> seems that sometimes, a URL-auth request would cause icecast to lock up 
> in a manner that simply stopped it receiving connections, and dumped 
> existing ones.

it's not a heavily used facility, so it is possible that there is an
issue with it. However there was a lock fix in ~2.1-kh1 (currently kh5)
which fixed a race for connecting clients.

Whether what you saw was because of that bug I can't say for, but it is
a strong possibility.

karl.




More information about the Icecast-dev mailing list