Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7397

[C++ broker] Broker replies with RemoteChannel null instead of zero

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • qpid-cpp-0.34
    • None
    • C++ Broker
    • None
    • qpid-cpp master (as of aug-8) running on fedora 23

      amqpnetlite master (as of aug-19) running on WinServer 2012 R2
      Self test LinkTests_SessionCreateClose

    Description

      The self test is pretty simple

      public void TestMethod_SessionCreateClose()
      {
          Connection connection = new Connection(testTarget.Address);
          Session session = new Session(connection);
          session.Close(0);
          connection.Close();
          Assert.IsTrue(connection.Error == null, "connection has error!");
      }
      

      Normally the test passes. Over the wire the init, open, begin, end, and close performatives are interleaved. Every now and then the test fails apparently when the client gets to send 'begin, end' or 'begin, end, close' back-to-back before the broker replies with the bad begin frame.

      A browsable trace of the failed AMQP handshake will be attached shortly. In this trace the first connection from 10.18.96.1:13423 is a success. The second connection (in red) from 18.18.96.1:13425 failed.

      Attachments

        1. qpidd-session-channel-65535.html
          49 kB
          Charles E. Rolke

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chug Charles E. Rolke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: