Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-0.3
-
None
Description
Currently, pn_messender_send will block until the engine reports there are no queued messages being held. The problem arises because the queued message count only reports message data that is being held by the engine due to insufficient credit to send the messages. Messages may also be sitting in the transport's encoded frame buffer waiting to be written to the wire, and messages may also be held by the driver itself. This latter possibly is problematic given the current transport interface because there is no way for an application using the engine (in this case messenger) to know whether data is being held by the driver without introducing an undesirable coupling between the application and the driver implementation.
Attachments
Attachments
Issue Links
- is related to
-
PROTON-225 Redesign Transport interface such that Transport owns the in/out buffers rather than its client
- Closed