Commit 0ae71952 authored by Serene H's avatar Serene H
Browse files

additional proxy timeout check

parent c1f62394
......@@ -107,6 +107,7 @@ class ProxyPair
@relay.onmessage = @onRelayToClientMessage
# TODO: Better websocket timeout handling.
@timer = setTimeout((=>
return if 0 == @timer
log @relay.label + ' timed out connecting.'
@relay.onclose()), 5000)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment