aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlibmemory
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-05-24 08:58:15 -0700
committerOle Tr�an <otroan@employees.org>2021-05-26 07:37:06 +0000
commit5fe9457fa2ac49ca7134b09c6886192c7001335c (patch)
tree609c17db379716feaa4b269a3c84ce3643838652 /src/vlibmemory
parent3fb978e2618a6c71152b979c391d0c549937efbd (diff)
api: socket client connect set to blocking
Binary api client must otherwise check the returned error and if it was EAGAIN/EINPROGRESS poll for connect completion. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I89845b1a59b9fa2ab0968029435ceb203bfa8f6c
Diffstat (limited to 'src/vlibmemory')
-rw-r--r--src/vlibmemory/socket_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlibmemory/socket_client.c b/src/vlibmemory/socket_client.c
index 530a99677f4..69126f88963 100644
--- a/src/vlibmemory/socket_client.c
+++ b/src/vlibmemory/socket_client.c
@@ -462,7 +462,7 @@ vl_socket_client_connect_internal (socket_client_main_t * scm,
sock = &scm->client_socket;
sock->config = socket_path;
- sock->flags = CLIB_SOCKET_F_IS_CLIENT | CLIB_SOCKET_F_NON_BLOCKING_CONNECT;
+ sock->flags = CLIB_SOCKET_F_IS_CLIENT;
if ((error = clib_socket_init (sock)))
{