From fac0907a3c1bb5dba89ca77d8f3686ed07083bb3 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Wed, 27 Apr 2016 18:16:45 -0700 Subject: [PATCH] trans: set non blocking socket after accept --- common/trans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/trans.c b/common/trans.c index fb939a85..9611f768 100644 --- a/common/trans.c +++ b/common/trans.c @@ -330,7 +330,7 @@ trans_check_wait_objs(struct trans *self) sizeof(self->addr) - 1); g_strncpy(in_trans->port, self->port, sizeof(self->port) - 1); - + g_sck_set_non_blocking(in_sck); if (self->trans_conn_in(self, in_trans) != 0) { trans_delete(in_trans);