diff options
author | Joseph Henry <joseph.henry@gmail.com> | 2015-10-21 16:32:27 -0700 |
---|---|---|
committer | Joseph Henry <joseph.henry@gmail.com> | 2015-10-21 16:32:27 -0700 |
commit | 1458dc83477363454cc3b0ce44d34dee0432cad2 (patch) | |
tree | f682ee1a27b7cfecb902a7f755ea316a32e677fb | |
parent | 303579cb42ed35a001174cf74e195ebd8321ab5d (diff) | |
download | infinitytier-1458dc83477363454cc3b0ce44d34dee0432cad2.tar.gz infinitytier-1458dc83477363454cc3b0ce44d34dee0432cad2.zip |
set O_NONBLOCK default in accept()
-rwxr-xr-x | netcon/Intercept.c | 2 | ||||
-rwxr-xr-x | netcon/libintercept.so.1.0 | bin | 47664 -> 47704 bytes |
2 files changed, 1 insertions, 1 deletions
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 Binary files differindex 8e40bae2..3037aeb5 100755 --- a/netcon/libintercept.so.1.0 +++ b/netcon/libintercept.so.1.0 |