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()
85 …g, 0, "The server requested authentication method unknown to the client [%s]", requested_protocol); in mysqlnd_run_authentication()
124 requested_protocol, in mysqlnd_run_authentication()
133 requested_protocol, in mysqlnd_run_authentication()
144 if (requested_protocol && switch_to_auth_protocol) { in mysqlnd_run_authentication()
145 mnd_efree(requested_protocol); in mysqlnd_run_authentication()
146 requested_protocol = switch_to_auth_protocol; in mysqlnd_run_authentication()
159 DBG_INF_FMT("saving requested_protocol=%s", requested_protocol); in mysqlnd_run_authentication()
160 conn->m->set_client_option(conn, MYSQLND_OPT_AUTH_PROTOCOL, requested_protocol); in mysqlnd_run_authentication()
166 if (requested_protocol) { in mysqlnd_run_authentication()
167 mnd_efree(requested_protocol); in mysqlnd_run_authentication()