]>
Commit | Line | Data |
---|---|---|
47f47465 ER |
1 | From 24886e58e141ff51b5efc3cdc2e8293e54c31037 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= <glen@pld-linux.org> | |
3 | Date: Fri, 20 Apr 2018 15:01:19 +0300 | |
4 | Subject: [PATCH] fcgi: process fastcgi.balance option | |
5 | ||
6 | refs: https://redmine.lighttpd.net/issues/2882 | |
7 | --- | |
8 | src/mod_fastcgi.c | 3 +++ | |
9 | 1 file changed, 3 insertions(+) | |
10 | ||
11 | diff --git a/src/mod_fastcgi.c b/src/mod_fastcgi.c | |
12 | index b442214e..988a2e50 100644 | |
13 | --- a/src/mod_fastcgi.c | |
14 | +++ b/src/mod_fastcgi.c | |
15 | @@ -463,6 +463,7 @@ static int fcgi_patch_connection(server *srv, connection *con, plugin_data *p) { | |
16 | PATCH(exts_auth); | |
17 | PATCH(exts_resp); | |
18 | PATCH(debug); | |
19 | + PATCH(balance); | |
20 | PATCH(ext_mapping); | |
21 | ||
22 | /* skip the first, the global context */ | |
23 | @@ -483,6 +484,8 @@ static int fcgi_patch_connection(server *srv, connection *con, plugin_data *p) { | |
24 | PATCH(exts_resp); | |
25 | } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("fastcgi.debug"))) { | |
26 | PATCH(debug); | |
27 | + } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("fastcgi.balance"))) { | |
28 | + PATCH(balance); | |
29 | } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("fastcgi.map-extensions"))) { | |
30 | PATCH(ext_mapping); | |
31 | } | |
32 | -- | |
33 | 2.16.2 | |
34 |