/PHP-5.5/ |
H A D | server-tests.php | 1346 $content_length = strlen($post); 1352 $env['CONTENT_LENGTH']=$content_length;
|
/PHP-5.5/sapi/nsapi/ |
H A D | nsapi.c | 596 int length, content_length = 0; in sapi_nsapi_read_post() local 602 count_bytes = MIN(count_bytes, SG(request_info).content_length-rc->read_post_bytes); in sapi_nsapi_read_post() 603 content_length = SG(request_info).content_length; in sapi_nsapi_read_post() 605 if (content_length <= 0) { in sapi_nsapi_read_post() 618 content_length -= length; in sapi_nsapi_read_post() 625 while (content_length > 0 && bytes_read < count_bytes) { in sapi_nsapi_read_post() 628 if (content_length < bytes_to_read) { in sapi_nsapi_read_post() 629 bytes_to_read = content_length; in sapi_nsapi_read_post() 640 content_length -= length; in sapi_nsapi_read_post() 971 char *content_length = pblock_findval("content-length", rq->headers); in php5_execute() local [all …]
|
/PHP-5.5/sapi/phttpd/ |
H A D | phttpd.c | 213 SG(request_info).content_length = Ns_ConnContentLength(NSG(conn)); in php_phttpd_request_ctor() 230 NSG(data_avail) = SG(request_info).content_length; in php_phttpd_request_ctor()
|
/PHP-5.5/sapi/pi3web/ |
H A D | pi3web_sapi.c | 274 SG(request_info).content_length = lpCB->cbTotalBytes; in init_request_info()
|
/PHP-5.5/sapi/roxen/ |
H A D | roxen.c | 647 SG(request_info).content_length = lookup_integer_header("HTTP_CONTENT_LENGTH", 0); in f_php_roxen_request_handler()
|
/PHP-5.5/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.5/sapi/tux/ |
H A D | php_tux.c | 344 SG(request_info).content_length = 0; /* TG(req)->contentlength; */ in tux_request_ctor()
|
/PHP-5.5/sapi/webjames/ |
H A D | webjames.c | 187 SG(request_info).content_length = WG(conn)->bodysize; in webjames_module_main()
|
/PHP-5.5/sapi/isapi/ |
H A D | php5isapi.c | 747 SG(request_info).content_length = lpECB->cbTotalBytes; in init_request_info()
|
/PHP-5.5/sapi/litespeed/ |
H A D | lsapi_main.c | 501 SG(request_info).content_length = LSAPI_GetReqBodyLen(); in init_request_info()
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_php.c | 192 return SG(request_info).content_length; in fpm_php_content_length()
|
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_status.c | 451 proc.content_length, in fpm_status_handle_request()
|
H A D | fpm_log.c | 250 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.content_length); in fpm_log_write()
|
H A D | fpm_main.c | 502 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post() 1073 SG(request_info).content_length = 0; 1082 …char *content_length = sapi_cgibin_getenv("CONTENT_LENGTH", sizeof("CONTENT_LENGTH") - 1 TSRMLS_CC… local 1395 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
|
/PHP-5.5/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() 419 char *content_length = lstFset_get(NSG(t->req_hdrs), "content-length"); in capi_request_ctor() local 426 SG(request_info).content_length = (content_length == NULL) ? 0 : strtoul(content_length, 0, 0); in capi_request_ctor()
|
/PHP-5.5/sapi/cli/ |
H A D | php_cli_server.c | 1725 client->request.content = pemalloc(parser->content_length, 1); in php_cli_server_client_read_request_on_body() 1857 request_info->content_length = request_info->post_data_length = client->request.content_len; in php_cli_server_client_populate_request_info()
|
H A D | php_http_parser.c | 393 parser->content_length = -1; in php_http_parser_execute() 422 parser->content_length = -1; in php_http_parser_execute() 571 parser->content_length = -1; in php_http_parser_execute() 1287 parser->content_length *= 10; in php_http_parser_execute() 1411 if (parser->content_length == 0) { in php_http_parser_execute() 1438 parser->content_length -= to_read; in php_http_parser_execute() 1461 parser->content_length = c; in php_http_parser_execute() 1485 parser->content_length *= 16; in php_http_parser_execute() 1486 parser->content_length += c; in php_http_parser_execute() 1506 if (parser->content_length == 0) { in php_http_parser_execute() [all …]
|
H A D | php_http_parser.h | 123 ssize_t content_length; member
|
/PHP-5.5/sapi/apache_hooks/ |
H A D | mod_php5.c | 575 char *content_length = (char *) table_get(r->subprocess_env, "CONTENT_LENGTH"); in init_request_info() local 585 SG(request_info).content_length = (content_length ? atol(content_length) : 0); in init_request_info()
|
H A D | php_apache.c | 1314 PHP_FALIAS(content_length, apache_request_content_length, NULL)
|
/PHP-5.5/sapi/caudium/ |
H A D | caudium.c | 620 SG(request_info).content_length = lookup_integer_header("HTTP_CONTENT_LENGTH", 0); in php_caudium_module_main()
|
/PHP-5.5/sapi/cgi/ |
H A D | cgi_main.c | 511 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post() 528 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); in sapi_fcgi_read_post() 1158 SG(request_info).content_length = 0; 1167 char *content_length = CGI_GETENV("CONTENT_LENGTH"); local 1424 SG(request_info).content_length = (content_length ? atol(content_length) : 0);
|
/PHP-5.5/sapi/apache/ |
H A D | mod_php5.c | 523 char *content_length = (char *) table_get(r->subprocess_env, "CONTENT_LENGTH"); in init_request_info() local 532 SG(request_info).content_length = (content_length ? atol(content_length) : 0); in init_request_info()
|