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

pn_session_set_context() aborts if zero is passed as the context

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-c-0.30.0
    • proton-c-0.31.0
    • proton-c
    • None

    Description

      This prevents the application from clearing the session context.

      Looks like the assert is wrong:

       

      void pn_session_set_context(pn_session_t *session, void *context)
      {
      assert(context);

      ...

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: