Home
last modified time | relevance | path

Searched refs:connect_timeout (Results 1 – 4 of 4) sorted by relevance

/PHP-7.0/ext/pdo_dblib/
H A Ddblib_driver.c357 int connect_timeout = pdo_attr_lval(driver_options, PDO_DBLIB_ATTR_CONNECTION_TIMEOUT, -1); in pdo_dblib_handle_factory() local
361 if (connect_timeout == -1) { in pdo_dblib_handle_factory()
362 connect_timeout = timeout; in pdo_dblib_handle_factory()
368 dbsetlogintime(connect_timeout); /* Connection/Login Timeout */ in pdo_dblib_handle_factory()
/PHP-7.0/ext/pdo_pgsql/
H A Dpgsql_driver.c1209 zend_long connect_timeout = 30; in pdo_pgsql_handle_factory() local
1227 connect_timeout = pdo_attr_lval(driver_options, PDO_ATTR_TIMEOUT, 30); in pdo_pgsql_handle_factory()
1236 …_timeout=%pd", (char *) dbh->data_source, ZSTR_VAL(tmp_user), ZSTR_VAL(tmp_pass), connect_timeout); in pdo_pgsql_handle_factory()
1238 …%s user='%s' connect_timeout=%pd", (char *) dbh->data_source, ZSTR_VAL(tmp_user), connect_timeout); in pdo_pgsql_handle_factory()
1240 …assword='%s' connect_timeout=%pd", (char *) dbh->data_source, ZSTR_VAL(tmp_pass), connect_timeout); in pdo_pgsql_handle_factory()
1242 spprintf(&conn_str, 0, "%s connect_timeout=%pd", (char *) dbh->data_source, connect_timeout); in pdo_pgsql_handle_factory()
/PHP-7.0/ext/pdo_mysql/
H A Dmysql_driver.c600 zend_long connect_timeout = pdo_attr_lval(driver_options, PDO_ATTR_TIMEOUT, 30); local
627 if (mysql_options(H->server, MYSQL_OPT_CONNECT_TIMEOUT, (const char *)&connect_timeout)) {
/PHP-7.0/ext/openssl/
H A Dxp_ssl.c148 struct timeval connect_timeout; member
1832 timeout = sslsock->is_client ? &sslsock->connect_timeout : &sslsock->s.timeout; in php_openssl_enable_crypto()
2375 tv = sslsock->connect_timeout; in php_openssl_sockop_set_option()
2602 sslsock->connect_timeout.tv_sec = timeout->tv_sec; in php_openssl_ssl_socket_factory()
2603 sslsock->connect_timeout.tv_usec = timeout->tv_usec; in php_openssl_ssl_socket_factory()

Completed in 32 milliseconds