rohityadavcloud commented on code in PR #11221:
URL: https://github.com/apache/cloudstack/pull/11221#discussion_r2210074124
##########
services/console-proxy/server/src/main/java/com/cloud/consoleproxy/vnc/network/NioSocketHandler.java:
##########
@@ -20,6 +20,8 @@
public interface NioSocketHandler {
+ int DEFAULT_BUF_SIZE = 64 * 1024; // 64KiB
Review Comment:
Yes. This is just max. size of websocket packet. I tested websockify
directly with a KVM host (VM's VNC port), and found 64k to be the size it was
using too:
<img width="1851" height="858" alt="Screenshot 2025-07-16 at 4 56 53 PM"
src="https://github.com/user-attachments/assets/a4ae852c-0570-42bc-9b49-a7ef0c286736"
/>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]