commit | deccd1116db31d64e864a60f0b1a9d0ce017ee1d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jun 14 18:38:55 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 19 16:23:41 2018 +0200 |
tree | cbe9310ecf46db056723a8751e7fe3a6c09b333b | |
parent | 787db9a6a47a1cd78450636d4ecb915d7462d7b8 [diff] |
MEDIUM: mux: make mux->snd_buf() take the byte count in argument This way the mux doesn't need to modify the buffer's metadata anymore nor to know the output's size. The mux->snd_buf() function now takes a const buffer and it's up to the caller to update the buffer's state. The return type was updated to return a size_t to comply with the count argument.