30 seconds for receiving the request body:
<example>
- ReqTimeout headerinit=10 bodyinit=30
+ RequestTimeout headerinit=10 bodyinit=30
</example>
</li>
request including the headers:
<example>
- ReqTimeout headerinit=10 headerminrate=500 headermax=30
+ RequestTimeout headerinit=10 headerminrate=500 headermax=30
</example>
</li>
<directive module="core">LimitRequestBody</directive>):
<example>
- ReqTimeout bodyinit=10 bodyminrate=1000
+ RequestTimeout bodyinit=10 bodyminrate=1000
</example>
</li>
</section>
<directivesynopsis>
-<name>ReqTimeout</name>
+<name>RequestTimeout</name>
<description>Set timeout values for receiving request headers and body from client.
</description>
-<syntax>ReqTimeout
+<syntax>RequestTimeout
[headerinit=<var>time</var>
[headerminrate=<var>rate</var> [headermax=<var>time</var>]]]
[bodyinit=<var>time</var>
(usually the case on Linux and FreeBSD), the socket is not sent to the
server process before at least one byte (or the whole request for
<code>httpready</code>) is received. The header timeout configured with
- <code>ReqTimeout</code> is only effective after the server process has
+ <code>RequestTimeout</code> is only effective after the server process has
received the socket.</p>
+ <p>For the timeout parameters, the value 0 means no limit.</p>
+
<dl>
<dt><code>headerinit</code></dt>
}
}
else {
- ret = "unknown ReqTimeout parameter";
+ ret = "unknown RequestTimeout parameter";
}
return ret;
word = ap_getword_conf(cmd->pool, &arg);
val = strchr(word, '=');
if (!val) {
- return "Invalid ReqTimeout parameter. Parameter must be "
+ return "Invalid RequestTimeout parameter. Parameter must be "
"in the form 'key=value'";
}
else
err = set_reqtimeout_param(conf, cmd->pool, word, val);
if (err)
- return apr_pstrcat(cmd->temp_pool, "ReqTimeout: ", err, " ", word, "=", val, "; ", NULL);
+ return apr_pstrcat(cmd->temp_pool, "RequestTimeout: ", err, " ",
+ word, "=", val, "; ", NULL);
}
return NULL;
}
static const command_rec reqtimeout_cmds[] = {
- AP_INIT_RAW_ARGS("ReqTimeout", set_reqtimeouts, NULL, RSRC_CONF,
+ AP_INIT_RAW_ARGS("RequestTimeout", set_reqtimeouts, NULL, RSRC_CONF,
"Adjust various Request Timeout parameters"),
{NULL}
};