Improved RPC connection closure logic

This commit is contained in:
Joseph Henry 2015-10-23 13:37:41 -07:00
commit b48ed824e6
4 changed files with 47 additions and 23 deletions

View file

@ -663,7 +663,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;