Hi Peter,

On Tue, Apr 26, 2011 at 12:52 PM, Peter Retep <[email protected]> wrote:
> I hope you have enjoyed your easter days.

I did, thank you.

> In the last months the amount of collaborating radio groups still increased
> so we hope we can use the url setting command in production mode in near
> feature.

I don't have much news on your issue, however. I hope to spend more
time on liquidsoap in the second half of May, notably to close that
ticket. That being said it's not a big deal to put it in production if
you make sure to work around the error (it's not the kind of issue
that will creep back when you think it's gone).

> 1) reseting an source URL
> How could I reset the secondary URL empty in this case?

Currently liquidsoap crashes if the URL is invalid. That's not a good
behavior but it's easily avoided: just set the URL to
http://nowhere/nothing and it should be fine. To avoid the active
polling (not very costly on such a stub address, but still) also do a
<input>.stop.

> 2) checking source URL status

For knowing if it's connected or not we have an internal flag, and I
could easily make it available as a command. However, a quick look at
the code didn't suffice to convince me that this flag still makes
sense -- it doesn't seem to be updated. Moreover, one of the planned
changes to input.http() and others would automatically bring that kind
of feature.

> (or any HTTP error codes 4xx which could give a hint what is going wrong
> like (not found, unauthorized)
> seesection 10.4 Client Error 4xx at
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html )

For that, the log file is a natural solution. But I guess it could be
more convenient to have a command indicating the last HTTP answer
code.

Could you please create a new ticket for those two features?

> 3) HTTP authorization
>
> How could I request URLs that are protected by authorization, like .htaccess
> user@password:http://domain.com

I use this already, the syntax is http://user:[email protected]/foobar

Cheers,
-- 
David

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to