Qpid Proton
  1. Qpid Proton
  2. PROTON-222

pn_messenger_send returns before message data has been written to the wire


    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.3
    • Fix Version/s: 0.4
    • Component/s: proton-c, proton-j
    • Labels:


      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.

      1. transport.patch
        4 kB
        Rafael H. Schloming

        Issue Links


          Ken Giusti made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Giusti made changes -
          Assignee Rafael H. Schloming [ rhs ] Ken Giusti [ kgiusti ]
          Philip Harvey made changes -
          Link This issue is related to PROTON-225 [ PROTON-225 ]
          Rafael H. Schloming made changes -
          Field Original Value New Value
          Attachment transport.patch [ 12568408 ]
          Rafael H. Schloming created issue -


            • Assignee:
              Ken Giusti
              Rafael H. Schloming
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: