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.
This commit is contained in:
Olivier Houchard 2018-09-12 17:12:53 +02:00 committed by Willy Tarreau
parent 931624a00b
commit 524344b4e0

View File

@ -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);