Re: [PATCH spice-html5] Inform agent about client's capabilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Pavel,

Mostly looks good; one question:

On 01/15/2015 06:33 AM, Pavel Grunt wrote:
> The client should inform the agent about capabilities
> when the connection is established. This avoid receiving unhandled
> agent messages.

> +        if (agent_data.type == VD_AGENT_ANNOUNCE_CAPABILITIES)
> +        {
> +            var agent_caps = new VDAgentAnnounceCapabilities(agent_data.data);
> +            if (agent_caps.request)
> +                this.announce_agent_capabilities(0);
> +            return true;

Shouldn't we go ahead and store the inbound caps?

Cheers,

Jeremy
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]