commit | 630cf01e483170b8b1047999ee085039403d9924 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Jan 13 20:09:54 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jan 14 18:30:39 2015 +0100 |
tree | 67170feef1aad66f177215cfe6db1aa01a2e9fa8 | |
parent | 5aea838d9de422666081436f0b82779c1858fe95 [diff] |
MINOR: channel: add channel_in_transit() This function returns the amount of bytes in transit in a channel's buffer, which is the amount of outgoing data plus the amount of incoming data bound to the forward limit. (cherry picked from commit 1a4484dec8488cdd14c52e6cb93198e3c8f83942) [wt: this is not a bug but the next bugfix needs it]