[Icecast-dev] Shout API errors
david.baelde at gmail.com
Tue Feb 14 03:07:35 PST 2006
I just noticed that shout_open doesn't issue the NOLOGIN error when
user/password is wrong, but issues the SOCKET error, which doesn't
make much sense.
In C code (e.g. ices2) you just test if the return code is success and
treat all errors the same way. But in our ocaml binding errors are
reported using exceptions, and having the precise exception raised
would allow us as expected to treat all exceptions in the same handler
catching exceptions from shout_open, shout_send, and others.
I'll put a workaround anyway, but is there any chance it gets changed ?
More information about the Icecast-dev