Bug 58425

Summary: validate::jk_ajp12_worker.c always returns JK_FALSE.
Product: Tomcat Connectors Reporter: yagisita
Component: mod_jkAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 1.2.41   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: patch for validate()::jk_ajp12_worker.c to return JK_TRUE with the same way as 1.2.40

Description yagisita 2015-09-17 09:48:21 UTC
The function "validate" in jk_ajp12_worker.c always returns JK_FALSE, so ajp12 worker can not be initialized.
Comment 1 Christopher Schultz 2015-09-17 13:44:03 UTC
I don't believe AJP12 is supported any longer (for as long as I can remember). Do you need it for something?
Comment 2 yagisita 2015-09-18 02:38:28 UTC
Created attachment 33115 [details]
patch for validate()::jk_ajp12_worker.c to return JK_TRUE with the same way as 1.2.40
Comment 3 yagisita 2015-09-18 02:38:49 UTC
I understand that ajp12 is deprecated and we should use ajp13.

For your reference:
 It seems that ajp12 had still worked somehow until 1.2.40.
 Some code for "source" (I don't know what it is) were added to validate()::jk_ajp12_worker.c at 1.2.41, and the modification makes validate() to no longer return JK_TRUE.
 The attached patch can change validate() to return JK_TRUE with the same way as 1.2.40.

Thanks.
Comment 4 Mark Thomas 2016-09-19 10:34:19 UTC
Thanks for the patch. This has been fixed in trunk for 1.2.42