Files
weave/router
David Wragg dfa93436c2 Fix use of "break" within "select" in LocalConnection actorLoop
From the golang spec: 'A "break" statement terminates execution of the
innermost "for", "switch", or "select" statement within the same
function.'  But the LocalConnection actorLoop seems to assume it
skips the "select" and terminates the enclosing "for".

As a result, if something did conn.Shutdown(nil), it would not actually
shutdown the connection. It turns out this is never a problem, because
Shutdown is always called with a non-nil error, even though there is code
in a few places to handle the nil case. By cleaning that up, the dubious
"break" is eliminated.
2015-05-22 11:26:30 +01:00
..
2015-04-30 14:47:16 +01:00
2015-05-14 12:02:56 +01:00
2015-04-14 17:58:13 +01:00
2015-05-14 12:35:01 +01:00
2015-05-14 15:13:10 +01:00
2015-05-11 17:19:54 +01:00
2015-05-02 17:46:21 +01:00
2015-05-14 12:35:01 +01:00
2015-05-14 12:35:01 +01:00
2015-05-16 01:09:53 +01:00