diff options
author | Michael Wallner <mike@php.net> | 2013-09-17 10:50:49 +0200 |
---|---|---|
committer | Michael Wallner <mike@php.net> | 2013-09-17 10:50:49 +0200 |
commit | 1c15d70cbd91e3f502694a31704e959cf734d8da (patch) | |
tree | 922fc946cf4c9a151e268a7adea06a6a4f86ce2a /sapi/cli/php_cli_server.c | |
parent | 52ff129607a7193cccbc6bdfbf1c1e8586e8d0d2 (diff) | |
parent | 2438490addfbfba51e12246a74588b2382caa08a (diff) | |
download | php-git-1c15d70cbd91e3f502694a31704e959cf734d8da.tar.gz |
Merge branch 'slim-postdata'
* slim-postdata:
slim post data
add NEWS entry; add simple test
more precise condition
make this work in vc11 too
Use int64_t and atoll() after discussion with johannes
ws
Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files above 2G.
Diffstat (limited to 'sapi/cli/php_cli_server.c')
-rw-r--r-- | sapi/cli/php_cli_server.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index d50cc4f8a0..5e0f6e955a 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -1723,8 +1723,7 @@ static void php_cli_server_client_populate_request_info(const php_cli_server_cli request_info->request_uri = client->request.request_uri; request_info->path_translated = client->request.path_translated; request_info->query_string = client->request.query_string; - request_info->post_data = client->request.content; - request_info->content_length = request_info->post_data_length = client->request.content_len; + request_info->content_length = client->request.content_len; request_info->auth_user = request_info->auth_password = request_info->auth_digest = NULL; if (SUCCESS == zend_hash_find(&client->request.headers, "content-type", sizeof("content-type"), (void**)&val)) { request_info->content_type = *val; |