DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30620>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30620 incorrent handling of last_access and elapsed Summary: incorrent handling of last_access and elapsed Product: Tomcat 5 Version: 5.0.27 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Native:JK AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have to small bugs and patches to report for mod_jk jk/native/common/jk_ajp_common.c. They are present at least since 1.2.6 and still in the CVS version. Both bugs are in method ajp_get_endoint. 1) Initialization of "now" The variable is only initialized, if cache_timeout>0 or socket_timeout>0 (line 1754). But in lines 1783 and 1784 it is used every time an endpoint with existing socket connection is found. 2) Format string in jk_log The variable elapsed is unsigned, but the format string says %d instead of %u (lines 1771 and 1787) Please consider the small patch I will attach to this bug report. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]