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()
131 requested_protocol, in mysqlnd_run_authentication()
140 requested_protocol, in mysqlnd_run_authentication()
151 if (requested_protocol && switch_to_auth_protocol) { in mysqlnd_run_authentication()
152 mnd_efree(requested_protocol); in mysqlnd_run_authentication()
153 requested_protocol = switch_to_auth_protocol; in mysqlnd_run_authentication()
166 DBG_INF_FMT("saving requested_protocol=%s", requested_protocol); in mysqlnd_run_authentication()
167 conn->m->set_client_option(conn, MYSQLND_OPT_AUTH_PROTOCOL, requested_protocol); in mysqlnd_run_authentication()
173 if (requested_protocol) { in mysqlnd_run_authentication()
174 mnd_efree(requested_protocol); in mysqlnd_run_authentication()