Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-966

[proton-j] empty frames are logged/traced when sent but not when received

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: proton-0.9.1
    • Fix Version/s: proton-0.10
    • Component/s: proton-j
    • Labels:
      None

      Description

      Proton-j logs/traces empty frames when sent but does not when they are received. This makes ascertaining idle timeout behaviour (which can use empty frames) harder to debug.

      The reason for this disparity is that the empty frames are swallowed by the FrameParser rather than a null frame body being passed to its FrameHandler. To resolve this, an EmptyFrame type can be introduced that can be processed as a NOOP and logged/traced in the same fashion as other frames.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                robbie Robbie Gemmell
                Reporter:
                robbie Robbie Gemmell
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: