From 58cd69fc808cade5ec3183a56b9d16957f0da02c Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Tue, 22 Aug 2017 21:08:38 +0200 Subject: MDEV-11159 Server proxy protocol support accept proxy protocol header from client connections. The new server variable 'proxy_protocol_networks' contains list of networks from which proxy header is accepted. --- sql/sql_connect.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/sql_connect.h') 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); -- cgit v1.2.1