]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: proto: Change the prototype of the connect() method.
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 6 May 2019 16:32:29 +0000 (18:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 May 2019 20:12:57 +0000 (22:12 +0200)
commitfdcb007ad899e8565159b3d29c5f76b0403ef81f
treece483cbc89033a02605c241fc6bd19b78db170fa
parent22c9b440dce0a2844a7ff249fe91db4221120726
MEDIUM: proto: Change the prototype of the connect() method.

The connect() method had 2 arguments, "data", that tells if there's pending
data to be sent, and "delack" that tells if we have to use a delayed ack
inconditionally, or if the backend is configured with tcp-smart-connect.
Turn that into one argument, "flags".
That way it'll be easier to provide more informations to connect() without
adding extra arguments.
include/proto/proto_tcp.h
include/proto/stream_interface.h
include/types/protocol.h
src/checks.c
src/proto_sockpair.c
src/proto_tcp.c
src/proto_uxst.c