#include <blocked_endpoints.h>
◆ BlockedEndpoints()
BlockedEndpoints::BlockedEndpoints |
( |
uint64_t |
max_connect_errors | ) |
|
|
inline |
◆ error_count()
◆ get_blocked_client_hosts()
std::vector< std::string > BlockedEndpoints::get_blocked_client_hosts |
( |
| ) |
const |
Returns list of blocked client hosts.
◆ increment_error_count()
increments the error count of an endpoint.
- Parameters
-
endpoint | endpoint increment error counter for. |
- Returns
- new error count value.
◆ is_blocked()
◆ max_connect_errors()
uint64_t BlockedEndpoints::max_connect_errors |
( |
| ) |
const |
|
inline |
◆ reset_error_count()
resets error counter for an endpoint.
- See also
- increment_error_counter()
- Parameters
-
- Returns
- previous value.
◆ conn_error_counters_v4_
Connection error counters for IPv4 hosts.
◆ conn_error_counters_v6_
Connection error counters for IPv4 hosts.
◆ max_connect_errors_
const uint64_t BlockedEndpoints::max_connect_errors_ |
|
private |
Max connect errors blocking hosts when handshake not completed.
◆ mutex_conn_errors_
std::mutex BlockedEndpoints::mutex_conn_errors_ |
|
mutableprivate |
The documentation for this class was generated from the following files: