Home
last modified time | relevance | path

Searched refs:content_length (Results 1 – 25 of 27) sorted by relevance

12

/php-src/sapi/cli/
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()
1360 if (parser->content_length == 0) { in php_http_parser_execute()
1389 parser->content_length -= to_read; in php_http_parser_execute()
1412 parser->content_length = c; in php_http_parser_execute()
1436 parser->content_length *= 16; in php_http_parser_execute()
1437 parser->content_length += c; in php_http_parser_execute()
1457 if (parser->content_length == 0) { in php_http_parser_execute()
[all …]
H A Dphp_http_parser.h190 ssize_t content_length; member
/php-src/ext/standard/tests/http/
H A Dserver.inc64 $content_length = 0;
80 $content_length = (int) $matches[1];
88 if ($content_length > 0) {
89 stream_copy_to_stream($sock, $output, $content_length);
/php-src/sapi/fpm/fpm/
H A Dfpm_request.c97 proc->content_length = 0; in fpm_request_reading_headers()
112 size_t content_length = fpm_php_content_length(); in fpm_request_info() local
142 proc->content_length = content_length; in fpm_request_info()
H A Dfpm_scoreboard.h38 size_t content_length; /* used with POST only */ member
H A Dfpm_log.c269 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.content_length); in fpm_log_write()
517 if (SG(request_info).content_length > 0) { in fpm_access_log_suppress()
H A Dfpm_main.c437 size_t remaining = SG(request_info).content_length - SG(read_post_bytes); in sapi_cgi_read_post()
993 SG(request_info).content_length = 0; in init_request_info()
1000 char *content_length = FCGI_GETENV(request, "CONTENT_LENGTH"); in init_request_info() local
1350 SG(request_info).content_length = (content_length ? atol(content_length) : 0); in init_request_info()
H A Dfpm_php.c204 return SG(request_info).content_length; in fpm_php_content_length()
H A Dfpm_status.c126 add_assoc_long(&fpm_proc_stat, "request-length", procs[i].content_length); in fpm_status_export_to_zval()
603 proc->content_length, in fpm_status_handle_request()
/php-src/sapi/apache2handler/
H A Dsapi_apache2.c524 char *content_length; in php_apache_request_ctor() local
536 content_length = (char *) apr_table_get(r->headers_in, "Content-Length"); in php_apache_request_ctor()
537 if (content_length) { in php_apache_request_ctor()
538 SG(request_info).content_length = ZEND_ATOL(content_length); in php_apache_request_ctor()
540 SG(request_info).content_length = 0; in php_apache_request_ctor()
/php-src/main/
H A Drfc1867.h41 size_t content_length; member
H A Drfc1867.c696 if (post_max_size > 0 && SG(request_info).content_length > post_max_size) {
697 …ytes exceeds the limit of " ZEND_LONG_FMT " bytes", SG(request_info).content_length, post_max_size…
764 event_start.content_length = SG(request_info).content_length;
H A DSAPI.h76 zend_long content_length; member
H A DSAPI.c260 if (post_max_size > 0 && SG(request_info).content_length > post_max_size) { in SAPI_POST_READER_FUNC()
262 SG(request_info).content_length, post_max_size); in SAPI_POST_READER_FUNC()
/php-src/ext/session/tests/
H A Drfc1867.phpt92 ["content_length"]=>
H A Drfc1867_sid_get.phpt89 ["content_length"]=>
H A Drfc1867_sid_post.phpt87 ["content_length"]=>
H A Drfc1867_sid_cookie.phpt91 ["content_length"]=>
H A Drfc1867_sid_get_2.phpt91 ["content_length"]=>
H A Drfc1867_inter.phpt95 ["content_length"]=>
H A Drfc1867_sid_only_cookie.phpt91 ["content_length"]=>
H A Drfc1867_sid_invalid.phpt103 ["content_length"]=>
/php-src/sapi/cgi/
H A Dcgi_main.c481 assert(SG(request_info).content_length >= SG(read_post_bytes)); in sapi_cgi_read_post()
483 remaining_bytes = (size_t)(SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post()
508 size_t remaining = SG(request_info).content_length - SG(read_post_bytes); in sapi_fcgi_read_post()
1179 SG(request_info).content_length = 0;
1188 char *content_length = CGI_GETENV("CONTENT_LENGTH"); local
1444 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
/php-src/ext/session/
H A Dphp_session.h133 size_t content_length; member
H A Dsession.c3113 progress->content_length = data->content_length; in php_session_rfc1867_callback()
3166 progress->update_step = progress->content_length * -PS(rfc1867_freq) / 100; in php_session_rfc1867_callback()
3175 …ong_ex(&progress->data, "content_length", sizeof("content_length") - 1, progress->content_length); in php_session_rfc1867_callback()

Completed in 99 milliseconds

12