<div dir="ltr"><div dir="ltr">Hi Thiago<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 3, 2022 at 6:08 PM Thiago Macieira <<a href="mailto:thiago@kde.org">thiago@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wednesday, 3 August 2022 03:54:21 PDT Marc-André Lureau wrote:<br>
> 1) Would it be a better design to add a 3rd UINT32 to the message header,<br>
> to indicate the size of the handle array?<br>
<br>
No. But you can add to the a(yv) at the end, which is extensible. In fact, <br>
there is an entry for that and it includes the number of file descriptors. So <br>
why isn't this enough?<br></blockquote><div><br></div><div>I could put more information in the header. The 'handle array' could be an extra field too.</div><div><br></div><div>Some concerns:<br></div><div>1) if 'handle array' size is as an extra field, then the fields must be retrieved and parsed to compute the whole message size.<br></div><div>2) if the 'handle array' is itself embedded in the header fields, the header content will need to be updated for each receiver when broadcasting.<br></div><div> </div></div><div>The second option might not be so bad after all, but my original design kept the original message (header+body) untouched.<br></div><div><br></div><div>thanks</div><div><br></div><div><div>-- <br><div dir="ltr" class="gmail_signature">Marc-André Lureau<br></div></div></div></div>