Skip to content
This repository
Browse code

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
Alvaro Lopez Ortega alobbs authored

Showing 1 changed file with 0 additions and 9 deletions. Show diff stats Hide diff stats

  1. +0 9 cherokee/thread.c
9 cherokee/thread.c
@@ -384,21 +384,12 @@ close_active_connection (cherokee_thread_t *thread,
384 384 cherokee_connection_t *conn,
385 385 cherokee_boolean_t reset)
386 386 {
387   - ret_t ret;
388   -
389 387 /* Force to send a RST
390 388 */
391 389 if (reset) {
392 390 cherokee_socket_reset (&conn->socket);
393 391 }
394 392
395   - /* Delete from file descriptors poll
396   - */
397   - ret = cherokee_fdpoll_del (thread->fdpoll, SOCKET_FD(&conn->socket));
398   - if (ret != ret_ok) {
399   - LOG_ERROR (CHEROKEE_ERROR_THREAD_RM_FD_POLL, SOCKET_FD(&conn->socket));
400   - }
401   -
402 393 /* Remove from active connections list
403 394 */
404 395 del_connection (thread, conn);

0 comments on commit 1665e82

Please sign in to comment.
Something went wrong with that request. Please try again.