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. --- tests/ipc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/ipc.c b/tests/ipc.c index 69fe36d0..d8752a70 100644 --- a/tests/ipc.c +++ b/tests/ipc.c @@ -15,4 +15,6 @@ TestMain("IPC Transport", { trantest_test_all("ipc:///tmp/nng_ipc_test"); + + nng_fini(); }) -- cgit v1.2.3-70-g09d2