/PHP-5.3/ext/standard/tests/http/ |
H A D | server.inc | 48 $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.3/sapi/nsapi/ |
H A D | nsapi.c | 598 int length, content_length = 0; in sapi_nsapi_read_post() local 604 count_bytes = MIN(count_bytes, SG(request_info).content_length-rc->read_post_bytes); in sapi_nsapi_read_post() 605 content_length = SG(request_info).content_length; in sapi_nsapi_read_post() 607 if (content_length <= 0) { in sapi_nsapi_read_post() 620 content_length -= length; in sapi_nsapi_read_post() 627 while (content_length > 0 && bytes_read < count_bytes) { in sapi_nsapi_read_post() 630 if (content_length < bytes_to_read) { in sapi_nsapi_read_post() 631 bytes_to_read = content_length; in sapi_nsapi_read_post() 642 content_length -= length; in sapi_nsapi_read_post() 976 char *content_length = pblock_findval("content-length", rq->headers); in php5_execute() local [all …]
|
/PHP-5.3/sapi/continuity/ |
H A D | capi.c | 204 max_read = MIN(count_bytes, SG(request_info).content_length); in sapi_capi_read_post() 208 max_read = MIN(count_bytes, (SG(request_info).content_length - rc->read_post_bytes)); in sapi_capi_read_post() 420 char *content_length = lstFset_get(NSG(t->req_hdrs), "content-length"); in capi_request_ctor() local 427 SG(request_info).content_length = (content_length == NULL) ? 0 : strtoul(content_length, 0, 0); in capi_request_ctor()
|
/PHP-5.3/sapi/fpm/fpm/ |
H A D | fpm_request.c | 97 proc->content_length = 0; in fpm_request_reading_headers() 114 size_t content_length = fpm_php_content_length(TSRMLS_C); in fpm_request_info() local 144 proc->content_length = content_length; in fpm_request_info()
|
H A D | fpm_scoreboard.h | 37 size_t content_length; /* used with POST only */ member
|
H A D | fpm_main.c | 498 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post() 1075 SG(request_info).content_length = 0; 1084 …char *content_length = sapi_cgibin_getenv("CONTENT_LENGTH", sizeof("CONTENT_LENGTH") - 1 TSRMLS_CC… local 1376 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
|
H A D | fpm_php.c | 192 return SG(request_info).content_length; in fpm_php_content_length()
|
H A D | fpm_status.c | 445 proc.content_length, in fpm_status_handle_request()
|
H A D | fpm_log.c | 248 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.content_length); in fpm_log_write()
|
/PHP-5.3/main/ |
H A D | rfc1867.h | 35 size_t content_length; member
|
H A D | SAPI.h | 84 long content_length; member
|
H A D | rfc1867.c | 784 if (SG(post_max_size) > 0 && SG(request_info).content_length > SG(post_max_size)) { 785 …ength of %ld bytes exceeds the limit of %ld bytes", SG(request_info).content_length, SG(post_max_s… 856 event_start.content_length = SG(request_info).content_length;
|
/PHP-5.3/sapi/phttpd/ |
H A D | phttpd.c | 218 SG(request_info).content_length = Ns_ConnContentLength(NSG(conn)); in php_phttpd_request_ctor() 235 NSG(data_avail) = SG(request_info).content_length; in php_phttpd_request_ctor()
|
/PHP-5.3/sapi/apache2handler/ |
H A D | sapi_apache2.c | 474 char *content_length; in php_apache_request_ctor() local 486 content_length = (char *) apr_table_get(r->headers_in, "Content-Length"); in php_apache_request_ctor() 487 SG(request_info).content_length = (content_length ? atol(content_length) : 0); in php_apache_request_ctor()
|
/PHP-5.3/sapi/apache2filter/ |
H A D | sapi_apache2.c | 401 char *content_length; in php_apache_request_ctor() local 422 content_length = (char *) apr_table_get(f->r->headers_in, "Content-Length"); in php_apache_request_ctor() 423 SG(request_info).content_length = (content_length ? atol(content_length) : 0); in php_apache_request_ctor()
|
/PHP-5.3/sapi/apache/ |
H A D | mod_php5.c | 527 char *content_length = (char *) table_get(r->subprocess_env, "CONTENT_LENGTH"); in init_request_info() local 536 SG(request_info).content_length = (content_length ? atol(content_length) : 0); in init_request_info()
|
/PHP-5.3/sapi/aolserver/ |
H A D | aolserver.c | 455 SG(request_info).content_length = Ns_ConnContentLength(NSG(conn)); in php_ns_request_ctor() 471 NSG(data_avail) = SG(request_info).content_length; in php_ns_request_ctor()
|
/PHP-5.3/sapi/cgi/ |
H A D | cgi_main.c | 495 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post() 1099 SG(request_info).content_length = 0; 1108 char *content_length = sapi_cgibin_getenv("CONTENT_LENGTH", sizeof("CONTENT_LENGTH")-1 TSRMLS_CC); local 1362 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
|
/PHP-5.3/sapi/thttpd/ |
H A D | thttpd.c | 460 SG(request_info).content_length = TG(hc)->contentlength == -1 ? 0 463 TG(unconsumed_length) = SG(request_info).content_length;
|
/PHP-5.3/ |
H A D | run-tests.php | 1703 $content_length = strlen($post); 1707 $env['CONTENT_LENGTH'] = $content_length; 1718 $content_length = strlen($post); 1722 $env['CONTENT_LENGTH'] = $content_length; 1731 $content_length = strlen($post); 1735 $env['CONTENT_LENGTH'] = $content_length;
|
/PHP-5.3/sapi/webjames/ |
H A D | webjames.c | 187 SG(request_info).content_length = WG(conn)->bodysize; in webjames_module_main()
|
/PHP-5.3/sapi/apache_hooks/ |
H A D | mod_php5.c | 580 char *content_length = (char *) table_get(r->subprocess_env, "CONTENT_LENGTH"); in init_request_info() local 590 SG(request_info).content_length = (content_length ? atol(content_length) : 0); in init_request_info()
|
H A D | README | 96 content_length
|
/PHP-5.3/sapi/tux/ |
H A D | php_tux.c | 344 SG(request_info).content_length = 0; /* TG(req)->contentlength; */ in tux_request_ctor()
|
/PHP-5.3/sapi/pi3web/ |
H A D | pi3web_sapi.c | 274 SG(request_info).content_length = lpCB->cbTotalBytes; in init_request_info()
|