You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2014/01/02 13:28:50 UTC

[jira] [Created] (PROTON-483) detach with closed=false (or unspecified) not handled

Gordon Sim created PROTON-483:
---------------------------------

             Summary: detach with closed=false (or unspecified) not handled
                 Key: PROTON-483
                 URL: https://issues.apache.org/jira/browse/PROTON-483
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: 0.6
            Reporter: Gordon Sim


If an application using proton-c receives a detach frame where the closed field is not set to true, then the state of the link doesn't change and the application is essentially unaware that anything has been received (and consequently can't respond).

>From transport.c (line 882):
{noformat}
  if (closed)
  {
    PN_SET_REMOTE(link->endpoint.state, PN_REMOTE_CLOSED);
  } else {
    // TODO: implement
  }
{noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)