Repository: qpid-proton Updated Branches: refs/heads/master 97815c342 -> 686a400c9
PROTON-1641: Windows proactor hang on inbound connections Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/686a400c Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/686a400c Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/686a400c Branch: refs/heads/master Commit: 686a400c907c5f03d9ce5ec542752ec9d1651812 Parents: 97815c3 Author: Clifford Jansen <cliffjan...@apache.org> Authored: Thu Oct 19 13:13:38 2017 -0700 Committer: Clifford Jansen <cliffjan...@apache.org> Committed: Thu Oct 19 13:13:38 2017 -0700 ---------------------------------------------------------------------- proton-c/src/proactor/win_iocp.c | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/686a400c/proton-c/src/proactor/win_iocp.c ---------------------------------------------------------------------- diff --git a/proton-c/src/proactor/win_iocp.c b/proton-c/src/proactor/win_iocp.c index 09d39cf..51b4874 100644 --- a/proton-c/src/proactor/win_iocp.c +++ b/proton-c/src/proactor/win_iocp.c @@ -3185,6 +3185,7 @@ void pn_listener_accept(pn_listener_t *l, pn_connection_t *c) { conn_iocpd->active_completer =&pc->psocket; set_sock_names(pc); pc->started = true; + csguard g(&pc->context.cslock); pni_iocpdesc_start(conn_iocpd); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org