Clean handling of erroneous URLs
--------------------------------

                 Key: LS-475
                 URL: http://dev.sourcefabric.org/browse/LS-475
             Project: Liquidsoap
          Issue Type: Bug
            Reporter: Samuel Mimram
            Assignee: David Baelde


>From the mailing-list:

out(mksafe(
fallback([
    input.http(id="h1","http://localhost:2345/radio";),
    single("say:fallback")
])
))

h1.url http:/localhost:2345/radio
h1.stop
h1.start

results in

2011/02/07 03:10:57 [threads:1] Thread "http polling" failed: Invalid
URL "http:/localhost:2345/radio"!!
Thread 4 killed on uncaught exception Failure("Invalid URL
"http:/localhost:2345/radio"!")
Raised at file "pervasives.ml", line 22, characters 22-33
2011/02/07 03:10:57 [main:3] Shutdown started!
2011/02/07 03:10:57 [main:3] Waiting for threads to terminate...

We should handle more cleanly ill-formed URLs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à