mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-18 01:14:38 +00:00
CLEANUP: connection: use fd_stop_both() instead of conn_stop_polling()
conn_stop_polling() in fact only calls fd_stop_both() after checking that the ctrl layer is ready. It's the case in conn_fd_check() so let's get rid of this next-to-last user of this function.
This commit is contained in:
parent
e3e1e5f34b
commit
5a1d439225
@ -264,7 +264,7 @@ int conn_fd_check(struct connection *conn)
|
||||
*/
|
||||
fdtab[fd].linger_risk = 0;
|
||||
conn->flags |= CO_FL_ERROR | CO_FL_SOCK_RD_SH | CO_FL_SOCK_WR_SH;
|
||||
conn_stop_polling(conn);
|
||||
fd_stop_both(fd);
|
||||
return 0;
|
||||
|
||||
wait:
|
||||
|
Loading…
Reference in New Issue
Block a user