]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: channel: rename bi_erase() to channel_truncate()
authorWilly Tarreau <w@1wt.eu>
Wed, 14 Jan 2015 19:32:59 +0000 (20:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 14 Jan 2015 19:32:59 +0000 (20:32 +0100)
commit319f745ba053b67bb88f5a118ca06fecb5066be5
treef8de94e97be5c6c8300d0d7772b3b87475bdfd3b
parentb5051f87421bb03504ccac160843704a7cd711b5
MINOR: channel: rename bi_erase() to channel_truncate()

It applies to the channel and it doesn't erase outgoing data, only
pending unread data, which is strictly equivalent to what recv()
does with MSG_TRUNC, so that new name is more accurate and intuitive.
include/proto/channel.h
src/proto_http.c
src/stream_interface.c