Re: pn_link_receive fails when previous delivery was not settled

2015-10-06 Thread Bozo Dragojevic
Hi Tomas, On 6. 10. 15 14.04, Tomáš Šoltys wrote: > Hi, > > I would like to receive messages without settling them. And do settle > later. Is it possible? You need to tell the link that you are done receiving and to go to the next delivery by doing a pn_link_advance(). > I have modified tests/to

pn_link_receive fails when previous delivery was not settled

2015-10-06 Thread Tomáš Šoltys
Hi, I would like to receive messages without settling them. And do settle later. Is it possible? I have modified tests/tools/apps/c/reactor-recv.c as such so the receiver does not call pn_delivery_settle(). Result is that pn_link_recv() will fail. Is this expected behaviour? Regards, Tomas