Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In implementing a timed synchronous get, I issue one unit of credit, wait for the time specified, then I want to drain that credit in order to unambiguously determine if a message arrived or not. I don't want to increase the credit so in calling pn_drain() I want the second parameter to be 0. However doing so fails to trigger a new flow to be sent (with the drain flag set). Using a non-zero credit value, i.e. increasing the credit, does trigger the flow.