summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2016-04-27 18:16:45 -0700
committerJay Sorg <jay.sorg@gmail.com>2016-04-27 18:16:45 -0700
commitfac0907a3c1bb5dba89ca77d8f3686ed07083bb3 (patch)
treedf77f41451004d90713f02d945607e106d7ab9f7
parentb0e1e213059e231347a3fe33c1308808f52c30e9 (diff)
downloadxrdp-proprietary-fac0907a3c1bb5dba89ca77d8f3686ed07083bb3.tar.gz
xrdp-proprietary-fac0907a3c1bb5dba89ca77d8f3686ed07083bb3.zip
trans: set non blocking socket after accept
-rw-r--r--common/trans.c2
1 files changed, 1 insertions, 1 deletions
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);