I've recently had to debug some TCP problems between JK and Tomcat, and tidied up the error reporting a little. This patch is basically minor tweaks to report some errors that weren't being logged, and to make the reporting consistent (use of ae->last_error mostly).
Created attachment 19382 [details] Minor error reporting fixes for jk_ajp_common.c Attaching patch
I applied a variation of the patch and made the errno log format more consistent across the different source parts (always using "(errno=...)"). Thanks for pointing this out.
Move a couple of fixed JK issues from resolved to closed.