Lines 994-1007
Link Here
|
994 |
} |
994 |
} |
995 |
|
995 |
|
996 |
while (*args) { |
996 |
while (*args) { |
997 |
const char *option = ap_getword_white(cmd->pool, &args); |
997 |
const char *option = ap_getword_conf(cmd->pool, &args); |
998 |
const char *val; |
998 |
const char *val; |
999 |
|
999 |
|
1000 |
/* TODO: Consider supporting BusyTimeout. |
1000 |
/* TODO: Consider supporting BusyTimeout. |
1001 |
*/ |
1001 |
*/ |
1002 |
|
1002 |
|
1003 |
if (!strcasecmp(option, "ConnectTimeout")) { |
1003 |
if (!strcasecmp(option, "ConnectTimeout")) { |
1004 |
val = ap_getword_white(cmd->pool, &args); |
1004 |
val = ap_getword_conf(cmd->pool, &args); |
1005 |
if (!strlen(val)) { |
1005 |
if (!strlen(val)) { |
1006 |
return "ConnectTimeout must have an argument"; |
1006 |
return "ConnectTimeout must have an argument"; |
1007 |
} |
1007 |
} |
Lines 1010-1016
Link Here
|
1010 |
} |
1010 |
} |
1011 |
|
1011 |
|
1012 |
if (!strcasecmp(option, "IdleTimeout")) { |
1012 |
if (!strcasecmp(option, "IdleTimeout")) { |
1013 |
val = ap_getword_white(cmd->pool, &args); |
1013 |
val = ap_getword_conf(cmd->pool, &args); |
1014 |
if (!strlen(val)) { |
1014 |
if (!strlen(val)) { |
1015 |
return "IdleTimeout must have an argument"; |
1015 |
return "IdleTimeout must have an argument"; |
1016 |
} |
1016 |
} |
Lines 1022-1028
Link Here
|
1022 |
char *name; |
1022 |
char *name; |
1023 |
char *eql; |
1023 |
char *eql; |
1024 |
|
1024 |
|
1025 |
name = ap_getword_white(cmd->pool, &args); |
1025 |
name = ap_getword_conf(cmd->pool, &args); |
1026 |
if (!strlen(name)) { |
1026 |
if (!strlen(name)) { |
1027 |
return "InitialEnv must have an argument"; |
1027 |
return "InitialEnv must have an argument"; |
1028 |
} |
1028 |
} |
Lines 1041-1047
Link Here
|
1041 |
} |
1041 |
} |
1042 |
|
1042 |
|
1043 |
if (!strcasecmp(option, "IOTimeout")) { |
1043 |
if (!strcasecmp(option, "IOTimeout")) { |
1044 |
val = ap_getword_white(cmd->pool, &args); |
1044 |
val = ap_getword_conf(cmd->pool, &args); |
1045 |
if (!strlen(val)) { |
1045 |
if (!strlen(val)) { |
1046 |
return "IOTimeout must have an argument"; |
1046 |
return "IOTimeout must have an argument"; |
1047 |
} |
1047 |
} |
Lines 1050-1056
Link Here
|
1050 |
} |
1050 |
} |
1051 |
|
1051 |
|
1052 |
if (!strcasecmp(option, "MaxProcesses")) { |
1052 |
if (!strcasecmp(option, "MaxProcesses")) { |
1053 |
val = ap_getword_white(cmd->pool, &args); |
1053 |
val = ap_getword_conf(cmd->pool, &args); |
1054 |
if (!strlen(val)) { |
1054 |
if (!strlen(val)) { |
1055 |
return "MaxProcesses must have an argument"; |
1055 |
return "MaxProcesses must have an argument"; |
1056 |
} |
1056 |
} |
Lines 1059-1065
Link Here
|
1059 |
} |
1059 |
} |
1060 |
|
1060 |
|
1061 |
if (!strcasecmp(option, "MaxProcessLifetime")) { |
1061 |
if (!strcasecmp(option, "MaxProcessLifetime")) { |
1062 |
val = ap_getword_white(cmd->pool, &args); |
1062 |
val = ap_getword_conf(cmd->pool, &args); |
1063 |
if (!strlen(val)) { |
1063 |
if (!strlen(val)) { |
1064 |
return "MaxProcessLifetime must have an argument"; |
1064 |
return "MaxProcessLifetime must have an argument"; |
1065 |
} |
1065 |
} |
Lines 1068-1074
Link Here
|
1068 |
} |
1068 |
} |
1069 |
|
1069 |
|
1070 |
if (!strcasecmp(option, "MaxRequestsPerProcess")) { |
1070 |
if (!strcasecmp(option, "MaxRequestsPerProcess")) { |
1071 |
val = ap_getword_white(cmd->pool, &args); |
1071 |
val = ap_getword_conf(cmd->pool, &args); |
1072 |
if (!strlen(val)) { |
1072 |
if (!strlen(val)) { |
1073 |
return "MaxRequestsPerProcess must have an argument"; |
1073 |
return "MaxRequestsPerProcess must have an argument"; |
1074 |
} |
1074 |
} |
Lines 1077-1083
Link Here
|
1077 |
} |
1077 |
} |
1078 |
|
1078 |
|
1079 |
if (!strcasecmp(option, "MinProcesses")) { |
1079 |
if (!strcasecmp(option, "MinProcesses")) { |
1080 |
val = ap_getword_white(cmd->pool, &args); |
1080 |
val = ap_getword_conf(cmd->pool, &args); |
1081 |
if (!strlen(val)) { |
1081 |
if (!strlen(val)) { |
1082 |
return "MinProcesses must have an argument"; |
1082 |
return "MinProcesses must have an argument"; |
1083 |
} |
1083 |
} |