commit 357759d1b3b476f34770e8cae8b0ee505a9fd0b6 Author: David Fifield david@bamsoftware.com Date: Sun Nov 25 10:55:35 2012 -0800
Bail out sooner in ptGetClientTransports loop. --- websocket-transport/pt.go | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/websocket-transport/pt.go b/websocket-transport/pt.go index 9eaed84..c3fc2cb 100644 --- a/websocket-transport/pt.go +++ b/websocket-transport/pt.go @@ -74,6 +74,7 @@ func ptGetClientTransports(supported []string) []string { for _, methodName := range supported { if requested == methodName { result = append(result, methodName) + break } } }