Lines Matching refs:requested_protocol
57 char * requested_protocol = NULL; in mysqlnd_run_authentication() local
71 …requested_protocol = mnd_pestrdup(auth_protocol? auth_protocol : MYSQLND_DEFAULT_AUTH_PROTOCOL, FA… in mysqlnd_run_authentication()
72 if (!requested_protocol) { in mysqlnd_run_authentication()
77 …sqlnd_authentication_plugin * auth_plugin = conn->m->fetch_auth_plugin_by_name(requested_protocol); in mysqlnd_run_authentication()
81 mnd_pefree(requested_protocol, FALSE); in mysqlnd_run_authentication()
82 requested_protocol = mnd_pestrdup(MYSQLND_DEFAULT_AUTH_PROTOCOL, FALSE); in mysqlnd_run_authentication()
84 …NING, "The server requested authentication method unknown to the client [%s]", requested_protocol); in mysqlnd_run_authentication()
129 requested_protocol, in mysqlnd_run_authentication()
138 requested_protocol, in mysqlnd_run_authentication()
149 if (requested_protocol && switch_to_auth_protocol) { in mysqlnd_run_authentication()
150 mnd_efree(requested_protocol); in mysqlnd_run_authentication()
151 requested_protocol = switch_to_auth_protocol; in mysqlnd_run_authentication()
164 DBG_INF_FMT("saving requested_protocol=%s", requested_protocol); in mysqlnd_run_authentication()
165 conn->m->set_client_option(conn, MYSQLND_OPT_AUTH_PROTOCOL, requested_protocol); in mysqlnd_run_authentication()
171 if (requested_protocol) { in mysqlnd_run_authentication()
172 mnd_efree(requested_protocol); in mysqlnd_run_authentication()