[ 
https://issues.apache.org/jira/browse/PROTON-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robbie Gemmell updated PROTON-259:
----------------------------------
       Assignee:     (was: Philip Harvey)
    Component/s:     (was: proton-j)
        Summary: engine operations do not check if the endpoint is already 
closed  (was: proton-j engine operations do not check if the endpoint is 
already closed)

> engine operations do not check if the endpoint is already closed
> ----------------------------------------------------------------
>
>                 Key: PROTON-259
>                 URL: https://issues.apache.org/jira/browse/PROTON-259
>             Project: Qpid Proton
>          Issue Type: Bug
>    Affects Versions: 0.3
>            Reporter: Philip Harvey
>
> 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(....); 
> ---------------



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to