Searched refs:content_length (Results 1 – 25 of 29) sorted by relevance
12
/PHP-7.2/sapi/cli/ |
H A D | php_http_parser.c | 327 parser->content_length = -1; in php_http_parser_execute() 356 parser->content_length = -1; in php_http_parser_execute() 505 parser->content_length = -1; in php_http_parser_execute() 1231 parser->content_length *= 10; in php_http_parser_execute() 1355 if (parser->content_length == 0) { in php_http_parser_execute() 1384 parser->content_length -= to_read; in php_http_parser_execute() 1407 parser->content_length = c; in php_http_parser_execute() 1431 parser->content_length *= 16; in php_http_parser_execute() 1432 parser->content_length += c; in php_http_parser_execute() 1452 if (parser->content_length == 0) { in php_http_parser_execute() [all …]
|
H A D | php_http_parser.h | 190 ssize_t content_length; member
|
/PHP-7.2/ext/standard/tests/http/ |
H A D | server.inc | 56 $content_length = 0; 72 $content_length = (int) $matches[1]; 80 if ($content_length > 0) { 81 stream_copy_to_stream($sock, $output, $content_length);
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm_request.c | 95 proc->content_length = 0; in fpm_request_reading_headers() 111 size_t content_length = fpm_php_content_length(); in fpm_request_info() local 141 proc->content_length = content_length; in fpm_request_info()
|
H A D | fpm_scoreboard.h | 36 size_t content_length; /* used with POST only */ member
|
H A D | fpm_main.c | 478 size_t remaining = SG(request_info).content_length - SG(read_post_bytes); in sapi_cgi_read_post() 1044 SG(request_info).content_length = 0; 1053 char *content_length = FCGI_GETENV(request, "CONTENT_LENGTH"); local 1390 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
|
H A D | fpm_php.c | 193 return SG(request_info).content_length; in fpm_php_content_length()
|
H A D | fpm_status.c | 455 proc.content_length, in fpm_status_handle_request()
|
H A D | fpm_log.c | 249 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.content_length); in fpm_log_write()
|
/PHP-7.2/sapi/apache2handler/ |
H A D | sapi_apache2.c | 503 char *content_length; in php_apache_request_ctor() local 515 content_length = (char *) apr_table_get(r->headers_in, "Content-Length"); in php_apache_request_ctor() 516 if (content_length) { in php_apache_request_ctor() 517 ZEND_ATOL(SG(request_info).content_length, content_length); in php_apache_request_ctor() 519 SG(request_info).content_length = 0; in php_apache_request_ctor()
|
/PHP-7.2/main/ |
H A D | rfc1867.h | 35 size_t content_length; member
|
H A D | rfc1867.c | 723 if (SG(post_max_size) > 0 && SG(request_info).content_length > SG(post_max_size)) { 724 …ytes exceeds the limit of " ZEND_LONG_FMT " bytes", SG(request_info).content_length, SG(post_max_s… 789 event_start.content_length = SG(request_info).content_length;
|
H A D | SAPI.h | 83 zend_long content_length; member
|
H A D | SAPI.c | 264 if ((SG(post_max_size) > 0) && (SG(request_info).content_length > SG(post_max_size))) { in SAPI_POST_READER_FUNC() 266 SG(request_info).content_length, SG(post_max_size)); in SAPI_POST_READER_FUNC()
|
/PHP-7.2/ext/session/tests/ |
H A D | rfc1867_sid_get.phpt | 85 ["content_length"]=>
|
H A D | rfc1867_sid_post.phpt | 83 ["content_length"]=>
|
H A D | rfc1867_sid_get_2.phpt | 87 ["content_length"]=>
|
H A D | rfc1867_sid_only_cookie.phpt | 87 ["content_length"]=>
|
H A D | rfc1867.phpt | 88 ["content_length"]=>
|
H A D | rfc1867_inter.phpt | 91 ["content_length"]=>
|
H A D | rfc1867_sid_cookie.phpt | 87 ["content_length"]=>
|
H A D | rfc1867_sid_invalid.phpt | 95 ["content_length"]=>
|
/PHP-7.2/sapi/cgi/ |
H A D | cgi_main.c | 493 assert(SG(request_info).content_length >= SG(read_post_bytes)); in sapi_cgi_read_post() 495 remaining_bytes = (size_t)(SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post() 520 size_t remaining = SG(request_info).content_length - SG(read_post_bytes); in sapi_fcgi_read_post() 1199 SG(request_info).content_length = 0; 1208 char *content_length = CGI_GETENV("CONTENT_LENGTH"); local 1465 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
|
/PHP-7.2/ |
H A D | run-tests.php | 1872 $content_length = strlen($post); 1881 $env['CONTENT_LENGTH'] = $content_length; 1893 $content_length = strlen($post); 1897 $env['CONTENT_LENGTH'] = $content_length; 1906 $content_length = strlen($post); 1910 $env['CONTENT_LENGTH'] = $content_length;
|
/PHP-7.2/ext/session/ |
H A D | php_session.h | 140 size_t content_length; member
|
Completed in 64 milliseconds
12