commit | 256b9c59932b21063e21dd9aab62d6052b8a42b9 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Oct 25 09:30:13 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Oct 25 15:52:41 2017 +0200 |
tree | eb727ea5fe4efecacdd1776cd37e7c47b7f74ea3 | |
parent | 7b271b214fa5a750d6c93d429b72e7004b6168eb [diff] |
MINOR: raw_sock: make use of CO_FL_WILL_UPDATE Now when raw_sock_{to,from}_{pipe,buf} are called, if the connection doesn't feature CO_FL_WILL_UPDATE, they will first retrieve the updated flags using conn_refresh_polling_flags() before changing any flag, then call conn_cond_update_sock_polling() before leaving, to commit such changes. Note that the only real call to one of the __conn_* functions is in fact in conn_sock_read0() which is called from here.