1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Document the removal of the flushing bandaid to a

runtime param. Since other protocols might benefit
from this, remove the ajp_ prefixes, to make it
more generic looking.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@390210 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jim Jagielski
2006-03-30 18:32:53 +00:00
parent 77aa2c2a48
commit dede56b14d
6 changed files with 26 additions and 20 deletions

View File

@@ -218,25 +218,25 @@ static const char *set_worker_param(apr_pool_t *p,
}
}
}
else if (!strcasecmp(key, "ajpflushpackets")) {
else if (!strcasecmp(key, "flushpackets")) {
if (!strcasecmp(val, "on"))
worker->ajp_flush_packets = ajp_flush_on;
worker->flush_packets = flush_on;
else if (!strcasecmp(val, "off"))
worker->ajp_flush_packets = ajp_flush_off;
worker->flush_packets = flush_off;
else if (!strcasecmp(val, "auto"))
worker->ajp_flush_packets = ajp_flush_auto;
worker->flush_packets = flush_auto;
else
return "FlushPackets must be On|Off|Auto";
return "flushpackets must be on|off|auto";
}
else if (!strcasecmp(key, "ajpflushwait")) {
else if (!strcasecmp(key, "flushwait")) {
ival = atoi(val);
if (ival > 1000 || ival < 0) {
return "AJPFlushWait must be <= 1000, or 0 for system default of 10 millseconds.";
return "flushwait must be <= 1000, or 0 for system default of 10 millseconds.";
}
if (ival == 0)
worker->ajp_flush_wait = AJP_FLUSH_WAIT;
worker->flush_wait = PROXY_FLUSH_WAIT;
else
worker->ajp_flush_wait = ival * 1000; /* change to microseconds */
worker->flush_wait = ival * 1000; /* change to microseconds */
}
else {
return "unknown Worker parameter";