Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1378

missing lock of connection's links_with_work list

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: None
    • Labels:
      None

      Description

      see qdr_link_flow_CT:

       

         //
          // If the link was stalled due to internal backpressure from the transport, put it
          // on the links-with-work list and activate the connection to resume sending.
          //
          if (link->stalled_outbound) {
              link->stalled_outbound = false;
              if (DEQ_SIZE(link->undelivered) > 0) {
                  // Adding this work at priority 0.
       ===>        qdr_add_link_ref(link->conn->links_with_work, link, QDR_LINK_LIST_CLASS_WORK);
                  activate = true;
      {{        }}}
      {{    }}}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kgiusti Ken Giusti
                Reporter:
                kgiusti Ken Giusti
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: