Re: How to copy a pn_message?

2015-08-11 Thread aconway
On Mon, 2015-08-10 at 14:32 +, Dominic Evans wrote: > Hi Alan, > > -aconway wrote: - > > I don't see any pn_message_copy function in the proton library, is > > there an > > efficient way to make an independent copy of a message? I can > > encode and > > decode but that seems like a

Re: How to copy a pn_message?

2015-08-10 Thread Dominic Evans
Hi Alan, -aconway wrote: - > I don't see any pn_message_copy function in the proton library, is there an > efficient way to make an independent copy of a message? I can encode and > decode but that seems like a long way around. I actually had a patch lying around to add pn_message_copy()