From 3e8dbfe5ffdfbf525dd115508dc28d15bb81a237 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Mon, 21 May 2018 16:14:24 +0300 Subject: Added SERVER_SOFTWARE request meta-variable. --- src/perl/nxt_perl_psgi.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/perl') diff --git a/src/perl/nxt_perl_psgi.c b/src/perl/nxt_perl_psgi.c index 5b206cba..16bcf79f 100644 --- a/src/perl/nxt_perl_psgi.c +++ b/src/perl/nxt_perl_psgi.c @@ -596,6 +596,9 @@ nxt_perl_psgi_env_create(PerlInterpreter *my_perl, nxt_task_t *task, RC(nxt_perl_psgi_read_add_env(my_perl, task, rmsg, \ hash_env, ATTR, &str)) + RC(nxt_perl_psgi_env_append_str(my_perl, hash_env, + "SERVER_SOFTWARE", &nxt_server)); + GET_STR("REQUEST_METHOD"); GET_STR("REQUEST_URI"); -- cgit