git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 62556] New: proxy balancer not defined in Proxy section


https://bz.apache.org/bugzilla/show_bug.cgi?id=62556

            Bug ID: 62556
           Summary: proxy balancer not defined in Proxy section
           Product: Apache httpd-2
           Version: 2.4.34
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: a.abfalterer@xxxxxxxxx
  Target Milestone: ---

Created attachment 36042
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36042&action=edit
patch fixing the issue

Hi!

In most cases when using the directive <Proxy to define a proxy balancer (e.g.
<Proxy "balancer://mybalancer">) there are no additional arguments given.

Doing so, the line
https://github.com/apache/httpd/blob/2.4.34/modules/proxy/mod_proxy.c#L2540 
prevents running ap_proxy_define_balancer() and setting up the corresponding
balancer->section_config.

Please see attached patch file that should fix the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx




( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache2-bugs/msg03012.html on line 108
Call Stack
#TimeMemoryFunctionLocation
10.0006364376{main}( ).../msg03012.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache2-bugs/msg03012.html on line 108
Call Stack
#TimeMemoryFunctionLocation
10.0006364376{main}( ).../msg03012.html:0