You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2022/10/10 10:00:14 UTC
[Bug 66300] New: mod_proxy_hcheck does not detect AJP/CPING support
https://bz.apache.org/bugzilla/show_bug.cgi?id=66300
Bug ID: 66300
Summary: mod_proxy_hcheck does not detect AJP/CPING support
Product: Apache httpd-2
Version: 2.4-HEAD
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_hcheck
Assignee: bugs@httpd.apache.org
Reporter: alessandro.cavalier7@unibo.it
Target Milestone: ---
We were very excited to see mod_proxy_hcheck support for AJP/CPING (r1887415)
land in Ubuntu 22.04; however trying to enable it yields the following error:
BalancerMember Health check method CPING not (yet) implemented
This was surprising for us since from a cursory look at the code this
functionality seems implemented.
A couple of hours of debugging later we concluded that the order of execution
of the code added in r1887415 seems to be incorrect: the code checking for AJP
availability is executed in hc_post_config() which is unfortunately too late
since the configuration syntax has already been marked invalid when the
"hcmethod=CPING" token was found.
To fix this we simply moved the code checking for AJP availability in
hc_pre_config(). We are running a patched version of http-2.4.52 on a couple of
hosts running Ubuntu 22.04 and it seems to be working without issues so far.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 66300] mod_proxy_hcheck does not detect AJP/CPING support
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66300
Christophe JAILLET <ch...@wanadoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Christophe JAILLET <ch...@wanadoo.fr> ---
Fix in trunk in r1904516
Backported in 2.4.x in r1906498
This is part of 2.4.55
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 66300] mod_proxy_hcheck does not detect AJP/CPING support
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66300
--- Comment #3 from alessandro.cavalier7@unibo.it ---
Created attachment 38405
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38405&action=edit
Dockerfile.bug
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 66300] mod_proxy_hcheck does not detect AJP/CPING support
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66300
--- Comment #7 from Christophe JAILLET <ch...@wanadoo.fr> ---
Oops, backport in 2.4.x is r1905608
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 66300] mod_proxy_hcheck does not detect AJP/CPING support
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66300
--- Comment #4 from alessandro.cavalier7@unibo.it ---
Created attachment 38406
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38406&action=edit
Dockerfile.fix
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 66300] mod_proxy_hcheck does not detect AJP/CPING support
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66300
alessandro.cavalier7@unibo.it changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alessandro.cavalier7@unibo.
| |it
--- Comment #2 from alessandro.cavalier7@unibo.it ---
Attaching MCVE showing the issue and fix, use "docker buildx build -f
<FILENAME> ." to run.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 66300] mod_proxy_hcheck does not detect AJP/CPING support
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66300
--- Comment #1 from alessandro.cavalier7@unibo.it ---
Created attachment 38404
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38404&action=edit
mod_proxy_hcheck: move AJP availability detection in hc_pre_config()
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 66300] mod_proxy_hcheck does not detect AJP/CPING support
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66300
alessandro.cavalier7@unibo.it changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 66300] mod_proxy_hcheck does not detect AJP/CPING support
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66300
--- Comment #5 from Jim Jagielski <ji...@apache.org> ---
Thanks for the report and the patch. It looks good. I'll do some more testing
and apply to trunk and propose for back port to 2.4.x
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org