commit | d540b36e8a1e9b366d38d1ce6f4ea97301d6d7c1 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Mon Nov 05 18:37:53 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Nov 18 21:44:06 2018 +0100 |
tree | f88cd2f342439ae0c0deb4b22060ebf6a65a4e1b | |
parent | b6c32ee4c24917d1a2d9a00292aaf24416fadd87 [diff] |
MINOR: mux: Add a new "avail_streams" method. Add a new method for mux, avail_streams, that returns the number of streams still available for a mux. For the mux_pt, it'll return 1 if the connection is in idle, or 0. For the H2 mux, it'll return the max number of streams allowed, minus the number of streams currently in use.