Searched refs:content_length (Results 1 - 20 of 20) sorted by relevance

/PHP_TRUNK/ext/standard/tests/http/
H A Dserver.inc48 $content_length = 0;
64 $content_length = (int) $matches[1];
72 if ($content_length > 0) {
73 stream_copy_to_stream($sock, $output, $content_length);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_scoreboard.h37 size_t content_length; /* used with POST only */ member in struct:fpm_scoreboard_proc_s
H A Dfpm_log.c250 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.content_length);
H A Dfpm_request.c96 proc->content_length = 0;
112 size_t content_length = fpm_php_content_length(); local
142 proc->content_length = content_length;
H A Dfpm_main.c477 size_t remaining = SG(request_info).content_length - SG(read_post_bytes);
1044 SG(request_info).content_length = 0;
1053 char *content_length = FCGI_GETENV(request, "CONTENT_LENGTH"); local
1366 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
H A Dfpm_php.c191 return SG(request_info).content_length;
H A Dfpm_status.c455 proc.content_length,
/PHP_TRUNK/
H A Dserver-tests.php1345 $content_length = strlen($post); variable
1351 $env['CONTENT_LENGTH']=$content_length;
H A Drun-tests.php1754 $content_length = strlen($post); variable
1763 $env['CONTENT_LENGTH'] = $content_length;
1775 $content_length = strlen($post); variable
1779 $env['CONTENT_LENGTH'] = $content_length;
1788 $content_length = strlen($post); variable
1792 $env['CONTENT_LENGTH'] = $content_length;
/PHP_TRUNK/ext/session/
H A Dphp_session.h140 size_t content_length; member in struct:_php_session_rfc1867_progress
H A Dsession.c2845 progress->content_length = data->content_length;
2898 progress->update_step = progress->content_length * -PS(rfc1867_freq) / 100;
2907 add_assoc_long_ex(&progress->data, "content_length", sizeof("content_length") - 1, progress->content_length);
/PHP_TRUNK/main/
H A DSAPI.c270 if ((SG(post_max_size) > 0) && (SG(request_info).content_length > SG(post_max_size))) {
272 SG(request_info).content_length, SG(post_max_size));
H A DSAPI.h85 zend_long content_length; member in struct:__anon9
H A Drfc1867.h35 size_t content_length; member in struct:_multipart_event_start
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c475 char *content_length; local
487 content_length = (char *) apr_table_get(r->headers_in, "Content-Length");
488 if (content_length) {
489 ZEND_ATOL(SG(request_info).content_length, content_length);
491 SG(request_info).content_length = 0;
/PHP_TRUNK/sapi/cli/
H A Dphp_http_parser.h122 ssize_t content_length; member in struct:php_http_parser
H A Dphp_http_parser.c394 parser->content_length = -1;
423 parser->content_length = -1;
572 parser->content_length = -1;
1247 parser->content_length = ch - '0';
1296 parser->content_length *= 10;
1297 parser->content_length += ch - '0';
1420 if (parser->content_length == 0) {
1424 } else if (parser->content_length > 0) {
1445 to_read = MIN((size_t)(pe - p), (size_t)parser->content_length);
1449 parser->content_length
[all...]
H A Dphp_cli_server.c1614 client->request.content = pemalloc(parser->content_length, 1);
1755 request_info->content_length = client->request.content_len;
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c468 SG(request_info).content_length = LSAPI_GetReqBodyLen();
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c481 assert(SG(request_info).content_length >= SG(read_post_bytes));
483 remaining_bytes = (size_t)(SG(request_info).content_length - SG(read_post_bytes));
508 size_t remaining = SG(request_info).content_length - SG(read_post_bytes);
1139 SG(request_info).content_length = 0;
1148 char *content_length = CGI_GETENV("CONTENT_LENGTH"); local
1405 SG(request_info).content_length = (content_length ? atol(content_length) : 0);

Completed in 41 milliseconds