Project

General

Profile

Bug #1126

lighttpd 1.5.0 mod_proxy_core Segmentation fault

Added by snailfly over 12 years ago. Updated over 12 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

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.

lighttpd-1.5.0-svn-r1782.log (26.4 KB) lighttpd-1.5.0-svn-r1782.log strace file snailfly, 2007-04-17 15:02
gdb-lighttpd-1.5.0-svn-r1782.log (2.36 KB) gdb-lighttpd-1.5.0-svn-r1782.log gdb log snailfly, 2007-04-17 15:04
lighttpd-1.5.0-svn-r1782.ligcc.conf (3.03 KB) lighttpd-1.5.0-svn-r1782.ligcc.conf full config file snailfly, 2007-04-17 15:07

Associated revisions

Revision 1784 (diff)
Added by jan over 12 years 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

#1

Updated by jan over 12 years ago

  • Status changed from New to Assigned
#2

Updated by jan over 12 years ago

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

fixed in r1784

Also available in: Atom