diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-08-15 15:40:09 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-08-22 16:48:46 +0000 |
commit | 41988245ca6e882bbfb1754200500d61e51e93c5 (patch) | |
tree | 4ede696cae3552d65783f064ff9bc9fc59234bdf /sql/sql_connect.h | |
parent | 7fee164faf8fce7be4ebe322d2178efd3d075eae (diff) | |
download | mariadb-git-bb-10.3-proxy-protocol.tar.gz |
MDEV-11159 Server proxy protocol supportbb-10.3-proxy-protocol
accept proxy protocol header from client connections.
The new server variable 'proxy_protocol_networks' contains list
of networks from which proxy header is accepted.
Diffstat (limited to 'sql/sql_connect.h')
-rw-r--r-- | sql/sql_connect.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_connect.h b/sql/sql_connect.h index 364be401944..03a2818b206 100644 --- a/sql/sql_connect.h +++ b/sql/sql_connect.h @@ -85,6 +85,7 @@ bool thd_init_client_charset(THD *thd, uint cs_number); bool setup_connection_thread_globals(THD *thd); bool thd_prepare_connection(THD *thd); bool thd_is_connection_alive(THD *thd); +int thd_set_peer_addr(THD *thd, sockaddr_storage *addr, const char *ip, uint port, bool check_proxy_networks); bool login_connection(THD *thd); void prepare_new_connection_state(THD* thd); |