Lines Matching refs:requested_protocol
539 MYSQLND_METHOD(mysqlnd_conn_data, fetch_auth_plugin_by_name)(const char * const requested_protocol … in MYSQLND_METHOD()
545 mnd_sprintf(&plugin_name, 0, "auth_plugin_%s", requested_protocol); in MYSQLND_METHOD()
579 char * requested_protocol = NULL; in mysqlnd_run_authentication() local
593 …requested_protocol = mnd_pestrdup(auth_protocol? auth_protocol : MYSQLND_DEFAULT_AUTH_PROTOCOL, FA… in mysqlnd_run_authentication()
594 if (!requested_protocol) { in mysqlnd_run_authentication()
599 …entication_plugin * auth_plugin = conn->m->fetch_auth_plugin_by_name(requested_protocol TSRMLS_CC); in mysqlnd_run_authentication()
602 …NING, "The server requested authentication method unknown to the client [%s]", requested_protocol); in mysqlnd_run_authentication()
641 requested_protocol, in mysqlnd_run_authentication()
649 requested_protocol, in mysqlnd_run_authentication()
659 if (requested_protocol && switch_to_auth_protocol) { in mysqlnd_run_authentication()
660 mnd_efree(requested_protocol); in mysqlnd_run_authentication()
661 requested_protocol = switch_to_auth_protocol; in mysqlnd_run_authentication()
674 DBG_INF_FMT("saving requested_protocol=%s", requested_protocol); in mysqlnd_run_authentication()
675 conn->m->set_client_option(conn, MYSQLND_OPT_AUTH_PROTOCOL, requested_protocol TSRMLS_CC); in mysqlnd_run_authentication()
681 if (requested_protocol) { in mysqlnd_run_authentication()
682 mnd_efree(requested_protocol); in mysqlnd_run_authentication()