syed commented on a change in pull request #2204: [CLOUDSTACK-10025] Adding
Support for NoVNC Console for KVM
URL: https://github.com/apache/cloudstack/pull/2204#discussion_r131289911
##########
File path:
services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxyBaseServerFactoryImpl.java
##########
@@ -33,10 +32,50 @@ public void init(byte[] ksBits, String ksPassword) {
}
@Override
- public HttpServer createHttpServerInstance(int port) throws IOException {
- if (s_logger.isInfoEnabled())
- s_logger.info("create HTTP server instance at port: " + port);
- return HttpServer.create(new InetSocketAddress(port), 5);
+ public Server createHttpServerInstance(int port) throws IOException {
+ Server webServer = new Server(port);
+ Handler[] handlerList = new Handler[6];
+
+ // new context handler for get screen
+ ContextHandler contextHandlerForScreen = new ContextHandler();
Review comment:
Move all the `ContextHandlers` to `startupHttpMain` function
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services