Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
litespeed_wiki:config:envirnment_variables [2020/08/05 20:42] Jackson Zhang created |
litespeed_wiki:config:envirnment_variables [2020/08/26 12:59] Jackson Zhang [wait-req-full-body] |
||
---|---|---|---|
Line 32: | Line 32: | ||
===== wait-req-full-body ===== | ===== wait-req-full-body ===== | ||
- | When LSWS process request, it usually pass the request to backend (PHP) without waiting for the full request body to complete. Usually, it is not a problem, unless the script need the whole request body to work properly. Starting from 5.4.8 build 4, we added an environment variable to control this. It can be set via SetEnv, SetEnvIf or a rewrite rule. | + | When LSWS processes a request, it usually passes the request to the backend (PHP) without waiting for the full request body to complete. Usually, this is not a problem, but it can be an issue if the script needs the whole request body to work properly. As of v5.4.8 build 4, the ''wait-req-full-body'' environment variable allows you to control this. It can be set via SetEnv, SetEnvIf or a rewrite rule. |
- | RewriteRule ^(.*)$ [E=wait-req-full-body:1] | + | |
+ | RewriteRule ^(.*)$ - [E=wait-req-full-body:1] | ||
or | or | ||
+ | |||
SetEnv wait-req-full-body 1 | SetEnv wait-req-full-body 1 |