diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-05-21 16:14:24 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-05-21 16:14:24 +0300 |
commit | 3e8dbfe5ffdfbf525dd115508dc28d15bb81a237 (patch) | |
tree | 5f733eeaa090b0e8b14ac3de4d1a306a15628ed6 /src/nxt_http_request.c | |
parent | 8a156a9fc410eaf8898b757f294d91031e596a11 (diff) | |
download | unit-3e8dbfe5ffdfbf525dd115508dc28d15bb81a237.tar.gz unit-3e8dbfe5ffdfbf525dd115508dc28d15bb81a237.tar.bz2 |
Added SERVER_SOFTWARE request meta-variable.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_http_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_http_request.c b/src/nxt_http_request.c index 02075b19..9fc4a0e1 100644 --- a/src/nxt_http_request.c +++ b/src/nxt_http_request.c @@ -297,7 +297,7 @@ nxt_http_request_header_send(nxt_task_t *task, nxt_http_request_t *r) goto fail; } - nxt_http_field_set(server, "Server", "Unit/" NXT_VERSION); + nxt_http_field_set(server, "Server", NXT_SERVER); if (r->resp.date == NULL) { date = nxt_list_zero_add(r->resp.fields); |