You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2017/10/13 16:11:00 UTC

[jira] [Assigned] (PROTON-1628) [cpp] Stopping container in on_container_start will hang

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

Justin Ross reassigned PROTON-1628:
-----------------------------------

    Assignee: Alan Conway  (was: Cliff Jansen)

> [cpp] Stopping container in on_container_start will hang
> --------------------------------------------------------
>
>                 Key: PROTON-1628
>                 URL: https://issues.apache.org/jira/browse/PROTON-1628
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding
>    Affects Versions: proton-c-0.18.0
>         Environment: Linux, epoll io, master tip at 72b7ea0508e94aae3e5d9470293bc5c7e8250a45     PROTON-1592: [python] restore original tx_recv.py example
>            Reporter: Jiri Daněk
>            Assignee: Alan Conway
>             Fix For: proton-c-0.19.0
>
>
> {code}
> class immediate_stop_tester : public proton::messaging_handler {
> public:
>     void on_container_start(proton::container &c) PN_CPP_OVERRIDE {
>         c.stop();
>     }
> };
> int test_container_immediate_stop() {
>     immediate_stop_tester t;
>     proton::container(t).run();  // will hang
>     return 0;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org