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

engine operations do not check if the endpoint is already closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • proton-0.3
    • None
    • None
    • None

    Description

      Operations such as SessionImpl#receiver(receiverName) and LinkImpl#delivery do not check the state of the endpoint. I believe they should throw an exception.

      Moreover, I notice that the following sequence of calls cause the transport to produce no output:

      ---------------

      sender.close;

      // deliberately use a closed sender.
      // The presence of this line causes the subsequent transport.output to produce zero bytes.
      sender.delivery(deliveryTag);

      transport.output(....);

      ---------------

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              philharveyonline Phil Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: