commit | c0016d8119e28b28332e077ba2d0260f3cb59709 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 08 10:42:41 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Apr 12 22:06:53 2019 +0200 |
tree | a16c45ca4c0a0aae9665e652c37048d23d5e7e56 | |
parent | 39a96ee16eeec51774f9f52a783cf624a0de4ccb [diff] |
MEDIUM: connection: Add conn_upgrade_mux_fe() to handle mux upgrades This function will handle mux upgrades, for frontend connections only. It will retrieve the best mux in the same way than conn_install_mux_fe except that the mode and optionnally the proto are forced. The new multiplexer is initialized using a new context and a specific input buffer. Then, the old one is destroyed. If an error occurred, everything is rolled back.