Re: [libvirt] [PATCH] rpc: for messages with FDs always decode count of FDs from the message

2017-09-27 Thread Pavel Hrdina
> On Tue, Sep 26, 2017 at 05:13:37PM +0200, Pavel Hrdina wrote: > >The packet with passed FD has the following format: > > > >-- > >| len | header | payload | > >-- > > > >where "payload" has an additional count of FDs before the actual da

Re: [libvirt] [PATCH] rpc: for messages with FDs always decode count of FDs from the message

2017-09-27 Thread Ján Tomko
On Tue, Sep 26, 2017 at 05:13:37PM +0200, Pavel Hrdina wrote: The packet with passed FD has the following format: -- | len | header | payload | -- where "payload" has an additional count of FDs before the actual data:

[libvirt] [PATCH] rpc: for messages with FDs always decode count of FDs from the message

2017-09-26 Thread Pavel Hrdina
The packet with passed FD has the following format: -- | len | header | payload | -- where "payload" has an additional count of FDs before the actual data: -- | nfds | payload | -- When the p