MINOR: channel: add channel_in_transit()
authorWilly Tarreau <w@1wt.eu>
Tue, 13 Jan 2015 19:09:54 +0000 (20:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 14 Jan 2015 12:51:48 +0000 (13:51 +0100)
commit1a4484dec8488cdd14c52e6cb93198e3c8f83942
tree80626b8063ab4de31c6811e4434aa8c31273ddc2
parentbb3f994f1a379289534c4ccf0f790df7b69d2611
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.
include/proto/channel.h