Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Anti-censorship
Pluggable Transports
Snowflake
Commits
0ae71952
Commit
0ae71952
authored
Jul 25, 2016
by
Serene H
Browse files
additional proxy timeout check
parent
c1f62394
Changes
1
Hide whitespace changes
Inline
Side-by-side
proxy/proxypair.coffee
View file @
0ae71952
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment