summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-07-17 10:07:30 -0700
committerJay Sorg <jay.sorg@gmail.com>2012-07-17 10:07:30 -0700
commitcd38d1a5c31b43e446d828e64d8e165873cebc39 (patch)
tree3dbd1069e9935f08ac36b72fc500e223ff82f7e7
parentb211b9be91a2775e31a0821d31d5e0a2ec942f60 (diff)
downloadxrdp-proprietary-cd38d1a5c31b43e446d828e64d8e165873cebc39.tar.gz
xrdp-proprietary-cd38d1a5c31b43e446d828e64d8e165873cebc39.zip
xup: do not set tcp options for unix domain socket
-rw-r--r--xup/xup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xup/xup.c b/xup/xup.c
index 5d729c6b..f8a9a4f1 100644
--- a/xup/xup.c
+++ b/xup/xup.c
@@ -173,9 +173,9 @@ lib_mod_connect(struct mod* mod)
else
{
mod->sck = g_tcp_socket();
+ g_tcp_set_non_blocking(mod->sck);
+ g_tcp_set_no_delay(mod->sck);
}
- g_tcp_set_non_blocking(mod->sck);
- g_tcp_set_no_delay(mod->sck);
mod->server_msg(mod, "connecting...", 0);
if (use_uds)
{