Bug 58425 - validate::jk_ajp12_worker.c always returns JK_FALSE.
Summary: validate::jk_ajp12_worker.c always returns JK_FALSE.
Status: RESOLVED FIXED
Alias: None
Product: Tomcat Connectors
Classification: Unclassified
Component: mod_jk (show other bugs)
Version: 1.2.41
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-17 09:48 UTC by yagisita
Modified: 2016-09-19 10:34 UTC (History)
0 users



Attachments
patch for validate()::jk_ajp12_worker.c to return JK_TRUE with the same way as 1.2.40 (386 bytes, patch)
2015-09-18 02:38 UTC, yagisita
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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