messenger store and links

2013-10-24 Thread Bozo Dragojevic
Hi! Chasing down a weird behavior... looking at messengers pni_pump_out() and how it's used from pn_messenger_endpoints() link = pn_link_head(conn, PN_LOCAL_ACTIVE | PN_REMOTE_ACTIVE); while (link) { if (pn_link_is_sender(link)) { pni_pump_out(messenger, pn_terminus_get_add

Re: 0.6 Release/0.7 Planning

2013-10-24 Thread Bozo Dragojevic
Thanks! Bozzo On 24. 10. 13 17:06, Rafael Schloming wrote: They look pretty straightforward, I don't see why we can't get them into 0.6. --Rafael On Thu, Oct 24, 2013 at 7:26 AM, Bozo Dragojevic wrote: On 23. 10. 13 13:10, Rafael Schloming wrote: Hi Everyone, There have be

Re: 0.6 Release/0.7 Planning

2013-10-24 Thread Bozo Dragojevic
On 23. 10. 13 13:10, Rafael Schloming wrote: Hi Everyone, There have been a bunch of good fixes and improvements on trunk since 0.5, and we now have a dwindling number of JIRAs slated for 0.6, so it's probably time to start thinking about another release. I believe right now there are 7 outstand

[jira] [Updated] (PROTON-436) pn_data_dump is broken for complex types

2013-10-03 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-436: --- Attachment: 0001-PROTON-436-pni_inspect_atom-can-do-better-than-asser.patch pn_data_dump

[jira] [Created] (PROTON-436) pn_data_dump is broken for complex types

2013-10-03 Thread Bozo Dragojevic (JIRA)
Bozo Dragojevic created PROTON-436: -- Summary: pn_data_dump is broken for complex types Key: PROTON-436 URL: https://issues.apache.org/jira/browse/PROTON-436 Project: Qpid Proton Issue Type

Re: bug in java ReceiverImpl?

2013-09-29 Thread Bozo Dragojevic
On 29. 09. 13 13:59, Rafael Schloming wrote: On Sun, Sep 29, 2013 at 7:35 AM, Bozo Dragojevic wrote: Hi, I've just noticed something that doesnt seem right: ReceiverImpl.advance() { ... getSession().**incrementIncomingBytes(-**current.pending()); but the Delivery s

bug in java ReceiverImpl?

2013-09-29 Thread Bozo Dragojevic
Hi, I've just noticed something that doesnt seem right: ReceiverImpl.advance() { ... getSession().incrementIncomingBytes(-current.pending()); but the Delivery should always have 0 pending bytes when advance() is called? Bozzo

[jira] [Updated] (PROTON-428) proton-hawtdispatch drops data when more than 512 bytes are read from the socket

2013-09-26 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-428: --- Attachment: 0001-PROTON-428-proton-hawtdispatch-drops-data-when-more-.patch The following

[jira] [Created] (PROTON-428) proton-hawtdispatch drops data when more than 512 bytes are read from the socket

2013-09-26 Thread Bozo Dragojevic (JIRA)
Bozo Dragojevic created PROTON-428: -- Summary: proton-hawtdispatch drops data when more than 512 bytes are read from the socket Key: PROTON-428 URL: https://issues.apache.org/jira/browse/PROTON-428

[jira] [Commented] (PROTON-398) pn_messenger_subscribe() fails to create a listener

2013-08-09 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13734649#comment-13734649 ] Bozo Dragojevic commented on PROTON-398: The ~ character in the address sig

[jira] [Updated] (PROTON-290) Allow querying of unsent messages by tracker

2013-08-08 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-290: --- Attachment: 0001-PROTON-393-check-if-delivery-is-still-buffered-by-pr.patch > Al

[jira] [Created] (PROTON-393) messenger needs a way to reset the error

2013-08-08 Thread Bozo Dragojevic (JIRA)
Bozo Dragojevic created PROTON-393: -- Summary: messenger needs a way to reset the error Key: PROTON-393 URL: https://issues.apache.org/jira/browse/PROTON-393 Project: Qpid Proton Issue Type

Re: 0.5 RC1

2013-08-06 Thread Bozo Dragojevic
On 5. 08. 13 21:14, Rafael Schloming wrote: As promised, here is 0.5 RC1: http://people.apache.org/~rhs/qpid-proton-0.5rc1/ Java binaries are here: https://repository.apache.org/content/repositories/orgapacheqpid-064/ --Rafael Rafael, which svn revision corresponds to this? r1510511

[jira] [Updated] (PROTON-372) driver does not handle POLLHUP

2013-08-01 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-372: --- Attachment: 0001-Handle-POLLHUP-as-pending-io.patch This seems like a less heavy-handed

[jira] [Updated] (PROTON-372) driver does not handle POLLHUP

2013-07-31 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-372: --- Attachment: 0001-Handle-POLLHUP-as-POLLERR.patch > driver does not handle POLL

[jira] [Commented] (PROTON-370) test proton-hawtdispatch

2013-07-31 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13725574#comment-13725574 ] Bozo Dragojevic commented on PROTON-370: Thanks for cleaning up the me

[jira] [Commented] (PROTON-372) driver does not handle POLLHUP

2013-07-30 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13724377#comment-13724377 ] Bozo Dragojevic commented on PROTON-372: (gdb) p ssn $1 = (pn_session_t *)

[jira] [Updated] (PROTON-372) driver does not handle POLLHUP

2013-07-30 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-372: --- Attachment: confuse-driver.py running against PN_TRACE_RAW=1 PN_TRACE_FRM=1 PN_TRACE_DRV=1

[jira] [Created] (PROTON-372) driver does not handle POLLHUP

2013-07-30 Thread Bozo Dragojevic (JIRA)
Bozo Dragojevic created PROTON-372: -- Summary: driver does not handle POLLHUP Key: PROTON-372 URL: https://issues.apache.org/jira/browse/PROTON-372 Project: Qpid Proton Issue Type: Bug

[jira] [Updated] (PROTON-370) test proton-hawtdispatch

2013-07-27 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-370: --- Attachment: 0002-simple-test-of-sending-and-receiving-a-message-with-.patch

[jira] [Created] (PROTON-370) test proton-hawtdispatch

2013-07-27 Thread Bozo Dragojevic (JIRA)
Bozo Dragojevic created PROTON-370: -- Summary: test proton-hawtdispatch Key: PROTON-370 URL: https://issues.apache.org/jira/browse/PROTON-370 Project: Qpid Proton Issue Type: Test

[jira] [Updated] (PROTON-362) Fix compilation on OS X

2013-07-21 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-362: --- Attachment: 0001-OS-X-and-other-BSDs-do-not-have-SOL_TCP-use-IPPROTO_.patch >

[jira] [Created] (PROTON-362) Fix compilation on OS X

2013-07-21 Thread Bozo Dragojevic (JIRA)
Bozo Dragojevic created PROTON-362: -- Summary: Fix compilation on OS X Key: PROTON-362 URL: https://issues.apache.org/jira/browse/PROTON-362 Project: Qpid Proton Issue Type: Bug

Re: [jira] [Updated] (PROTON-290) Allow querying of unsent messages by tracker

2013-06-11 Thread Bozo Dragojevic
://issues.apache.org/jira/browse/PROTON-290 Project: Qpid Proton Issue Type: New Feature Reporter: Bozo Dragojevic Fix For: 0.5 messenger.status(tracker) returns PENDING until the message is either accepted or rejected by the recipient. Allow

[jira] [Updated] (PROTON-288) Make it possible to start the server later during the test

2013-05-23 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-288: --- Attachment: 0001-PROTON-288-Make-it-possible-to-start-the-server-late.patch > Make

[jira] [Updated] (PROTON-288) Make it possible to start the server later during the test

2013-05-23 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-288: --- Attachment: (was: 0001-PROTON-288-Make-it-possible-to-start-the-server-late.patch

[jira] [Updated] (PROTON-288) Make it possible to start the server later during the test

2013-05-23 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-288: --- Attachment: 0001-PROTON-288-Make-it-possible-to-start-the-server-late.patch > Make

[jira] [Updated] (PROTON-288) Make it possible to start the server later during the test

2013-05-23 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-288: --- Attachment: (was: 0001-PROTON-288-Make-it-possible-to-start-the-server-late.patch

[jira] [Updated] (PROTON-288) Make it possible to start the server later during the test

2013-05-23 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-288: --- Attachment: 0001-PROTON-288-Make-it-possible-to-start-the-server-late.patch rebased to top

[jira] [Created] (PROTON-290) Allow querying of unsent messages by tracker

2013-04-10 Thread Bozo Dragojevic (JIRA)
Bozo Dragojevic created PROTON-290: -- Summary: Allow querying of unsent messages by tracker Key: PROTON-290 URL: https://issues.apache.org/jira/browse/PROTON-290 Project: Qpid Proton Issue

[jira] [Commented] (PROTON-289) outgoing tracker and outgoing queue disagree in case the server is not around

2013-04-10 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627708#comment-13627708 ] Bozo Dragojevic commented on PROTON-289: if you comment out the failing as

[jira] [Updated] (PROTON-289) outgoing tracker and outgoing queue disagree in case the server is not around

2013-04-10 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-289: --- Attachment: 0002-Add-test-for-sending-to-a-server-that-is-not-started.patch The attached

[jira] [Created] (PROTON-289) outgoing tracker and outgoing queue disagree in case the server is not around

2013-04-10 Thread Bozo Dragojevic (JIRA)
Bozo Dragojevic created PROTON-289: -- Summary: outgoing tracker and outgoing queue disagree in case the server is not around Key: PROTON-289 URL: https://issues.apache.org/jira/browse/PROTON-289

[jira] [Updated] (PROTON-288) Make it possible to start the server later during the test

2013-04-10 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-288: --- Attachment: 0001-Make-it-possible-to-start-the-server-later-during-th.patch > Make

[jira] [Created] (PROTON-288) Make it possible to start the server later during the test

2013-04-10 Thread Bozo Dragojevic (JIRA)
Bozo Dragojevic created PROTON-288: -- Summary: Make it possible to start the server later during the test Key: PROTON-288 URL: https://issues.apache.org/jira/browse/PROTON-288 Project: Qpid Proton

Re: RFC: new routing functionality for messenger

2013-03-26 Thread Bozo Dragojevic
On 3/23/13 5:43 PM, Rafael Schloming wrote: Hi, I've added a new API to messenger that gives the user some control over the internal routing behaviour of a messenger. Please check it out and comment. I've pasted the C API/doxygen below. This is currently only exposed through the python binding v

Re: RFC: new routing functionality for messenger

2013-03-26 Thread Bozo Dragojevic
On 3/25/13 8:26 PM, Rafael Schloming wrote: On Mon, Mar 25, 2013 at 3:06 PM, Bozo Dragojevic wrote: Rafael, did you consider a variant where a user can supply a rewrite object? pn_messenger_set_router(pn_**messenger_t *msgr, pn_router_t *router) Proton library can then easily supply a one

Re: RFC: new routing functionality for messenger

2013-03-25 Thread Bozo Dragojevic
Rafael, did you consider a variant where a user can supply a rewrite object? pn_messenger_set_router(pn_messenger_t *msgr, pn_router_t *router) Proton library can then easily supply a one or more ready-made implementations. Bozzo On 3/23/13 5:43 PM, Rafael Schloming wrote: Hi, I've added

nagle algorithm

2013-03-13 Thread Bozo Dragojevic
Here's the simple version of the patch, that I'm running with. I can also extend it so it's optionally settable, if you guys feel that disabling nagle is not always a good idea. -- Bozzo -- snip -- Author: Bozo Dragojevic Date: Wed Mar 13 16:53:44 2013 -0400 Disable na

Re: Fwd: put vs. send

2013-03-09 Thread Bozo Dragojevic
On 3/8/13 3:19 PM, Rafael Schloming wrote: On Thu, Mar 7, 2013 at 5:15 AM, Bozo Dragojevic <mailto:bo...@digiverse.si>> wrote: On 3/6/13 3:45 AM, Rafael Schloming wrote: Oops, meant to send this to the list. -- Forwarded message -- Fro

Re: put vs. send

2013-03-08 Thread Bozo Dragojevic
On 3/6/13 8:27 PM, Rafael Schloming wrote: On Wed, Mar 6, 2013 at 7:35 AM, Ted Ross wrote: On 03/06/2013 10:09 AM, Rafael Schloming wrote: On Wed, Mar 6, 2013 at 6:52 AM, Ted Ross wrote: On 03/06/2013 08:30 AM, Rafael Schloming wrote: On Wed, Mar 6, 2013 at 5:15 AM, Ted Ross wrote:

Re: Fwd: put vs. send

2013-03-07 Thread Bozo Dragojevic
On 3/6/13 3:45 AM, Rafael Schloming wrote: Oops, meant to send this to the list. -- Forwarded message -- From: Rafael Schloming Date: Tue, Mar 5, 2013 at 6:44 PM Subject: Re: put vs. send To: Bozo Dragojevic On Tue, Mar 5, 2013 at 3:25 PM, Bozo Dragojevic wrote: Wow, by not

Re: put vs. send

2013-03-05 Thread Bozo Dragojevic
On 3/5/13 8:52 PM, Rafael Schloming wrote: On Tue, Mar 5, 2013 at 11:10 AM, Ted Ross wrote: On 03/05/2013 02:01 PM, Rafael Schloming wrote: On Tue, Mar 5, 2013 at 10:42 AM, Michael Goulish wrote: So, am I understanding correctly? -- I should be able to get messages from my sender to my re

Re: [RESULT] [VOTE] 0.4 RC3

2013-03-05 Thread Bozo Dragojevic
On 2/25/13 9:44 PM, Rafael Schloming wrote: The vote carries with 5 +1's and 0 -1's. I'll upload the artifacts shortly. --Rafael On Thu, Feb 21, 2013 at 1:54 PM, Rafael Schloming wrote: Hi everyone, I've spun an RC3 with fixes for the two immediately soluble issues that turned up with RC2. P

[jira] [Commented] (PROTON-246) Described value at the end of a map screws up pn_data_appendn() - this screws up link attaches with filters

2013-02-21 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13583313#comment-13583313 ] Bozo Dragojevic commented on PROTON-246: I think this is duplicate of PROTON

[jira] [Updated] (PROTON-230) pn_data_appendn is not exiting the node tree correctly

2013-02-21 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-230: --- Attachment: pn_data_appendn.patch > pn_data_appendn is not exiting the node t

[jira] [Updated] (PROTON-200) [Proton-c] Credit distribution by messenger is not balanced across all links

2013-02-18 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozo Dragojevic updated PROTON-200: --- Attachment: upstream-credit.patch Here's my stab at the credit

[jira] [Commented] (PROTON-200) [Proton-c] Credit distribution by messenger is not balanced across all links

2013-02-18 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580643#comment-13580643 ] Bozo Dragojevic commented on PROTON-200: DoS is way better than not being abl

How to observe connection loss via the messenger API

2013-02-17 Thread Bozo Dragojevic
If I kill send.c while it's sending the messages then recv output might look like this: $ ./recv . 1361144306.723531 Address: amqp://0.0.0.0 Subject: Greetings from send 24136 Content: "Hello World!" ### engine.c:1395 pn_do_error ERROR ### transport-5 ERROR amqp:connection:fram

[jira] [Commented] (PROTON-200) [Proton-c] Credit distribution by messenger is not balanced across all links

2013-02-17 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580326#comment-13580326 ] Bozo Dragojevic commented on PROTON-200: For us we could not do anything exce

[jira] [Comment Edited] (PROTON-234) Add lots of logging to better understand inner working of proton

2013-02-12 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576611#comment-13576611 ] Bozo Dragojevic edited comment on PROTON-234 at 2/12/13 2:3

[jira] [Created] (PROTON-234) Add lots of logging to better understand inner working of proton

2013-02-12 Thread Bozo Dragojevic (JIRA)
Bozo Dragojevic created PROTON-234: -- Summary: Add lots of logging to better understand inner working of proton Key: PROTON-234 URL: https://issues.apache.org/jira/browse/PROTON-234 Project: Qpid

[jira] [Commented] (PROTON-234) Add lots of logging to better understand inner working of proton

2013-02-12 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576611#comment-13576611 ] Bozo Dragojevic commented on PROTON-234: There is also a kind of followup se

[jira] [Commented] (PROTON-233) Nonblocking connect must be handled explicitly in pn_driver_wait

2013-02-12 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576594#comment-13576594 ] Bozo Dragojevic commented on PROTON-233: I think this is related to PROTON

[jira] [Created] (PROTON-233) Nonblocking connect must be handled explicitly in pn_driver_wait

2013-02-12 Thread Bozo Dragojevic (JIRA)
Bozo Dragojevic created PROTON-233: -- Summary: Nonblocking connect must be handled explicitly in pn_driver_wait Key: PROTON-233 URL: https://issues.apache.org/jira/browse/PROTON-233 Project: Qpid

[jira] [Created] (PROTON-231) Allow messenger to be used inside an event loop

2013-02-12 Thread Bozo Dragojevic (JIRA)
Bozo Dragojevic created PROTON-231: -- Summary: Allow messenger to be used inside an event loop Key: PROTON-231 URL: https://issues.apache.org/jira/browse/PROTON-231 Project: Qpid Proton

[jira] [Created] (PROTON-230) pn_data_appendn is not exiting the node tree correctly

2013-02-12 Thread Bozo Dragojevic (JIRA)
Bozo Dragojevic created PROTON-230: -- Summary: pn_data_appendn is not exiting the node tree correctly Key: PROTON-230 URL: https://issues.apache.org/jira/browse/PROTON-230 Project: Qpid Proton

[jira] [Commented] (PROTON-200) [Proton-c] Credit distribution by messenger is not balanced across all links

2013-02-12 Thread Bozo Dragojevic (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576473#comment-13576473 ] Bozo Dragojevic commented on PROTON-200: My observation was that messenger

<    1   2