commit | 51f73eb11a24d1a45479b81104033b084aaee050 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 08 11:22:47 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Apr 12 22:06:53 2019 +0200 |
tree | 6f8f929cde881ae90e460da500f931a55e5d611b | |
parent | e9b7072e9ea7f5e273fc49ce9452430ad311e463 [diff] |
MEDIUM: muxes: Add an optional input buffer during mux initialization The mux's callback init() now take a pointer to a buffer as extra argument. It must be used by the multiplexer as its input buffer. This buffer is always NULL when a multiplexer is initialized with a fresh connection. But if a mux upgrade is performed, it may be filled with existing data. Note that, for now, mux upgrades are not supported. But this commit is mandatory to do so.