Alan Conway created PROTON-1407:
-----------------------------------
Summary: pn_collector_next and pn_collector_peek are inconsistent
Key: PROTON-1407
URL: https://issues.apache.org/jira/browse/PROTON-1407
Project: Qpid Proton
Issue Type: Bug
Components: proton-c
Affects Versions: 0.17.0
Reporter: Alan Conway
Assignee: Alan Conway
Fix For: 0.18.0
pn_collector_peek() == NULL is not a reliable test for an empty collector if
you use pn_collector_next(). next() leaves the event on the head of the queue
until the following call to next, which is confusing.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]