Home
last modified time | relevance | path

Searched refs:content_length (Results 1 – 25 of 45) sorted by last modified time

12

/PHP-5.5/
H A Dserver-tests.php1346 $content_length = strlen($post);
1352 $env['CONTENT_LENGTH']=$content_length;
/PHP-5.5/sapi/nsapi/
H A Dnsapi.c596 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 Dphttpd.c213 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 Dpi3web_sapi.c274 SG(request_info).content_length = lpCB->cbTotalBytes; in init_request_info()
/PHP-5.5/sapi/roxen/
H A Droxen.c647 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 Dthttpd.c460 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 Dphp_tux.c344 SG(request_info).content_length = 0; /* TG(req)->contentlength; */ in tux_request_ctor()
/PHP-5.5/sapi/webjames/
H A Dwebjames.c187 SG(request_info).content_length = WG(conn)->bodysize; in webjames_module_main()
/PHP-5.5/sapi/isapi/
H A Dphp5isapi.c747 SG(request_info).content_length = lpECB->cbTotalBytes; in init_request_info()
/PHP-5.5/sapi/litespeed/
H A Dlsapi_main.c501 SG(request_info).content_length = LSAPI_GetReqBodyLen(); in init_request_info()
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_php.c192 return SG(request_info).content_length; in fpm_php_content_length()
H A Dfpm_request.c97 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 Dfpm_scoreboard.h37 size_t content_length; /* used with POST only */ member
H A Dfpm_status.c451 proc.content_length, in fpm_status_handle_request()
H A Dfpm_log.c250 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.content_length); in fpm_log_write()
H A Dfpm_main.c502 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 Dcapi.c204 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 Dphp_cli_server.c1725 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 Dphp_http_parser.c393 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 Dphp_http_parser.h123 ssize_t content_length; member
/PHP-5.5/sapi/apache_hooks/
H A Dmod_php5.c575 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 Dphp_apache.c1314 PHP_FALIAS(content_length, apache_request_content_length, NULL)
/PHP-5.5/sapi/caudium/
H A Dcaudium.c620 SG(request_info).content_length = lookup_integer_header("HTTP_CONTENT_LENGTH", 0); in php_caudium_module_main()
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c511 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 Dmod_php5.c523 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()

Completed in 136 milliseconds

12