Lines Matching refs:addr_str
170 char *addr_str; member
754 if ((tmp = strrchr(client->addr_str, ':'))) { in sapi_cli_server_register_variables()
758 strncpy(addr, client->addr_str, tmp - client->addr_str); in sapi_cli_server_register_variables()
759 addr[tmp - client->addr_str] = '\0'; in sapi_cli_server_register_variables()
763 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADDR", client->addr_str TSRMLS_CC); in sapi_cli_server_register_variables()
1228 spprintf(&basic_buf, 0, "%s [%d]: %s", client->addr_str, status, client->request.request_uri); in php_cli_server_log_response()
1890 char *addr_str = 0; in php_cli_server_client_ctor() local
1892 …php_network_populate_name_from_sockaddr(addr, addr_len, &addr_str, &addr_str_len, NULL, 0 TSRMLS_C… in php_cli_server_client_ctor()
1893 client->addr_str = pestrndup(addr_str, addr_str_len, 1); in php_cli_server_client_ctor()
1895 efree(addr_str); in php_cli_server_client_ctor()
1919 pefree(client->addr_str, 1); in php_cli_server_client_dtor()
1928 php_cli_server_logf("%s Closing" TSRMLS_CC, client->addr_str); in php_cli_server_close_connection()
2393 php_cli_server_logf("%s Invalid request (%s)" TSRMLS_CC, client->addr_str, errstr); in php_cli_server_recv_event_read_request()
2484 php_cli_server_logf("%s Accepted" TSRMLS_CC, client->addr_str); in php_cli_server_do_event_for_each_fd_callback()