]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connections: Change struct wait_list to wait_event.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 10 Oct 2018 16:25:41 +0000 (18:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Oct 2018 13:34:39 +0000 (15:34 +0200)
commitfa8aa867b9159297e4061d4970b167851c259f5b
tree68826a2bb19727c5cf18e57d8096bcab42e1f7c9
parent83a0cd8a36b94ba807fd984258b4e7dd70e9ef20
MEDIUM: connections: Change struct wait_list to wait_event.

When subscribing, we don't need to provide a list element, only the h2 mux
needs it. So instead, Add a list element to struct h2s, and use it when a
list is needed.
This forces us to use the unsubscribe method, since we can't just unsubscribe
by using LIST_DEL anymore.
This patch is larger than it should be because it includes some renaming.
include/proto/connection.h
include/proto/stream_interface.h
include/types/checks.h
include/types/connection.h
include/types/stream_interface.h
src/checks.c
src/connection.c
src/mux_h2.c
src/stream.c
src/stream_interface.c