From 56354bd08cd6549cbaf348cae62f9db01786afc4 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 15 Aug 2018 09:43:27 +0500 Subject: fixes #654 use aio for synchronous connect --- src/core/sockimpl.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/core/sockimpl.h') diff --git a/src/core/sockimpl.h b/src/core/sockimpl.h index 29e83f7a..be454d8a 100644 --- a/src/core/sockimpl.h +++ b/src/core/sockimpl.h @@ -25,14 +25,12 @@ struct nni_dialer { nni_url * d_url; nni_pipe * d_pipe; // active pipe (for redialer) int d_refcnt; - int d_lastrv; // last result from synchronous - bool d_synch; // synchronous connect in progress? bool d_closed; // full shutdown bool d_closing; nni_atomic_flag d_started; nni_mtx d_mtx; - nni_cv d_cv; nni_list d_pipes; + nni_aio * d_user_aio; nni_aio * d_con_aio; nni_aio * d_tmo_aio; // backoff timer nni_duration d_maxrtime; // maximum time for reconnect -- cgit v1.2.3-70-g09d2