On Mon, Jun 20, 2011 at 06:50:47PM -0400, Adam Jackson wrote:
> The caveat here is that unused data in errors isn't guaranteed to be
> 0, which means you'd have to know to only look for extra BadMatch
> info for either a particular server version or (better) protocol
> version.  You could reasonably make that part of protocol 11.1, on
> the assumption that 11.0 clients wouldn't bother looking for it, but
> that 11.1 clients would want to be assured of it.

Yeah, I was thinking about protocol 11.1, but from
ProcEstablishConnection:
    if ((prefix->majorVersion != X_PROTOCOL) ||
        (prefix->minorVersion != X_PROTOCOL_REVISION))
        reason = "Protocol version mismatch";
    else
        reason = ClientAuthorized(client,
                                  (unsigned short)prefix->nbytesAuthProto,
                                  auth_proto,
                                  (unsigned short)prefix->nbytesAuthString,
                                  auth_string);

So we could bump the server to 11.1 and allow 11.0 clients to connect,
but 11.1 clients wouldn't be able to declare that to 11.0 servers.  Ugh.

Cheers,
Daniel
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to