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.
Created attachment 12404 [details] ajp_get_endpoint: initialization of "now" and jk_log format for "elapsed"
Commited thanks