From: Olivier Houchard Date: Wed, 12 Sep 2018 15:12:53 +0000 (+0200) Subject: MEDIUM: connections: Don't reset the polling flags in conn_fd_handler(). X-Git-Tag: v1.9-dev2~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=524344b4e0434b86d83869ef051f98d24505c08f;p=thirdparty%2Fhaproxy.git 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. --- 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);