Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
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.
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.