]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: proto_tcp: remove any dependence on stream_interface
authorWilly Tarreau <wtarreau@exceliance.fr>
Thu, 30 Aug 2012 20:23:13 +0000 (22:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 3 Sep 2012 18:47:34 +0000 (20:47 +0200)
commit14f8e86da51c2be50d4920ca274ea4cb8e46d315
tree18e0c83a746b19de1cba7d6a4dedd80a95a472de
parent93b0f4f6c62c92ee8a99b4509bdc1421787126dd
MEDIUM: proto_tcp: remove any dependence on stream_interface

The last uses of the stream interfaces were in tcp_connect_server() and
could easily and more appropriately be moved to its callers, si_connect()
and connect_server(), making a lot more sense.

Now the function should theorically be usable for health checks.

It also appears more obvious that the file is split into two distinct
parts :
  - the protocol layer used at the connection level
  - the tcp analysers executing tcp-* rules and their samples/acls.
include/proto/proto_tcp.h
include/proto/stream_interface.h
include/types/connection.h
include/types/protocols.h
src/backend.c
src/proto_tcp.c