Lines Matching refs:requested_protocol
59 char * requested_protocol = NULL; in mysqlnd_run_authentication() local
73 …requested_protocol = mnd_pestrdup(auth_protocol? auth_protocol : MYSQLND_DEFAULT_AUTH_PROTOCOL, FA… in mysqlnd_run_authentication()
74 if (!requested_protocol) { in mysqlnd_run_authentication()
79 …sqlnd_authentication_plugin * auth_plugin = conn->m->fetch_auth_plugin_by_name(requested_protocol); in mysqlnd_run_authentication()
83 mnd_pefree(requested_protocol, FALSE); in mysqlnd_run_authentication()
84 requested_protocol = mnd_pestrdup(MYSQLND_DEFAULT_AUTH_PROTOCOL, FALSE); in mysqlnd_run_authentication()
86 …NING, "The server requested authentication method unknown to the client [%s]", requested_protocol); in mysqlnd_run_authentication()
129 requested_protocol, in mysqlnd_run_authentication()
137 requested_protocol, in mysqlnd_run_authentication()
147 if (requested_protocol && switch_to_auth_protocol) { in mysqlnd_run_authentication()
148 mnd_efree(requested_protocol); in mysqlnd_run_authentication()
149 requested_protocol = switch_to_auth_protocol; in mysqlnd_run_authentication()
162 DBG_INF_FMT("saving requested_protocol=%s", requested_protocol); in mysqlnd_run_authentication()
163 conn->m->set_client_option(conn, MYSQLND_OPT_AUTH_PROTOCOL, requested_protocol); in mysqlnd_run_authentication()
169 if (requested_protocol) { in mysqlnd_run_authentication()
170 mnd_efree(requested_protocol); in mysqlnd_run_authentication()