Lines Matching refs:requested_protocol
511 char * requested_protocol = NULL; in mysqlnd_connect_run_authentication() local
524 …requested_protocol = mnd_pestrdup(greet_packet->auth_protocol? greet_packet->auth_protocol: "mysql… in mysqlnd_connect_run_authentication()
525 if (!requested_protocol) { in mysqlnd_connect_run_authentication()
535 mnd_sprintf(&plugin_name, 0, "auth_plugin_%s", requested_protocol); in mysqlnd_connect_run_authentication()
542 …NING, "The server requested authentication method unknown to the client [%s]", requested_protocol); in mysqlnd_connect_run_authentication()
580 requested_protocol, in mysqlnd_connect_run_authentication()
589 if (requested_protocol && switch_to_auth_protocol) { in mysqlnd_connect_run_authentication()
590 mnd_efree(requested_protocol); in mysqlnd_connect_run_authentication()
591 requested_protocol = switch_to_auth_protocol; in mysqlnd_connect_run_authentication()
607 DBG_INF_FMT("saving requested_protocol=%s", requested_protocol); in mysqlnd_connect_run_authentication()
608 conn->m->set_client_option(conn, MYSQLND_OPT_AUTH_PROTOCOL, requested_protocol TSRMLS_CC); in mysqlnd_connect_run_authentication()
611 if (requested_protocol) { in mysqlnd_connect_run_authentication()
612 mnd_efree(requested_protocol); in mysqlnd_connect_run_authentication()
2153 char * requested_protocol = NULL; local
2165 …requested_protocol = mnd_pestrdup(conn->options->auth_protocol? conn->options->auth_protocol:"mysq…
2166 if (!requested_protocol) {
2176 mnd_sprintf(&plugin_name, 0, "auth_plugin_%s", requested_protocol);
2183 …NING, "The server requested authentication method unknown to the client [%s]", requested_protocol);
2222 requested_protocol,
2232 if (requested_protocol) {
2233 mnd_efree(requested_protocol);
2235 requested_protocol = switch_to_auth_protocol;
2249 conn->m->set_client_option(conn, MYSQLND_OPT_AUTH_PROTOCOL, requested_protocol TSRMLS_CC);
2251 if (requested_protocol) {
2252 mnd_efree(requested_protocol);