Re: ractor - sending message

2015-10-13 Thread Chuck Rolke
Correct. If a link has credit then you may send a message over it. However, there is also a session flow control that considers all of its links in aggregate. Some pictures are in https://netprototalk.wordpress.com/2015/10/01/amqp-as-a-network-protocol-2/ Even though you send a message to a

Re: ractor - sending message

2015-10-13 Thread Tomáš Šoltys
All right, I think I am finally cracking it. Please correct me if I am wrong. PN_LINK_FLOW is not meant for sending but for "Updates the flow state for the specified link." as stated in specification (2.7.4 Flow - OASIS Advanced Message Queuing Protocol (AMQP) Version 1.0). I can send message

Re: PN_REACTOR_QUIESCED

2015-10-13 Thread Andrew Stitcher
On Mon, 2015-10-12 at 16:05 -0400, aconway wrote: > ... > +1, that looks like the right fix. 3141 is an odd choice of default, > even for a mathematician. > At this point, I'm desperately trying to find an appropriate pi joke : -) Andrew

Re: PN_REACTOR_QUIESCED

2015-10-13 Thread Michael Goulish
But it's obvious how this constant was chosen. With circular reasoning. - Original Message - > On Mon, 2015-10-12 at 16:05 -0400, aconway wrote: > > ... > > +1, that looks like the right fix. 3141 is an odd choice of default, > > even for a mathematician. > > > > At this point,

proton crash in pn_messenger_free()

2015-10-13 Thread Michael Ivanov
Hallo, I am using proton 0.91 and I constantly experience crashes on process termination. I use two messengers, one to read primary input queue and the other to send replies. Primary messenger is used in non-blocking mode. On termination I do the following: if (_reply) {