Searched refs:content_length (Results 1 - 21 of 21) 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_status.c455 proc.content_length,
H A Dfpm_php.c191 return SG(request_info).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.c455 size_t remaining = SG(request_info).content_length - SG(read_post_bytes);
1007 SG(request_info).content_length = 0;
1016 char *content_length = sapi_cgibin_getenv("CONTENT_LENGTH", sizeof("CONTENT_LENGTH") - 1); local
1329 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
/PHP_TRUNK/sapi/cli/
H A Dphp_http_parser.h121 ssize_t content_length; member in struct:php_http_parser
H A Dphp_http_parser.c393 parser->content_length = -1;
422 parser->content_length = -1;
571 parser->content_length = -1;
1238 parser->content_length = ch - '0';
1287 parser->content_length *= 10;
1288 parser->content_length += ch - '0';
1411 if (parser->content_length == 0) {
1415 } else if (parser->content_length > 0) {
1436 to_read = MIN((size_t)(pe - p), (size_t)parser->content_length);
1440 parser->content_length
[all...]
H A Dphp_cli_server.c1618 client->request.content = pemalloc(parser->content_length, 1);
1759 request_info->content_length = client->request.content_len;
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c595 int length, content_length = 0; local
601 count_bytes = MIN(count_bytes, SG(request_info).content_length-rc->read_post_bytes);
602 content_length = SG(request_info).content_length;
604 if (content_length <= 0) {
617 content_length -= length;
624 while (content_length > 0 && bytes_read < count_bytes) {
627 if (content_length < bytes_to_read) {
628 bytes_to_read = content_length;
639 content_length
970 char *content_length = pblock_findval("content-length", rq->headers); local
[all...]
/PHP_TRUNK/
H A Dserver-tests.php1345 $content_length = strlen($post); variable
1351 $env['CONTENT_LENGTH']=$content_length;
H A Drun-tests.php1746 $content_length = strlen($post); variable
1750 $env['CONTENT_LENGTH'] = $content_length;
1761 $content_length = strlen($post); variable
1765 $env['CONTENT_LENGTH'] = $content_length;
1774 $content_length = strlen($post); variable
1778 $env['CONTENT_LENGTH'] = $content_length;
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c468 SG(request_info).content_length = LSAPI_GetReqBodyLen();
/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/cgi/
H A Dcgi_main.c467 assert(SG(request_info).content_length >= SG(read_post_bytes));
469 remaining_bytes = (size_t)(SG(request_info).content_length - SG(read_post_bytes));
494 size_t remaining = SG(request_info).content_length - SG(read_post_bytes);
1124 SG(request_info).content_length = 0;
1133 char *content_length = CGI_GETENV("CONTENT_LENGTH"); local
1390 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
/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;

Completed in 42 milliseconds