diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-25 13:39:24 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-25 13:39:24 +0000 |
commit | f8d06e13c68a20228665e5798ed18198b2907f25 (patch) | |
tree | 340256a4ff199c6008505453ca51e3b9e02f1f57 /include | |
parent | 5cb26fde8da821f53efade4d040f69a6c0cfc3e9 (diff) |
Removed references to connection.cpp and servers.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1948 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/socketengine.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/socketengine.h b/include/socketengine.h index 33dc77894..9a4610f5f 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -280,20 +280,6 @@ printf("ERROR: could not initialise listening sockets in epoll list. Shutting down.\n"); \ Exit(ERROR); \ } \ - } \ - for (int t = 0; t != SERVERportCount; t++) \ - { \ - struct epoll_event ev; \ - log(DEBUG,"epoll: Add listening server socket to events, ep=%d socket=%d",sep,me[t]->fd); \ - ev.events = EPOLLIN | EPOLLET; \ - ev.data.fd = me[t]->fd; \ - int i = epoll_ctl(sep, EPOLL_CTL_ADD, me[t]->fd, &ev); \ - if (i == -1) \ - { \ - log(DEFAULT,"main: add server listen ports, epoll_ctl failed!"); \ - printf("ERROR: could not initialise server listening sockets in epoll list. Shutting down.\n"); \ - Exit(ERROR); \ - } \ } #define kqueue_server_fill log(DEFAULT,"kqueue socket engine is enabled. Filling listen list."); \ @@ -309,22 +295,6 @@ printf("ERROR: could not initialise listening sockets in kqueue. Shutting down.\n"); \ Exit(ERROR); \ } \ - } \ - for (int t = 0; t != SERVERportCount; t++) \ - { \ - struct kevent ke; \ - if (me[t]) \ - { \ - log(DEBUG,"kqueue: Add listening SERVER socket to events, kq=%d socket=%d",skq,me[t]->fd); \ - EV_SET(&ke, me[t]->fd, EVFILT_READ, EV_ADD, 0, MaxConn, NULL); \ - int i = kevent(skq, &ke, 1, 0, 0, NULL); \ - if (i == -1) \ - { \ - log(DEFAULT,"main: add server listen ports to kqueue failed!"); \ - printf("ERROR: could not initialise listening server sockets in kqueue. Shutting down.\n"); \ - Exit(ERROR); \ - } \ - } \ } #ifdef USE_EPOLL |