Home
last modified time | relevance | path

Searched refs:content_length (Results 1 – 25 of 29) sorted by path

12

/PHP-7.3/ext/session/
H A Dphp_session.h138 size_t content_length; member
H A Dsession.c3173 progress->content_length = data->content_length; in php_session_rfc1867_callback()
3226 progress->update_step = progress->content_length * -PS(rfc1867_freq) / 100; in php_session_rfc1867_callback()
3235 …ong_ex(&progress->data, "content_length", sizeof("content_length") - 1, progress->content_length); in php_session_rfc1867_callback()
/PHP-7.3/ext/session/tests/
H A Drfc1867.phpt88 ["content_length"]=>
H A Drfc1867_inter.phpt91 ["content_length"]=>
H A Drfc1867_sid_cookie.phpt87 ["content_length"]=>
H A Drfc1867_sid_get.phpt85 ["content_length"]=>
H A Drfc1867_sid_get_2.phpt87 ["content_length"]=>
H A Drfc1867_sid_invalid.phpt95 ["content_length"]=>
H A Drfc1867_sid_only_cookie.phpt87 ["content_length"]=>
H A Drfc1867_sid_post.phpt83 ["content_length"]=>
/PHP-7.3/ext/standard/tests/http/
H A Dserver.inc56 $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.3/main/
H A DSAPI.c262 if ((SG(post_max_size) > 0) && (SG(request_info).content_length > SG(post_max_size))) { in SAPI_POST_READER_FUNC()
264 SG(request_info).content_length, SG(post_max_size)); in SAPI_POST_READER_FUNC()
H A DSAPI.h81 zend_long content_length; member
H A Drfc1867.c721 if (SG(post_max_size) > 0 && SG(request_info).content_length > SG(post_max_size)) {
722 …ytes exceeds the limit of " ZEND_LONG_FMT " bytes", SG(request_info).content_length, SG(post_max_s…
787 event_start.content_length = SG(request_info).content_length;
H A Drfc1867.h33 size_t content_length; member
/PHP-7.3/
H A Drun-tests.php1861 $content_length = strlen($post);
1870 $env['CONTENT_LENGTH'] = $content_length;
1882 $content_length = strlen($post);
1886 $env['CONTENT_LENGTH'] = $content_length;
1895 $content_length = strlen($post);
1899 $env['CONTENT_LENGTH'] = $content_length;
/PHP-7.3/sapi/apache2handler/
H A Dsapi_apache2.c501 char *content_length; in php_apache_request_ctor() local
513 content_length = (char *) apr_table_get(r->headers_in, "Content-Length"); in php_apache_request_ctor()
514 if (content_length) { in php_apache_request_ctor()
515 ZEND_ATOL(SG(request_info).content_length, content_length); in php_apache_request_ctor()
517 SG(request_info).content_length = 0; in php_apache_request_ctor()
/PHP-7.3/sapi/cgi/
H A Dcgi_main.c491 assert(SG(request_info).content_length >= SG(read_post_bytes)); in sapi_cgi_read_post()
493 remaining_bytes = (size_t)(SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post()
518 size_t remaining = SG(request_info).content_length - SG(read_post_bytes); in sapi_fcgi_read_post()
1201 SG(request_info).content_length = 0;
1210 char *content_length = CGI_GETENV("CONTENT_LENGTH"); local
1466 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
/PHP-7.3/sapi/cli/
H A Dphp_cli_server.c1687 client->request.content = pemalloc(parser->content_length, 1); in php_cli_server_client_read_request_on_body()
1822 request_info->content_length = client->request.content_len; in php_cli_server_client_populate_request_info()
H A Dphp_http_parser.c327 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 Dphp_http_parser.h190 ssize_t content_length; member
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_log.c248 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.content_length); in fpm_log_write()
H A Dfpm_main.c443 size_t remaining = SG(request_info).content_length - SG(read_post_bytes); in sapi_cgi_read_post()
988 SG(request_info).content_length = 0; in init_request_info()
997 char *content_length = FCGI_GETENV(request, "CONTENT_LENGTH"); in init_request_info() local
1328 SG(request_info).content_length = (content_length ? atol(content_length) : 0); in init_request_info()
H A Dfpm_php.c192 return SG(request_info).content_length; in fpm_php_content_length()
H A Dfpm_request.c95 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()

Completed in 86 milliseconds

12