Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Active connections are no longer in the fdpoll, and therefore they do

not need to be deleted from it when they are closed.
  • Loading branch information...
commit 1665e82560ef52ce160f10fc1710883beabb6a82 1 parent d1d6b04
@alobbs alobbs authored
Showing with 0 additions and 9 deletions.
  1. +0 −9 cherokee/thread.c
View
9 cherokee/thread.c
@@ -384,21 +384,12 @@ close_active_connection (cherokee_thread_t *thread,
cherokee_connection_t *conn,
cherokee_boolean_t reset)
{
- ret_t ret;
-
/* Force to send a RST
*/
if (reset) {
cherokee_socket_reset (&conn->socket);
}
- /* Delete from file descriptors poll
- */
- ret = cherokee_fdpoll_del (thread->fdpoll, SOCKET_FD(&conn->socket));
- if (ret != ret_ok) {
- LOG_ERROR (CHEROKEE_ERROR_THREAD_RM_FD_POLL, SOCKET_FD(&conn->socket));
- }
-
/* Remove from active connections list
*/
del_connection (thread, conn);
Please sign in to comment.
Something went wrong with that request. Please try again.