Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG/MEDIUM: stream: Don't call mux .ctl() callback if not implemented
The commit 5ff7d22 ("BUG/MEDIUM: stream: Properly handle abortonclose when set on backend only") introduced a regression. Not all multiplexer implement the .ctl() callback function. Thus we must be sure this callback function is defined first to call it. This patch should fix a crash reported by Tristan in the issue haproxy#2095. It must be backported as far as 2.2, with the commit above.
- Loading branch information