Repository: qpid-proton Updated Branches: refs/heads/master b9525a68b -> d7e3aa5b0
PROTON-1564: epoll release connection - end event stream immediately after release Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/d7e3aa5b Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/d7e3aa5b Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/d7e3aa5b Branch: refs/heads/master Commit: d7e3aa5b00f60add9e8425c8f35c85bcdc8cbce3 Parents: b9525a6 Author: Clifford Jansen <cliffjan...@apache.org> Authored: Wed Aug 30 08:51:08 2017 -0700 Committer: Clifford Jansen <cliffjan...@apache.org> Committed: Wed Aug 30 08:51:08 2017 -0700 ---------------------------------------------------------------------- proton-c/src/proactor/epoll.c | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/d7e3aa5b/proton-c/src/proactor/epoll.c ---------------------------------------------------------------------- diff --git a/proton-c/src/proactor/epoll.c b/proton-c/src/proactor/epoll.c index 3faeb1a..9a29869 100644 --- a/proton-c/src/proactor/epoll.c +++ b/proton-c/src/proactor/epoll.c @@ -813,6 +813,7 @@ static void pconnection_forced_shutdown(pconnection_t *pc) { static pn_event_t *pconnection_batch_next(pn_event_batch_t *batch) { pconnection_t *pc = batch_pconnection(batch); + if (!pc->bound) return NULL; pn_event_t *e = pn_connection_driver_next_event(&pc->driver); if (!e) { write_flush(pc); // May generate transport event --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org