|
static std::vector< std::pair< std::string, std::string > > | client_ssl_connection_attributes (const SSL *ssl) |
| router specific connection attributes. More...
|
|
template<class T > |
std::vector< T > | vector_splice (std::vector< T > v, const std::vector< T > &other) |
| splice two vectors together. More...
|
|
static stdx::expected< void, std::error_code > | classic_proto_verify_connection_attributes (const std::string &attrs) |
| verify connection attributes are sane. More...
|
|
static stdx::expected< size_t, std::error_code > | classic_proto_append_attribute (std::string &attrs_buf, const std::string &key, const std::string &value) |
|
static auto | strip_trailing_null (std::string_view s) |
| remove trailing \0 in a string_view. More...
|
|
static stdx::expected< std::string, std::error_code > | classic_proto_decode_and_add_connection_attributes (std::string attrs, const std::vector< std::pair< std::string, std::string > > &extra_attributes) |
| merge connection attributes. More...
|
|
static std::optional< std::string > | scramble_them_all (std::string_view auth_method, std::string_view nonce, std::string_view pwd) |
|
static classic_protocol::message::client::ChangeUser | change_user_for_reuse (Channel *src_channel, ClassicProtocolState *src_protocol, ClassicProtocolState *dst_protocol, std::vector< std::pair< std::string, std::string > > initial_connection_attributes) |
|