diff options
| author | default <nobody@localhost> | 2024-12-19 16:14:13 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2024-12-19 16:14:13 +0100 |
| commit | f82c7a5cdb2238e8c32649227daee05a0f885155 (patch) | |
| tree | ac52450f21d5cc3dececb1069909caf34b4bc6e7 | |
| parent | 70ee3289f8b5e4b7c84e5f6e40766011e02a3a46 (diff) | |
Propagate FastCGI variable REMOTE_ADDR.
| -rw-r--r-- | xs_fcgi.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -190,7 +190,7 @@ xs_dict *xs_fcgi_request(FILE *f, xs_str **payload, int *p_size, int *fcgi_id) q_vars = xs_url_vars(xs_list_get(pnv, 1)); } else - if (xs_match(k, "CONTENT_TYPE|CONTENT_LENGTH|HTTP_*")) { + if (xs_match(k, "CONTENT_TYPE|CONTENT_LENGTH|REMOTE_ADDR|HTTP_*")) { if (xs_startswith(k, "HTTP_")) k = xs_crop_i(k, 5, 0); |