]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: ssl: remote the proxy argument from most functions
authorWilly Tarreau <w@1wt.eu>
Thu, 22 Dec 2016 16:08:28 +0000 (17:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Dec 2016 22:26:38 +0000 (23:26 +0100)
commit0320934f7e2de603a3de6416d4aa510f905e0347
tree439fb653b406cef52ec9b66ae0923dcffed43197
parentc95bad5013a288f9e5f94baab91f5cebbc68b237
MEDIUM: ssl: remote the proxy argument from most functions

Most of the SSL functions used to have a proxy argument which was mostly
used to be able to emit clean errors using Alert(). First, many of them
were converted to memprintf() and don't require this pointer anymore.
Second, the rare which still need it also have either a bind_conf argument
or a server argument, both of which carry a pointer to the relevant proxy.

So let's now get rid of it, it needlessly complicates the API and certain
functions already have many arguments.
include/proto/ssl_sock.h
src/cfgparse.c
src/hlua.c
src/ssl_sock.c