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

12

/PHP_5_4/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_5_4/sapi/cli/
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) {
1434 to_read = MIN(pe - p, (size_t)parser->content_length);
1438 parser->content_length
[all...]
H A Dphp_http_parser.h123 ssize_t content_length; member in struct:php_http_parser
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_php.c192 return SG(request_info).content_length;
H A Dfpm_request.c97 proc->content_length = 0;
114 size_t content_length = fpm_php_content_length(TSRMLS_C); local
144 proc->content_length = content_length;
H A Dfpm_scoreboard.h37 size_t content_length; /* used with POST only */ member in struct:fpm_scoreboard_proc_s
H A Dfpm_status.c451 proc.content_length,
H A Dfpm_log.c248 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.content_length);
H A Dfpm_main.c502 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes));
1069 SG(request_info).content_length = 0;
1078 char *content_length = sapi_cgibin_getenv("CONTENT_LENGTH", sizeof("CONTENT_LENGTH") - 1 TSRMLS_CC); local
1375 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
/PHP_5_4/ext/session/
H A Dphp_session.h109 size_t content_length; member in struct:_php_session_rfc1867_progress
/PHP_5_4/main/
H A DSAPI.h84 long content_length; member in struct:__anon288
H A Drfc1867.h35 size_t content_length; member in struct:_multipart_event_start
/PHP_5_4/sapi/aolserver/
H A Daolserver.c455 SG(request_info).content_length = Ns_ConnContentLength(NSG(conn));
471 NSG(data_avail) = SG(request_info).content_length;
/PHP_5_4/sapi/apache/
H A Dmod_php5.c523 char *content_length = (char *) table_get(r->subprocess_env, "CONTENT_LENGTH"); local
532 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
/PHP_5_4/sapi/apache2filter/
H A Dsapi_apache2.c400 char *content_length; local
421 content_length = (char *) apr_table_get(f->r->headers_in, "Content-Length");
422 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
/PHP_5_4/sapi/apache_hooks/
H A Dmod_php5.c575 char *content_length = (char *) table_get(r->subprocess_env, "CONTENT_LENGTH"); local
585 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
/PHP_5_4/sapi/cgi/
H A Dcgi_main.c511 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes));
528 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes));
1156 SG(request_info).content_length = 0;
1165 char *content_length = CGI_GETENV("CONTENT_LENGTH"); local
1422 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
/PHP_5_4/sapi/continuity/
H A Dcapi.c204 max_read = MIN(count_bytes, SG(request_info).content_length);
208 max_read = MIN(count_bytes, (SG(request_info).content_length - rc->read_post_bytes));
419 char *content_length = lstFset_get(NSG(t->req_hdrs), "content-length"); local
426 SG(request_info).content_length = (content_length == NULL) ? 0 : strtoul(content_length, 0, 0);
/PHP_5_4/sapi/nsapi/
H A Dnsapi.c596 int length, content_length = 0; local
602 count_bytes = MIN(count_bytes, SG(request_info).content_length-rc->read_post_bytes);
603 content_length = SG(request_info).content_length;
605 if (content_length <= 0) {
618 content_length -= length;
625 while (content_length > 0 && bytes_read < count_bytes) {
628 if (content_length < bytes_to_read) {
629 bytes_to_read = content_length;
640 content_length
971 char *content_length = pblock_findval("content-length", rq->headers); local
[all...]
/PHP_5_4/sapi/phttpd/
H A Dphttpd.c213 SG(request_info).content_length = Ns_ConnContentLength(NSG(conn));
230 NSG(data_avail) = SG(request_info).content_length;
/PHP_5_4/sapi/thttpd/
H A Dthttpd.c460 SG(request_info).content_length = TG(hc)->contentlength == -1 ? 0
463 TG(unconsumed_length) = SG(request_info).content_length;
/PHP_5_4/sapi/tux/
H A Dphp_tux.c344 SG(request_info).content_length = 0; /* TG(req)->contentlength; */
/PHP_5_4/sapi/webjames/
H A Dwebjames.c187 SG(request_info).content_length = WG(conn)->bodysize;
/PHP_5_4/sapi/apache2handler/
H A Dsapi_apache2.c473 char *content_length; local
485 content_length = (char *) apr_table_get(r->headers_in, "Content-Length");
486 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
/PHP_5_4/
H A Drun-tests.php1731 $content_length = strlen($post); variable
1735 $env['CONTENT_LENGTH'] = $content_length;
1746 $content_length = strlen($post); variable
1750 $env['CONTENT_LENGTH'] = $content_length;
1759 $content_length = strlen($post); variable
1763 $env['CONTENT_LENGTH'] = $content_length;

Completed in 70 milliseconds

12