mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix console proxy on XCPng/Xen (#7243)
This commit is contained in:
parent
597a8030b7
commit
4956648053
@ -155,7 +155,8 @@ public class NoVncClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Proxy that we support RFB 3.3 only
|
// Proxy that we support RFB 3.3 only
|
||||||
return RfbConstants.RFB_PROTOCOL_VERSION + "\n";
|
return String.format("%s%s\n", RfbConstants.RFB_PROTOCOL_VERSION_MAJOR,
|
||||||
|
RfbConstants.VNC_PROTOCOL_VERSION_MINOR_TUNNEL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -21,8 +21,8 @@ import java.nio.charset.Charset;
|
|||||||
public interface RfbConstants {
|
public interface RfbConstants {
|
||||||
|
|
||||||
public static final String RFB_PROTOCOL_VERSION_MAJOR = "RFB 003.";
|
public static final String RFB_PROTOCOL_VERSION_MAJOR = "RFB 003.";
|
||||||
// public static final String VNC_PROTOCOL_VERSION_MINOR = "003";
|
|
||||||
public static final String VNC_PROTOCOL_VERSION_MINOR = "008";
|
public static final String VNC_PROTOCOL_VERSION_MINOR = "008";
|
||||||
|
public static final String VNC_PROTOCOL_VERSION_MINOR_TUNNEL = "003";
|
||||||
public static final String RFB_PROTOCOL_VERSION = RFB_PROTOCOL_VERSION_MAJOR + VNC_PROTOCOL_VERSION_MINOR;
|
public static final String RFB_PROTOCOL_VERSION = RFB_PROTOCOL_VERSION_MAJOR + VNC_PROTOCOL_VERSION_MINOR;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user