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

[tcp] TCP deliveries are counted as modified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.15.0, 1.16.0
    • None
    • Protocol Adaptors
    • None

    Description

      TCP deliveries that pass over inter router links are being counted as 'modified' once the TCP connections complete.   Since the inter router links survive much longer than the TCP links, the "modified" counters are visible long after TCP i done.

       

      Proposed fix:

      Add to void handle_disconnected(qdr_tcp_connection_t* conn):

      qd_log(tcp_adaptor->log_source, QD_LOG_DEBUG, "[C%"PRIu64"][L%"PRIu64"] handle_disconnected - close outstream", conn->conn_id, conn->outgoing_id);

      + qdr_delivery_remote_state_updated(tcp_adaptor->core,
      +                                   conn->outstream,
      +                                   PN_ACCEPTED,
      +                                   true, // settled,
      +                                   0, // delivery state
      +                                   false);

      qdr_delivery_decref(tcp_adaptor->core, conn->outstream, "tcp-adaptor.handle_disconnected - outstream");

       

      Attachments

        Activity

          People

            kgiusti Ken Giusti
            kgiusti Ken Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: