Proton reactor documentation

2015-07-15 Thread aconway
I'm documenting the C++ binding but the proton C reactor.h is very
light on documentation. Is anyone working on this? I'm figuring it out
from source but it would be good to have some docs there.

Cheers,
Alan.


[jira] [Reopened] (PROTON-905) Long-lived connections leak sessions and links

2015-07-15 Thread Gordon Sim (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gordon Sim reopened PROTON-905:
---

The change made for this is causing crashes in tests from qpid-cpp that use 
proton. I have a further fix proposed: https://reviews.apache.org/r/36509/

 Long-lived connections leak sessions and links
 --

 Key: PROTON-905
 URL: https://issues.apache.org/jira/browse/PROTON-905
 Project: Qpid Proton
  Issue Type: Bug
  Components: proton-c
Affects Versions: 0.9.1
Reporter: Ken Giusti
Assignee: Ken Giusti
Priority: Blocker
 Fix For: 0.10

 Attachments: test-send.py


 I found this issue while debugging a crash dump of qpidd.
 Long lived connections do not free its sessions/link.
 This only applies when NOT using the event model.  The version of qpidd I 
 tested against (0.30) still uses the iterative model.  Point to consider, I 
 don't know why this is the case.
 Details:  I have a test script that opens a single connection, then 
 continually creates sessions/links over that connection, sending one message 
 before closing and freeing the sessions/links.  See attached.
 Over time the qpidd run time consumes all memory on the system and is killed 
 by OOM.  To be clear, I'm using drain to remove all sent messages - there is 
 no message build up.
 On debugging this, I'm finding thousands of session objects on the 
 connections free sessions weakref list.  Every one of those sessions has a 
 refcount of one.
 Once the connection is finalized, all session objects are freed.  But until 
 then, freed sessions continue to accumulate indefinitely.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (PROTON-950) SASL PLAIN over cleartext should be supported

2015-07-15 Thread Ted Ross (JIRA)
Ted Ross created PROTON-950:
---

 Summary: SASL PLAIN over cleartext should be supported
 Key: PROTON-950
 URL: https://issues.apache.org/jira/browse/PROTON-950
 Project: Qpid Proton
  Issue Type: Bug
  Components: proton-c
Affects Versions: 0.10
Reporter: Ted Ross
 Fix For: 0.10


In the current 0.10 alpha, if SASL PLAIN is selected, SSL is forced.  This is a 
surprising change of behavior from earlier versions of Proton and it's arguable 
that a security policy like that should be left to the application using the 
Proton library.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


proton 0.10 blocker

2015-07-15 Thread Gordon Sim
The latest proton code is causing crashes in qpid-cpp tests that use it. 
I've tracked the problem down to the fix for PROTON-905[1] and proposed 
an enhancement to that fix, https://reviews.apache.org/r/36509/, which 
avoids the crash.


Could someone who understands the logic controlling the lifecycle of 
pn_session_t and pn_link_t objects in detail review and approve this please?



[1] https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=653f4e5