]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] add support for infinite forwarding
authorWilly Tarreau <w@1wt.eu>
Sun, 20 Sep 2009 10:07:52 +0000 (12:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 20 Sep 2009 10:07:52 +0000 (12:07 +0200)
commit31971e536a7e6397cd58fffe0f4f52886fa879f0
tree6b1e76e4d23f77abf25efb4db065f815e4bd9c7b
parent59454bfaa4ad7345efadb9cb1473401438324d3a
[MEDIUM] add support for infinite forwarding

In TCP, we don't want to forward chunks of data, we want to forward
indefinitely. This patch introduces a special value for the amount
of data to be forwarded. When buffer_forward() is called with
BUF_INFINITE_FORWARD, it configures the buffer to never stop
forwarding until the end.
include/common/defaults.h
include/proto/buffers.h
include/types/buffers.h
src/buffers.c
src/session.c
src/stream_sock.c