Searched defs:content_length (Results 1 - 12 of 12) sorted by relevance

/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_main.c456 size_t remaining = SG(request_info).content_length - SG(read_post_bytes);
1008 SG(request_info).content_length = 0;
1017 char *content_length = sapi_cgibin_getenv("CONTENT_LENGTH", sizeof("CONTENT_LENGTH") - 1); local
1330 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
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;
/PHP_TRUNK/sapi/cli/
H A Dphp_http_parser.h121 ssize_t content_length; member in struct:php_http_parser
/PHP_TRUNK/main/
H A DSAPI.h85 zend_long content_length; member in struct:__anon327
H A Drfc1867.h35 size_t content_length; member in struct:_multipart_event_start
/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/ext/session/
H A Dphp_session.h137 size_t content_length; member in struct:_php_session_rfc1867_progress
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c481 char *content_length; local
493 content_length = (char *) apr_table_get(r->headers_in, "Content-Length");
494 if (content_length) {
495 ZEND_ATOL(SG(request_info).content_length, content_length);
497 SG(request_info).content_length = 0;
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c469 assert(SG(request_info).content_length >= SG(read_post_bytes));
471 remaining_bytes = (size_t)(SG(request_info).content_length - SG(read_post_bytes));
496 size_t remaining = SG(request_info).content_length - SG(read_post_bytes);
1126 SG(request_info).content_length = 0;
1135 char *content_length = CGI_GETENV("CONTENT_LENGTH"); local
1392 SG(request_info).content_length = (content_length ? atol(content_length) : 0);

Completed in 44 milliseconds