]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MAJOR] implement autonomous inter-socket forwarding
authorWilly Tarreau <w@1wt.eu>
Sun, 14 Dec 2008 16:31:54 +0000 (17:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Jan 2009 09:15:02 +0000 (10:15 +0100)
commit6b66f3e4f6b22619bd551f8e33cbf7211c6c7cd0
tree8dc31b9191b988db2d6dde6648a98131d07ee0d2
parent3ffeba1f673120a6883c2fd38cf6b11850086234
[MAJOR] implement autonomous inter-socket forwarding

If an analyser sets buf->to_forward to a given value, that many
data will be forwarded between the two stream interfaces attached
to a buffer without waking the task up. The same applies once all
analysers have been released. This saves a large amount of calls
to process_session() and a number of task_dequeue/queue.
include/common/defaults.h
include/proto/buffers.h
include/types/buffers.h
src/proto_uxst.c
src/session.c
src/stream_sock.c