diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_php_sapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_php_sapi.c b/src/nxt_php_sapi.c index ba7a5aad..c60a8dab 100644 --- a/src/nxt_php_sapi.c +++ b/src/nxt_php_sapi.c @@ -333,6 +333,8 @@ nxt_php_read_request(nxt_task_t *task, nxt_app_rmsg_t *rmsg, RC(nxt_app_msg_read_size(task, rmsg, &s)); h->parsed_content_length = s; + RC(nxt_app_msg_read_size(task, ctx->rmsg, &ctx->body_preread_size)); + #undef NXT_READ #undef RC @@ -741,8 +743,6 @@ nxt_php_register_variables(zval *track_vars_array TSRMLS_DC) NXT_PHP_SET(n.start, v); } - nxt_app_msg_read_size(task, ctx->rmsg, &ctx->body_preread_size); - #undef NXT_PHP_SET } |