Jiri Daněk created PROTON-1628:
----------------------------------
Summary: [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: Cliff Jansen
{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: [email protected]
For additional commands, e-mail: [email protected]