Hi,
for JSON a sensible multi-host config would look like this:
{
connections: [
{url: "
http://foo.example.org:8332", username: "bar", password: "baz"},
{url: "
http://bar.example.org:8332", username: "baz", password: "quux"}
],
}
I don't like the one-string "
http://bar:baz@foo.example.org:8332" style.
(a) it's ugly and human-unfriendly
(b) you'll almost certainly get parsing that thing wrong (passwords with spaces in them, anyone?)
(c) this way you can use additional options, like different timeouts or "ignore this host's longpoll offer, it's broken" options, per connection.