1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
Files
mariadb/tests
Vladislav Vaintroub 45154f7ab3 MDEV-25817 proxy protocol: successful login does not reset connect errors
With proxy protocol thd_set_peer_addr() runs twice (proxy host, then the
real client from the proxy header). Connect errors are accounted against
the real client, but check_connection() incorrectly uses condition on the
proxy host's count, rather than real client's address.

Fix: reset both the proxy host, and real client's connect errors on
successful connection.

Added tests for incomplete handshake, and reset behavior,
under proxy protocol, for both real client errors, and proxy host errors.
2026-07-23 14:04:42 +03:00
..
2020-07-02 09:41:44 +03:00
2019-05-11 22:19:05 +03:00
2019-05-11 21:29:06 +03:00
2019-05-11 21:29:06 +03:00
2020-09-29 16:59:36 +05:30
2020-06-23 03:24:46 +02:00
2020-09-24 08:09:56 +10:00
2020-09-29 16:59:36 +05:30
2020-09-29 16:59:36 +05:30
…
2020-09-29 16:59:36 +05:30
2020-06-23 03:24:46 +02:00
2020-09-29 16:59:36 +05:30
2020-09-29 16:59:36 +05:30
2020-09-29 16:59:36 +05:30
2020-06-23 03:24:46 +02:00
2024-12-11 14:46:43 +02:00
2020-09-29 16:59:36 +05:30