[Xcb] X server bug on BIG-REQUESTS?

Barton C Massey bart at cs.pdx.edu
Sat Jun 10 23:27:43 PDT 2006


In message <20060611003721.GL4245 at id.minilop.net> you wrote:
> > Until we get it diagnosed and fixed, I vote we work around
> > it by setting the limit on request size for this request to
> > 1MB rather than 4MB.
> 
> I'm not sure exactly what you mean by this. We can have
> XCBGetMaximumRequestLength divide the value returned from
> BigRequestsEnable by four, which seems likely to work on all
> servers.

I think XCBGetMaximumRequestLength should return 1MB on
servers without BIGREQUESTS, and its normal value otherwise?
When a request of eg 1.1MB is sent, it should be sent using
BIGREQUESTS, which is legal AFAIK.

> There's a separate problem that callers, including
> the XCBImage library, need to split large data into smaller
> chunks.

Won't they do this automatically if we do the above?

> > This will be invisible on servers with BIGREQUEST (i.e. most
> > of them), and mostly invisible even on servers without.
> 
> I don't understand this at all.

Hopefully clearer now?

    Bart


More information about the Xcb mailing list