From fdf67fb31ed583549ae2f8827593ec4eb3dfed5c Mon Sep 17 00:00:00 2001
From: Christian Beier <info@christianbeier.net>
Date: Mon, 9 May 2022 15:56:11 +0200
Subject: [PATCH] rfb/rfb.h: increase UPDATE_BUF_SIZE by 2768 bytes

Simply raise the default to 32768 which is not an awful lot of an
increase and should not hurt the embedded guys.

If someone needs more, we can still go down the malloc() route and
make the buffer size configurable, but leave this to the users to
request and KISS for now.

Closes #521
---
 rfb/rfb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -555,7 +555,7 @@
      * means 8K minimum.
      */
 
-#define UPDATE_BUF_SIZE 30000
+#define UPDATE_BUF_SIZE 32768
 
     char updateBuf[UPDATE_BUF_SIZE];
     int ublen;
