Pierre Ossman <oss...@cendio.se> wrote on 06/10/2011 10:29:19:
> On Tue, 4 Oct 2011 14:43:36 +0200
> matthieu.lochegn...@altissemiconductor.com wrote:
>
> > Hi,
> >
> > It looks like 256k in a cut&paste should be enough for every one;
please
> > dont ask why some users want more, I dont want to know.
> > The problem is: it used to work, with another remote display software.
> > So...
> >
> > To be able to transfer larger blocks, I had to:
> > - modifiy TXWindow & vncconfig so that they can handle
> > "incremental" selection reception;
> > - switch the SetServerCut extension request to a "BigRequest",
> > which can now handle up to 4G.
> >
> > I did not know how to properly manage the hard-coded limit in
CMsgReader,
> > so I dropped it; no doubt there is better to do.
> > I also highered the "MaxCutText" parameter to 1M.
> >
> Well, I think a safe-guard in the client is something we want, so I'm
> not a fan of that change. Shouldn't be too difficult to make that
> configurable using the same system as the server.
I agree there should be a limit on the client side, but I did not know how
to do it. The CMsgReader is a somehow low-level object, and I dont see an
obvious way of getting a viewer's configuration item from here.
Could you give me a clue?
> Implementing INCR is a good thing, although the old viewer is on its
> way out. The new one should already support INCR (via FLTK). Fixing it
> in vncconfig is a welcome improvement though.
Thanks. I'll try the new client too.
> Lastly, there's the changed default. If this use case is an exception
> rather than a rule, can't they just use a different setting? That's why
> it's configurable after all.
Well, this default was the max buffer size vncconfig could manage. The
limit has increased, and the default followed.
I revert this one. It's still true that 256k was enough for every one...
Thanks for your answers.
Regards,
--
Matthieu Lochegnies
Altis Semiconductor - http://www.altissemiconductor.com/
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel