releases

David Zeuthen zeuthen at gmail.com
Mon Jun 7 07:51:59 PDT 2010


Hey,

On Mon, Jun 7, 2010 at 9:51 AM, Christian Dywan <christian at lanedo.com> wrote:
>> What is wrong with the current negotiation? It's perfectly streamable
>> and leaves room open for future addition of negotation arguments. What
>> do you want?
>
> Have a look at the comments in bug #27857. Basically adding a
> new feature right now means repeating the whole negotiation with
> commands specific to the new feature. So what I would like to see is
> being able to handle any number of features in one go.

Specifically this is

 http://bugs.freedesktop.org/show_bug.cgi?id=27857#c12

When I talked to Lennart about this a couple of weeks back his
response was "just use pipelining!". While it's true this will "solve"
the problem, I don't think it's useful as it will complicate
implementations (which are security sensitive code already) and make
debugging slightly harder.

Honestly, I don't care too much about this and I don't have time to
duel it out with Lennart - so whatever you guys end up with is fine
with me and I'll just implement it in GDBus when it's in the spec
(currently GDBus supports NEGOTIATE_UNIX_FD/AGREE_UNIX_FD. It's not a
biggie to add NEGOTIATE_TYPE_MAYBE/AGREE_TYPE_MAYBE to this).

    David


More information about the dbus mailing list