Repository navigation
Conversation
A worker added through the balancer-manager is now created disabled with no other status flag: b_nwrkr_flags is dropped from its requests. balancer_manage()'s callers can still create a worker marked 'B' (mod_proxy_beacon), but an add asking for any other flag is refused. * modules/proxy/mod_proxy_balancer.c (balancer_handler): Drop b_nwrkr_flags from the request's parameters. (balancer_process_balancer_worker): Refuse an add with a status flag other than PROXY_WORKER_BEACON_FLAG. * test/modules/proxy/test_12_balancer.py: Check that a worker added with b_nwrkr_flags through the balancer-manager is created without them.
Member
Author
|
@jimjag I think this is needed? |
This was referenced Nov 27, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A run-time worker addition can carry status flags in the b_nwrkr_flags
parameter, added for mod_proxy_beacon, which creates its members marked
'B' through mod_proxy_balancer's balancer_manage() optional function. The
balancer-manager's handler fills the same parameters from the request and
goes through the same processing, so a balancer-manager request could
create a worker with any status flag (e.g. 'O', skipping the shared
initialization, or 'B', making mod_proxy_beacon take the worker as its
own).
Changes:
added there is created disabled, with no other status flag, as its form
always did.
(mod_proxy_beacon), but an add asking for any other flag is refused,
with an error log.
b_nwrkr_flags create the worker disabled only.