Hello list,
this trivial patch increased the max length for 'FcgidInitialEnv'. The default
value of 128 Bytes is a little bit to small for enviromental variables and
personally I've encountered real time values of more than >128 Bytes.
So I just doubled the value with the attached patch. Please feel free to
include this patch in the next release.
--
So long... Erik
diff -ru mod_fcgid-2.3.5-orig/modules/fcgid/fcgid_conf.h mod_fcgid-2.3.5-increase-INITENV_VAL_LEN/modules/fcgid/fcgid_conf.h
--- mod_fcgid-2.3.5-orig/modules/fcgid/fcgid_conf.h 2010-01-21 18:46:49.000000000 +0100
+++ mod_fcgid-2.3.5-increase-INITENV_VAL_LEN/modules/fcgid/fcgid_conf.h 2010-05-29 15:39:55.235813787 +0200
@@ -134,7 +134,7 @@
* to limit shared memory use
*/
#define INITENV_KEY_LEN 64
-#define INITENV_VAL_LEN 128
+#define INITENV_VAL_LEN 256
#define INITENV_CNT 64
typedef struct {
char initenv_key[INITENV_CNT][INITENV_KEY_LEN];