Bug #1126

lighttpd 1.5.0 mod_proxy_core Segmentation fault

Added by snailfly 631 days ago. Updated 631 days ago.

Status:Fixed Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:core
Target version:1.5.0
Pending:

Resolution:

fixed


Description

mod_proxy_core Segmentation fault in follow config:


#20070127
server.modules = (
        "mod_proxy_core",
        "mod_proxy_backend_http",
)
server.port                = 80

proxy-core.balancer = "sqf" 
proxy-core.protocol = "http" 
$HTTP["host"] == "www.google.com" {
                proxy-core.backends  = (
                        "www.google.com",
                )
}
###############

and if we put proxy-core config into $HTTPhost:


$HTTP["host"] == "www.google.com" {
                proxy-core.balancer = "sqf" 
                proxy-core.protocol = "http" 
                proxy-core.backends  = (
                        "www.google.com",
                )
}

proxy work.

gdb-lighttpd-1.5.0-svn-r1782.log - gdb log (2.4 KB) snailfly, 04/17/2007 03:04 PM

lighttpd-1.5.0-svn-r1782.ligcc.conf - full config file (3 KB) snailfly, 04/17/2007 03:07 PM

lighttpd-1.5.0-svn-r1782.log - strace file (26.4 KB) snailfly, 04/17/2007 03:02 PM

Associated revisions

Revision 1784
Added by jan 631 days ago

- fixed crash if proxy-core.protocol is set not in the same conditional
as proxy-core.backends (fixes #1126)
- send 500 if proxy-core.protocol is not set at all, but
proxy-core.backends is set

History

04/17/2007 05:11 PM - jan

  • Status changed from New to Assigned

04/17/2007 05:40 PM - jan

  • Status changed from Assigned to Fixed
  • Resolution set to fixed

fixed in r1784

Also available in: Atom PDF