]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl_sock: make use of CO_FL_WILL_UPDATE
authorWilly Tarreau <w@1wt.eu>
Wed, 25 Oct 2017 07:32:15 +0000 (09:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 25 Oct 2017 13:52:41 +0000 (15:52 +0200)
commit31d4dbe82508e9b525ea0700a587341ba275e770
tree2e1d7f210e184e61cc466bca319d3b1377dbf89b
parent256b9c59932b21063e21dd9aab62d6052b8a42b9
MINOR: ssl_sock: make use of CO_FL_WILL_UPDATE

Now when ssl_sock_{to,from}_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.
src/ssl_sock.c