MINOR: buffer: replace buffer_full() with channel_full()
It's only used by channels since we need to know the amount of output
data.
diff --git a/src/tcp_rules.c b/src/tcp_rules.c
index deb34ac..e21c5b7 100644
--- a/src/tcp_rules.c
+++ b/src/tcp_rules.c
@@ -122,7 +122,7 @@
* - if one rule returns KO, then return KO
*/
- if ((req->flags & CF_SHUTR) || buffer_full(req->buf, global.tune.maxrewrite) ||
+ if ((req->flags & CF_SHUTR) || channel_full(req, global.tune.maxrewrite) ||
!s->be->tcp_req.inspect_delay || tick_is_expired(req->analyse_exp, now_ms))
partial = SMP_OPT_FINAL;
else