Le jeudi 25 novembre 2010 12:23:45, Romain Beauxis a écrit :
> > Currently harbor doesn't serve stats.xml. It would be easy to serve
> > something, more complex to make it customizable... I guess it depends
> > how much time devs (Romain, most likely) want to spend on harbor vs.
> > how hard it is for you to use haproxy.
> 
> input.harbor has on_connect/on_disconnect options that is called at each 
> connection with all the received headers. Maybe you can use it to hook up
> your  own stats.xml ?

Additionally, I can think of adding an operator that would register a 
particular page to serve, something like:

harbor.register("status.xml",(fun (_) -> "<html>...</html>"))

That way, you could implement whatever you need for the harbor..
Using on_connect/on_disconnect, you should even be able to do it in the 
liquidsoap script..

Romain

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to