You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/01/24 21:02:36 UTC
DO NOT REPLY [Bug 26398] New: -
prepost_timeout gets initialized erroneously from reply_timeout
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26398>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26398
prepost_timeout gets initialized erroneously from reply_timeout
Summary: prepost_timeout gets initialized erroneously from
reply_timeout
Product: Tomcat 5
Version: 5.0.18
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Native:JK
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: rainer.jung@kippdata.de
CC: rainer.jung@kippdata.de
There is a cut-and-paste typo in line 1568 of native/common/jk_ajp_common.c,
leading to prepost_timeout getting initialized to the same value as
reply_timeout, although it was meant to be configurable by a seperate parameter.
A context diff for the patch follows.
*** jk_ajp_common.c Sat Jan 24 20:47:04 2004
--- jk_ajp_common.c.patch Sat Jan 24 20:49:48 2004
***************
*** 1565,1571 ****
p->reply_timeout);
p->prepost_timeout =
! jk_get_worker_reply_timeout(props, p->name, AJP_DEF_PREPOST_TIMEOUT);
jk_log(l, JK_LOG_DEBUG,
"In jk_worker_t::init, setting prepost timeout to %d\n",
--- 1565,1571 ----
p->reply_timeout);
p->prepost_timeout =
! jk_get_worker_prepost_timeout(props, p->name,
AJP_DEF_PREPOST_TIMEOUT);
jk_log(l, JK_LOG_DEBUG,
"In jk_worker_t::init, setting prepost timeout to %d\n",
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org