From 524344b4e0434b86d83869ef051f98d24505c08f Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Wed, 12 Sep 2018 17:12:53 +0200 Subject: [PATCH] MEDIUM: connections: Don't reset the polling flags in conn_fd_handler(). Resetting the polling flags at the end of conn_fd_handler() shouldn't be needed anymore, and it will create problem when we won't handle send/recv from conn_fd_handler() anymore. --- src/connection.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/connection.c b/src/connection.c index ab32567bd5..e303f2c3b7 100644 --- a/src/connection.c +++ b/src/connection.c @@ -203,9 +203,6 @@ void conn_fd_handler(int fd) conn->mux->wake(conn) < 0) return; - /* remove the events before leaving */ - fdtab[fd].ev &= FD_POLL_STICKY; - /* commit polling changes */ conn->flags &= ~CO_FL_WILL_UPDATE; conn_cond_update_polling(conn); -- 2.47.3