]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: connection : Split struct connection into struct connection and struct conn_st...
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 13 Sep 2017 16:30:23 +0000 (18:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:03:23 +0000 (18:03 +0100)
commit9aaf778129f47819bab4b3dec7f1579cf0e0f84b
treebe12e480fc4fde1f37c25c476c17580c9d557bc4
parent7a3f0dfb7b72d4497da55efb3097c0abc4a78356
MAJOR: connection : Split struct connection into struct connection and struct conn_stream.

All the references to connections in the data path from streams and
stream_interfaces were changed to use conn_streams. Most functions named
"something_conn" were renamed to "something_cs" for this. Sometimes the
connection still is what matters (eg during a connection establishment)
and were not always renamed. The change is significant and minimal at the
same time, and was quite thoroughly tested now. As of this patch, all
accesses to the connection from upper layers go through the pass-through
mux.
17 files changed:
include/proto/connection.h
include/proto/stream.h
include/proto/stream_interface.h
include/types/checks.h
include/types/connection.h
src/backend.c
src/checks.c
src/cli.c
src/frontend.c
src/hlua.c
src/log.c
src/mux_pt.c
src/peers.c
src/proto_http.c
src/proto_tcp.c
src/stream.c
src/stream_interface.c