GUAC-558: Do NOT make initial request if connect failed.
This commit is contained in:
1 parent
7dbb1b1ac0
commit
c5573f9811
1 file changed
+1
@@ -495,6 +495,7 @@ Guacamole.HTTPTunnel = function(tunnelURL) {
|
||||
if (connect_xmlhttprequest.status !== 200) {
|
||||
var status = getHTTPTunnelErrorStatus(connect_xmlhttprequest);
|
||||
close_tunnel(status.code, status.message);
|
||||
return;
|
||||
}
|
||||
|
||||
// Get UUID from response
|
||||
|
||||
Reference in new issue
Block a user