This version has many bugs
main thread hold listenfd in epoll,each work thread also has epoll. Main thread use pipe to communicate with work thread,so we can tranfer the connfd.
use epollet, epolloneshot.
Parse the header to achieve keep-alive functions.
Use UNIX socket to communicate log server thread and log client thread. This works bad,use linkedlist with lock may be better.