[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/7] ui/vnc: clipboard support
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH 5/7] ui/vnc: clipboard support |
Date: |
Wed, 3 Mar 2021 13:13:14 +0100 |
Hi,
> > + case Z_BUF_ERROR:
> > + out_len <<= 1;
> > + if (out_len > (1 << 20)) {
> >
>
> 1Mb isn't that much, is it? Well, since it handles only text for now it's
> probably enough. Would it make sense to make this a #define for clarity ?
Yep. While talking about sizes: How does vdagent handles large
clipboard chunks? There is ...
#define VD_AGENT_MAX_DATA_SIZE 2048
... but I suspect clipboard content isn't limited to that ...
thanks,
Gerd
- Re: [PATCH 5/7] ui/vnc: clipboard support,
Gerd Hoffmann <=