From 1458dc83477363454cc3b0ce44d34dee0432cad2 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Wed, 21 Oct 2015 16:32:27 -0700 Subject: set O_NONBLOCK default in accept() --- netcon/Intercept.c | 2 +- netcon/libintercept.so.1.0 | Bin 47664 -> 47704 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/netcon/Intercept.c b/netcon/Intercept.c index 72c4cbda..44f64881 100755 --- a/netcon/Intercept.c +++ b/netcon/Intercept.c @@ -656,7 +656,7 @@ int accept(ACCEPT_SIG) } //if(opt & O_NONBLOCK) - //fcntl(sockfd, F_SETFL, O_NONBLOCK); + fcntl(sockfd, F_SETFL, O_NONBLOCK); char rbuf[16], c[1]; int new_conn_socket; diff --git a/netcon/libintercept.so.1.0 b/netcon/libintercept.so.1.0 index 8e40bae2..3037aeb5 100755 Binary files a/netcon/libintercept.so.1.0 and b/netcon/libintercept.so.1.0 differ -- cgit v1.2.3