From 372d03889b1398016056d1641d31705b75d97c9a Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 5 Jul 2017 15:51:29 -0700 Subject: Move IPC negotiation out of connect/accept. This prevents a slow partner from blocking new connections from being established on the server. Before this a single partner could cause the server to block waiting to complete the negotiation. --- src/core/pipe.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/pipe.h') diff --git a/src/core/pipe.h b/src/core/pipe.h index e8e6ecad..f7df8232 100644 --- a/src/core/pipe.h +++ b/src/core/pipe.h @@ -32,6 +32,7 @@ struct nni_pipe { int p_stop; nni_mtx p_mtx; nni_taskq_ent p_reap_tqe; + nni_aio p_start_aio; }; extern int nni_pipe_sys_init(void); -- cgit v1.2.3-70-g09d2