Home
last modified time | relevance | path

Searched refs:response_code (Results 1 – 10 of 10) sorted by relevance

/PHP-7.2/ext/standard/
H A Dhttp_fopen_wrapper.c139 int response_code; in php_stream_url_wrap_http_ex() local
672 response_code = atoi(tmp_line + 9); in php_stream_url_wrap_http_ex()
674 response_code = 0; in php_stream_url_wrap_http_ex()
687 if (response_code >= 100 && response_code < 200) { in php_stream_url_wrap_http_ex()
698 response_code = 0; in php_stream_url_wrap_http_ex()
704 if (response_code >= 200 && response_code < 400) { in php_stream_url_wrap_http_ex()
707 switch(response_code) { in php_stream_url_wrap_http_ex()
710 tmp_line, response_code); in php_stream_url_wrap_http_ex()
718 tmp_line, response_code); in php_stream_url_wrap_http_ex()
797 } else if (!((response_code >= 300 && response_code < 304) in php_stream_url_wrap_http_ex()
[all …]
H A Dhead.c49 Z_PARAM_LONG(ctr.response_code) in PHP_FUNCTION()
320 zend_long response_code = 0; in PHP_FUNCTION() local
324 Z_PARAM_LONG(response_code) in PHP_FUNCTION()
327 if (response_code) in PHP_FUNCTION()
332 SG(sapi_headers).http_response_code = (int)response_code; in PHP_FUNCTION()
H A Dbasic_functions.c1449 ZEND_ARG_INFO(0, response_code)
/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.h115 uint8_t response_code; member
269 uint32_t response_code; member
H A Dmysqlnd_auth.c321 if (FAIL == PACKET_READ(auth_resp_packet) || auth_resp_packet->response_code >= 0xFE) { in mysqlnd_auth_handshake()
322 if (auth_resp_packet->response_code == 0xFE) { in mysqlnd_auth_handshake()
339 } else if (auth_resp_packet->response_code == 0xFF) { in mysqlnd_auth_handshake()
446 if (0xFE == chg_user_resp->response_code) { in mysqlnd_auth_change_user()
H A Dmysqlnd_wireprotocol.c692 packet->response_code = uint1korr(p); in php_mysqlnd_auth_response_read()
696 if (ERROR_MARKER == packet->response_code) { in php_mysqlnd_auth_response_read()
703 if (0xFE == packet->response_code) { in php_mysqlnd_auth_response_read()
2118 packet->response_code = uint1korr(p); in php_mysqlnd_chg_user_read()
2127 if (ERROR_MARKER == packet->response_code) { in php_mysqlnd_chg_user_read()
2136 if (packet->response_code == 0xFE && packet->header.size > (size_t) (p - buf)) { in php_mysqlnd_chg_user_read()
/PHP-7.2/main/
H A DSAPI.h170 zend_long response_code; /* long due to zend_parse_parameters compatibility */ member
H A DSAPI.c695 http_response_code = p->response_code; in sapi_header_op()
/PHP-7.2/sapi/cli/
H A Dphp_cli_server.c329 static void append_http_status_line(smart_str *buffer, int protocol_version, int response_code, int… in append_http_status_line() argument
331 if (!response_code) { in append_http_status_line()
332 response_code = 200; in append_http_status_line()
340 smart_str_append_long_ex(buffer, response_code, persistent); in append_http_status_line()
342 smart_str_appends_ex(buffer, get_status_string(response_code), persistent); in append_http_status_line()
/PHP-7.2/ext/phar/
H A Dphar_object.c305 ctr.response_code = 403; in phar_do_403()
329 ctr.response_code = 404; in phar_do_404()
782 ctr.response_code = 301; in PHP_METHOD()
793 ctr.response_code = 0; in PHP_METHOD()

Completed in 55 milliseconds